1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

config.yml: Log section optimized

This commit is contained in:
Nekotekina 2017-05-13 21:30:37 +03:00
parent 299f627321
commit 88fef183a3
191 changed files with 377 additions and 411 deletions

View File

@ -5,7 +5,7 @@
namespace cfg namespace cfg
{ {
logs::channel cfg("CFG", logs::level::notice); logs::channel cfg("CFG");
entry_base::entry_base(type _type) entry_base::entry_base(type _type)
: m_type(_type) : m_type(_type)
@ -161,7 +161,8 @@ void cfg::encode(YAML::Emitter& out, const cfg::entry_base& rhs)
for (const auto& np : static_cast<const node&>(rhs).get_nodes()) for (const auto& np : static_cast<const node&>(rhs).get_nodes())
{ {
out << YAML::Key << np.first; out << YAML::Key << np.first;
out << YAML::Value; encode(out, *np.second); out << YAML::Value;
encode(out, *np.second);
} }
out << YAML::EndMap; out << YAML::EndMap;
@ -178,6 +179,19 @@ void cfg::encode(YAML::Emitter& out, const cfg::entry_base& rhs)
out << YAML::EndSeq; out << YAML::EndSeq;
return; return;
} }
case type::log:
{
out << YAML::BeginMap;
for (const auto& np : static_cast<const log_entry&>(rhs).get_map())
{
if (np.second == logs::level::notice) continue;
out << YAML::Key << np.first;
out << YAML::Value << fmt::format("%s", np.second);
}
out << YAML::EndMap;
return;
}
} }
out << rhs.to_string(); out << rhs.to_string();
@ -199,8 +213,7 @@ void cfg::decode(const YAML::Node& data, cfg::entry_base& rhs)
if (!pair.first.IsScalar()) continue; if (!pair.first.IsScalar()) continue;
// Find the key among existing nodes // Find the key among existing nodes
const auto name = pair.first.Scalar(); const auto found = static_cast<node&>(rhs).get_nodes().find(pair.first.Scalar());
const auto found = static_cast<node&>(rhs).get_nodes().find(name);
if (found != static_cast<node&>(rhs).get_nodes().cend()) if (found != static_cast<node&>(rhs).get_nodes().cend())
{ {
@ -225,6 +238,29 @@ void cfg::decode(const YAML::Node& data, cfg::entry_base& rhs)
break; break;
} }
case type::log:
{
if (data.IsScalar() || data.IsSequence())
{
return; // ???
}
std::map<std::string, logs::level> values;
for (const auto& pair : data)
{
if (!pair.first.IsScalar() || !pair.second.IsScalar()) continue;
u64 value;
if (cfg::try_to_enum_value(&value, &fmt_class_string<logs::level>::format, pair.second.Scalar()))
{
values.emplace(pair.first.Scalar(), static_cast<logs::level>(static_cast<int>(value)));
}
}
static_cast<log_entry&>(rhs).set_map(std::move(values));
break;
}
default: default:
{ {
std::string value; std::string value;
@ -277,6 +313,21 @@ void cfg::set_entry::from_default()
m_set = {}; m_set = {};
} }
void cfg::log_entry::set_map(std::map<std::string, logs::level>&& map)
{
logs::reset();
for (auto&& pair : (m_map = std::move(map)))
{
logs::set_level(pair.first, pair.second);
}
}
void cfg::log_entry::from_default()
{
set_map({});
}
cfg::root_node& cfg::get_root() cfg::root_node& cfg::get_root()
{ {
// Magic static // Magic static

View File

@ -3,6 +3,7 @@
#include "Utilities/types.h" #include "Utilities/types.h"
#include "Utilities/Atomic.h" #include "Utilities/Atomic.h"
#include "Utilities/StrFmt.h" #include "Utilities/StrFmt.h"
#include "Utilities/Log.h"
#include <initializer_list> #include <initializer_list>
#include <exception> #include <exception>
@ -35,6 +36,7 @@ namespace cfg
integer, // cfg::int_entry type integer, // cfg::int_entry type
string, // cfg::string_entry type string, // cfg::string_entry type
set, // cfg::set_entry type set, // cfg::set_entry type
log,
}; };
// Config tree entry abstract base class // Config tree entry abstract base class
@ -485,18 +487,39 @@ namespace cfg
} }
}; };
class log_entry final : public entry_base
{
std::map<std::string, logs::level> m_map;
public:
log_entry(node& owner, const std::string& name)
: entry_base(type::log, owner, name)
{
}
std::map<std::string, logs::level> get_map() const
{
return m_map;
}
void set_map(std::map<std::string, logs::level>&& map);
void from_default() override;
};
// Root type with some predefined nodes. Don't change it, this is not mandatory for adding nodes. // Root type with some predefined nodes. Don't change it, this is not mandatory for adding nodes.
struct root_node : node struct root_node : node
{ {
node core { *this, "Core" }; node core {*this, "Core"};
node vfs { *this, "VFS" }; node vfs {*this, "VFS"};
node log { *this, "Log" }; node video {*this, "Video"};
node video { *this, "Video" }; node audio {*this, "Audio"};
node audio { *this, "Audio" }; node io {*this, "Input/Output"};
node io { *this, "Input/Output" }; node sys {*this, "System"};
node sys { *this, "System" }; node net {*this, "Net"};
node net { *this, "Net" }; node misc {*this, "Miscellaneous"};
node misc { *this, "Miscellaneous" };
log_entry log{*this, "Log"};
}; };
// Get global configuration root instance // Get global configuration root instance
@ -505,6 +528,3 @@ namespace cfg
// Global configuration root instance (cached reference) // Global configuration root instance (cached reference)
static root_node& root = get_root(); static root_node& root = get_root();
} }
// Registered log channel
#define LOG_CHANNEL(name) extern logs::channel name; namespace logs { static cfg::enum_entry<logs::level, true> name(cfg::root.log, #name, ::name.enabled); }

View File

@ -20,7 +20,7 @@
extern void ppu_set_breakpoint(u32 addr); extern void ppu_set_breakpoint(u32 addr);
extern void ppu_remove_breakpoint(u32 addr); extern void ppu_remove_breakpoint(u32 addr);
logs::channel gdbDebugServer("gdbDebugServer", logs::level::notice); logs::channel gdbDebugServer("gdbDebugServer");
int sock_init(void) int sock_init(void)
{ {

View File

@ -1,9 +1,11 @@
#include "Log.h" #include "Log.h"
#include "File.h" #include "File.h"
#include "StrFmt.h" #include "StrFmt.h"
#include "sema.h"
#include "rpcs3_version.h" #include "rpcs3_version.h"
#include <string> #include <string>
#include <unordered_map>
#ifdef _WIN32 #ifdef _WIN32
#include <Windows.h> #include <Windows.h>
@ -11,8 +13,13 @@
#include <chrono> #include <chrono>
#endif #endif
static std::string empty_string()
{
return {};
}
// Thread-specific log prefix provider // Thread-specific log prefix provider
thread_local std::string(*g_tls_log_prefix)() = nullptr; thread_local std::string(*g_tls_log_prefix)() = &empty_string;
template<> template<>
void fmt_class_string<logs::level>::format(std::string& out, u64 arg) void fmt_class_string<logs::level>::format(std::string& out, u64 arg)
@ -105,14 +112,53 @@ namespace logs
return timebase.get(); return timebase.get();
} }
channel GENERAL(nullptr, level::notice); channel GENERAL("");
channel LOADER("LDR", level::notice); channel LOADER("LDR");
channel MEMORY("MEM", level::notice); channel MEMORY("MEM");
channel RSX("RSX", level::notice); channel RSX("RSX");
channel HLE("HLE", level::notice); channel HLE("HLE");
channel PPU("PPU", level::notice); channel PPU("PPU");
channel SPU("SPU", level::notice); channel SPU("SPU");
channel ARMv7("ARMv7"); channel ARMv7("ARMv7");
struct channel_info
{
channel* pointer = nullptr;
level enabled = level::notice;
void set_level(level value)
{
enabled = value;
if (pointer)
{
pointer->enabled = value;
}
}
};
// Channel registry mutex
semaphore<> g_mutex;
// Channel registry
std::unordered_map<std::string, channel_info> g_channels;
void reset()
{
semaphore_lock lock(g_mutex);
for (auto&& pair : g_channels)
{
pair.second.set_level(level::notice);
}
}
void set_level(const std::string& ch_name, level value)
{
semaphore_lock lock(g_mutex);
g_channels[ch_name].set_level(value);
}
} }
logs::listener::~listener() logs::listener::~listener()
@ -136,8 +182,34 @@ void logs::message::broadcast(const char* fmt, const fmt_type_info* sup, const u
// Get timestamp // Get timestamp
const u64 stamp = get_stamp(); const u64 stamp = get_stamp();
std::string text; fmt::raw_append(text, fmt, sup, args); // Register channel
std::string prefix(g_tls_log_prefix ? g_tls_log_prefix() : ""); if (ch->enabled == level::_uninit)
{
semaphore_lock lock(g_mutex);
auto& info = g_channels[ch->name];
if (info.pointer && info.pointer != ch)
{
fmt::throw_exception("logs::channel repetition: %s", ch->name);
}
else if (!info.pointer)
{
info.pointer = ch;
ch->enabled = info.enabled;
// Check level again
if (info.enabled < sev)
{
return;
}
}
}
// Get text
std::string text;
fmt::raw_append(text, fmt, sup, args);
std::string prefix = g_tls_log_prefix();
// Get first (main) listener // Get first (main) listener
listener* lis = get_logger(); listener* lis = get_logger();
@ -203,7 +275,7 @@ void logs::file_listener::log(u64 stamp, const logs::message& msg, const std::st
text += "} "; text += "} ";
} }
if (msg.ch->name) if ('\0' != *msg.ch->name)
{ {
text += msg.ch->name; text += msg.ch->name;
text += msg.sev == level::todo ? " TODO: " : ": "; text += msg.sev == level::todo ? " TODO: " : ": ";

View File

@ -3,19 +3,22 @@
#include "types.h" #include "types.h"
#include "Atomic.h" #include "Atomic.h"
#include "StrFmt.h" #include "StrFmt.h"
#include <climits>
namespace logs namespace logs
{ {
enum class level : uint enum class level : uint
{ {
always, // highest level (unused, cannot be disabled) always, // Highest log severity (unused, cannot be disabled)
fatal, fatal,
error, error,
todo, todo,
success, success,
warning, warning,
notice, notice,
trace, // lowest level (usually disabled) trace, // Lowest severity (usually disabled)
_uninit = UINT_MAX, // Special value for delayed initialization
}; };
struct channel; struct channel;
@ -23,7 +26,7 @@ namespace logs
// Message information (temporary data) // Message information (temporary data)
struct message struct message
{ {
const channel* ch; channel* ch;
level sev; level sev;
// Send log message to global logger instance // Send log message to global logger instance
@ -57,16 +60,16 @@ namespace logs
// The lowest logging level enabled for this channel (used for early filtering) // The lowest logging level enabled for this channel (used for early filtering)
atomic_t<level> enabled; atomic_t<level> enabled;
// Constant initialization: name and initial log level // Constant initialization: channel name
constexpr channel(const char* name, level enabled = level::trace) constexpr channel(const char* name)
: name(name) : name(name)
, enabled(enabled) , enabled(level::_uninit)
{ {
} }
// Formatting function // Formatting function
template<typename... Args> template<typename... Args>
SAFE_BUFFERS FORCE_INLINE void format(level sev, const char* fmt, const Args&... args) const SAFE_BUFFERS FORCE_INLINE void format(level sev, const char* fmt, const Args&... args)
{ {
if (UNLIKELY(sev <= enabled)) if (UNLIKELY(sev <= enabled))
{ {
@ -76,7 +79,7 @@ namespace logs
#define GEN_LOG_METHOD(_sev)\ #define GEN_LOG_METHOD(_sev)\
template<typename... Args>\ template<typename... Args>\
SAFE_BUFFERS void _sev(const char* fmt, const Args&... args) const\ SAFE_BUFFERS void _sev(const char* fmt, const Args&... args)\
{\ {\
return format<Args...>(level::_sev, fmt, args...);\ return format<Args...>(level::_sev, fmt, args...);\
} }
@ -102,6 +105,12 @@ namespace logs
extern channel PPU; extern channel PPU;
extern channel SPU; extern channel SPU;
extern channel ARMv7; extern channel ARMv7;
// Log level control: set all channels to level::notice
void reset();
// Log level control: register channel if necessary, set channel level
void set_level(const std::string&, level);
} }
// Legacy: // Legacy:

View File

@ -19,7 +19,7 @@ extern "C"
extern std::mutex g_mutex_avcodec_open2; extern std::mutex g_mutex_avcodec_open2;
logs::channel cellAdec("cellAdec", logs::level::notice); logs::channel cellAdec("cellAdec");
class AudioDecoder : public ppu_thread class AudioDecoder : public ppu_thread
{ {

View File

@ -4,7 +4,7 @@
#include "cellAtrac.h" #include "cellAtrac.h"
logs::channel cellAtrac("cellAtrac", logs::level::notice); logs::channel cellAtrac("cellAtrac");
s32 cellAtracSetDataAndGetMemSize(vm::ptr<CellAtracHandle> pHandle, vm::ptr<u8> pucBufferAddr, u32 uiReadByte, u32 uiBufferByte, vm::ptr<u32> puiWorkMemByte) s32 cellAtracSetDataAndGetMemSize(vm::ptr<CellAtracHandle> pHandle, vm::ptr<u8> pucBufferAddr, u32 uiReadByte, u32 uiBufferByte, vm::ptr<u32> puiWorkMemByte)
{ {

View File

@ -4,7 +4,7 @@
#include "cellAtracMulti.h" #include "cellAtracMulti.h"
logs::channel cellAtracMulti("cellAtracMulti", logs::level::notice); logs::channel cellAtracMulti("cellAtracMulti");
s32 cellAtracMultiSetDataAndGetMemSize(vm::ptr<CellAtracMultiHandle> pHandle, vm::ptr<u8> pucBufferAddr, u32 uiReadByte, u32 uiBufferByte, u32 uiOutputChNum, vm::ptr<s32> piTrackArray, vm::ptr<u32> puiWorkMemByte) s32 cellAtracMultiSetDataAndGetMemSize(vm::ptr<CellAtracMultiHandle> pHandle, vm::ptr<u8> pucBufferAddr, u32 uiReadByte, u32 uiBufferByte, u32 uiOutputChNum, vm::ptr<s32> piTrackArray, vm::ptr<u32> puiWorkMemByte)
{ {

View File

@ -11,7 +11,7 @@
#include <thread> #include <thread>
logs::channel cellAudio("cellAudio", logs::level::notice); logs::channel cellAudio("cellAudio");
cfg::bool_entry g_cfg_audio_dump_to_file(cfg::root.audio, "Dump to file"); cfg::bool_entry g_cfg_audio_dump_to_file(cfg::root.audio, "Dump to file");
cfg::bool_entry g_cfg_audio_convert_to_u16(cfg::root.audio, "Convert to 16 bit"); cfg::bool_entry g_cfg_audio_convert_to_u16(cfg::root.audio, "Convert to 16 bit");

View File

@ -7,7 +7,7 @@
#include "cellVideoOut.h" #include "cellVideoOut.h"
#include "cellSysutil.h" #include "cellSysutil.h"
logs::channel cellAvconfExt("cellAvconfExt", logs::level::notice); logs::channel cellAvconfExt("cellAvconfExt");
vm::gvar<f32> g_gamma; // TODO vm::gvar<f32> g_gamma; // TODO

View File

@ -4,7 +4,7 @@
#include "cellBgdl.h" #include "cellBgdl.h"
logs::channel cellBGDL("cellBGDL", logs::level::notice); logs::channel cellBGDL("cellBGDL");
s32 cellBGDLGetInfo(vm::cptr<char> content_id, vm::ptr<CellBGDLInfo> info, s32 num) s32 cellBGDLGetInfo(vm::cptr<char> content_id, vm::ptr<CellBGDLInfo> info, s32 num)
{ {

View File

@ -6,7 +6,7 @@
#include "cellCamera.h" #include "cellCamera.h"
logs::channel cellCamera("cellCamera", logs::level::notice); logs::channel cellCamera("cellCamera");
cfg::map_entry<bool> g_cfg_camera(cfg::root.io, "Camera", cfg::map_entry<bool> g_cfg_camera(cfg::root.io, "Camera",
{ {

View File

@ -4,7 +4,7 @@
#include "cellCelp8Enc.h" #include "cellCelp8Enc.h"
logs::channel cellCelp8Enc("cellCelp8Enc", logs::level::notice); logs::channel cellCelp8Enc("cellCelp8Enc");
s32 cellCelp8EncQueryAttr() s32 cellCelp8EncQueryAttr()

View File

@ -4,7 +4,7 @@
#include "cellCelpEnc.h" #include "cellCelpEnc.h"
logs::channel cellCelpEnc("cellCelpEnc", logs::level::notice); logs::channel cellCelpEnc("cellCelpEnc");
s32 cellCelpEncQueryAttr() s32 cellCelpEncQueryAttr()

View File

@ -2,7 +2,7 @@
#include "Emu/System.h" #include "Emu/System.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellCrossController("cellCrossController", logs::level::notice); logs::channel cellCrossController("cellCrossController");
s32 cellCrossController_37E1F502() // LittleBigPlanet 2 and 3 s32 cellCrossController_37E1F502() // LittleBigPlanet 2 and 3
{ {

View File

@ -3,7 +3,7 @@
#include "cellDaisy.h" #include "cellDaisy.h"
logs::channel cellDaisy("cellDaisy", logs::level::notice); logs::channel cellDaisy("cellDaisy");
using LFQueue2 = struct CellDaisyLFQueue2; using LFQueue2 = struct CellDaisyLFQueue2;
using Lock = struct CellDaisyLock; using Lock = struct CellDaisyLock;

View File

@ -9,7 +9,7 @@
#include <thread> #include <thread>
logs::channel cellDmux("cellDmux", logs::level::notice); logs::channel cellDmux("cellDmux");
/* Demuxer Thread Classes */ /* Demuxer Thread Classes */

View File

@ -4,7 +4,7 @@
#include "cellFiber.h" #include "cellFiber.h"
logs::channel cellFiber("cellFiber", logs::level::notice); logs::channel cellFiber("cellFiber");
template <> template <>
void fmt_class_string<CellFiberError>::format(std::string& out, u64 arg) void fmt_class_string<CellFiberError>::format(std::string& out, u64 arg)

View File

@ -8,7 +8,7 @@
#include "cellFont.h" #include "cellFont.h"
logs::channel cellFont("cellFont", logs::level::notice); logs::channel cellFont("cellFont");
// Functions // Functions
s32 cellFontInitializeWithRevision(u64 revisionFlags, vm::ptr<CellFontConfig> config) s32 cellFontInitializeWithRevision(u64 revisionFlags, vm::ptr<CellFontConfig> config)

View File

@ -3,7 +3,7 @@
#include "cellFontFT.h" #include "cellFontFT.h"
logs::channel cellFontFT("cellFontFT", logs::level::notice); logs::channel cellFontFT("cellFontFT");
s32 cellFontInitLibraryFreeTypeWithRevision(u64 revisionFlags, vm::ptr<CellFontLibraryConfigFT> config, vm::pptr<CellFontLibrary> lib) s32 cellFontInitLibraryFreeTypeWithRevision(u64 revisionFlags, vm::ptr<CellFontLibraryConfigFT> config, vm::pptr<CellFontLibrary> lib)
{ {

View File

@ -13,7 +13,7 @@
namespace vm { using namespace ps3; } namespace vm { using namespace ps3; }
logs::channel cellFs("cellFs", logs::level::notice); logs::channel cellFs("cellFs");
error_code cellFsGetPath(u32 fd, vm::ptr<char> out_path) error_code cellFsGetPath(u32 fd, vm::ptr<char> out_path)
{ {

View File

@ -12,7 +12,7 @@
#include <thread> #include <thread>
logs::channel cellGame("cellGame", logs::level::notice); logs::channel cellGame("cellGame");
template<> template<>
void fmt_class_string<CellGameError>::format(std::string& out, u64 arg) void fmt_class_string<CellGameError>::format(std::string& out, u64 arg)

View File

@ -3,7 +3,7 @@
#include "cellGame.h" #include "cellGame.h"
logs::channel cellGameExec("cellGameExec", logs::level::notice); logs::channel cellGameExec("cellGameExec");
s32 cellGameSetExitParam() s32 cellGameSetExitParam()
{ {

View File

@ -10,7 +10,7 @@
#include <thread> #include <thread>
logs::channel cellGcmSys("cellGcmSys", logs::level::notice); logs::channel cellGcmSys("cellGcmSys");
extern s32 cellGcmCallback(ppu_thread& ppu, vm::ptr<CellGcmContextData> context, u32 count); extern s32 cellGcmCallback(ppu_thread& ppu, vm::ptr<CellGcmContextData> context, u32 count);

View File

@ -4,7 +4,7 @@
#include "cellGem.h" #include "cellGem.h"
logs::channel cellGem("cellGem", logs::level::notice); logs::channel cellGem("cellGem");
struct gem_t struct gem_t
{ {

View File

@ -9,7 +9,7 @@
#include "Emu/Cell/lv2/sys_fs.h" #include "Emu/Cell/lv2/sys_fs.h"
#include "cellGifDec.h" #include "cellGifDec.h"
logs::channel cellGifDec("cellGifDec", logs::level::notice); logs::channel cellGifDec("cellGifDec");
// cellGifDec aliases (only for cellGifDec.cpp) // cellGifDec aliases (only for cellGifDec.cpp)
using PPMainHandle = vm::pptr<GifDecoder>; using PPMainHandle = vm::pptr<GifDecoder>;

View File

@ -3,7 +3,7 @@
#include "cellHttp.h" #include "cellHttp.h"
logs::channel cellHttp("cellHttp", logs::level::notice); logs::channel cellHttp("cellHttp");
s32 cellHttpAuthCacheFlush() s32 cellHttpAuthCacheFlush()

View File

@ -3,7 +3,7 @@
#include "cellHttpUtil.h" #include "cellHttpUtil.h"
logs::channel cellHttpUtil("cellHttpUtil", logs::level::notice); logs::channel cellHttpUtil("cellHttpUtil");
s32 cellHttpUtilParseUri(vm::ptr<CellHttpUri> uri, vm::cptr<char> str, vm::ptr<void> pool, u32 size, vm::ptr<u32> required) s32 cellHttpUtilParseUri(vm::ptr<CellHttpUri> uri, vm::cptr<char> str, vm::ptr<void> pool, u32 size, vm::ptr<u32> required)
{ {

View File

@ -2,7 +2,7 @@
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
#include "cellImeJp.h" #include "cellImeJp.h"
logs::channel cellImeJp("cellImeJp", logs::level::notice); logs::channel cellImeJp("cellImeJp");
// Return Codes // Return Codes
enum enum

View File

@ -9,7 +9,7 @@
#include "Emu/Cell/lv2/sys_fs.h" #include "Emu/Cell/lv2/sys_fs.h"
#include "cellJpgDec.h" #include "cellJpgDec.h"
logs::channel cellJpgDec("cellJpgDec", logs::level::notice); logs::channel cellJpgDec("cellJpgDec");
s32 cellJpgDecCreate(u32 mainHandle, u32 threadInParam, u32 threadOutParam) s32 cellJpgDecCreate(u32 mainHandle, u32 threadInParam, u32 threadOutParam)
{ {

View File

@ -3,7 +3,7 @@
#include "cellJpgEnc.h" #include "cellJpgEnc.h"
logs::channel cellJpgEnc("cellJpgEnc", logs::level::notice); logs::channel cellJpgEnc("cellJpgEnc");
s32 cellJpgEncQueryAttr() s32 cellJpgEncQueryAttr()

View File

@ -3,7 +3,7 @@
namespace vm { using namespace ps3; } namespace vm { using namespace ps3; }
logs::channel cellKey2char("cellKey2char", logs::level::notice); logs::channel cellKey2char("cellKey2char");
// Return Codes // Return Codes
enum CellKey2CharError : u32 enum CellKey2CharError : u32

View File

@ -15,7 +15,7 @@ typedef const char *HostCode;
#include "cellL10n.h" #include "cellL10n.h"
logs::channel cellL10n("cellL10n", logs::level::notice); logs::channel cellL10n("cellL10n");
// Translate code id to code name. some codepage may has another name. // Translate code id to code name. some codepage may has another name.
// If this makes your compilation fail, try replace the string code with one in "iconv -l" // If this makes your compilation fail, try replace the string code with one in "iconv -l"

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellLibprof("cellLibprof", logs::level::notice); logs::channel cellLibprof("cellLibprof");
s32 cellUserTraceInit() s32 cellUserTraceInit()
{ {

View File

@ -4,7 +4,7 @@
#include "cellMic.h" #include "cellMic.h"
logs::channel cellMic("cellMic", logs::level::notice); logs::channel cellMic("cellMic");
s32 cellMicInit() s32 cellMicInit()
{ {

View File

@ -6,7 +6,7 @@
#include "cellMusic.h" #include "cellMusic.h"
#include "cellSysutil.h" #include "cellSysutil.h"
logs::channel cellMusic("cellMusic", logs::level::notice); logs::channel cellMusic("cellMusic");
struct music2_t struct music2_t
{ {

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellMusicDecode("cellMusicDecode", logs::level::notice); logs::channel cellMusicDecode("cellMusicDecode");
// Return Codes // Return Codes
enum enum

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellMusicExport("cellMusicExport", logs::level::notice); logs::channel cellMusicExport("cellMusicExport");
// Return Codes // Return Codes
enum enum

View File

@ -9,7 +9,7 @@
#include "Utilities/StrUtil.h" #include "Utilities/StrUtil.h"
logs::channel cellNetCtl("cellNetCtl", logs::level::notice); logs::channel cellNetCtl("cellNetCtl");
template<> template<>
void fmt_class_string<CellNetCtlError>::format(std::string& out, u64 arg) void fmt_class_string<CellNetCtlError>::format(std::string& out, u64 arg)

View File

@ -6,7 +6,7 @@
#include <thread> #include <thread>
#include "Emu/System.h" #include "Emu/System.h"
logs::channel cellOskDialog("cellOskDialog", logs::level::notice); logs::channel cellOskDialog("cellOskDialog");
static char16_t s_osk_text[CELL_OSKDIALOG_STRING_SIZE]; static char16_t s_osk_text[CELL_OSKDIALOG_STRING_SIZE];

View File

@ -4,7 +4,7 @@
namespace vm { using namespace ps3; } namespace vm { using namespace ps3; }
logs::channel cellOvis("cellOvis", logs::level::notice); logs::channel cellOvis("cellOvis");
// Return Codes // Return Codes
enum enum

View File

@ -12,7 +12,7 @@ bool squeue_test_exit()
return Emu.IsStopped(); return Emu.IsStopped();
} }
logs::channel cellPamf("cellPamf", logs::level::notice); logs::channel cellPamf("cellPamf");
s32 pamfStreamTypeToEsFilterId(u8 type, u8 ch, CellCodecEsFilterId& pEsFilterId) s32 pamfStreamTypeToEsFilterId(u8 type, u8 ch, CellCodecEsFilterId& pEsFilterId)
{ {

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellPhotoDecode("cellPhotoDecode", logs::level::notice); logs::channel cellPhotoDecode("cellPhotoDecode");
// Return Codes // Return Codes
enum enum

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellPhotoExport("cellPhotoExport", logs::level::notice); logs::channel cellPhotoExport("cellPhotoExport");
// Return Codes // Return Codes
enum enum

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellPhotoImportUtil("cellPhotoImportUtil", logs::level::notice); logs::channel cellPhotoImportUtil("cellPhotoImportUtil");
// Return Codes // Return Codes
enum enum

View File

@ -19,7 +19,7 @@ typedef png_bytep iCCP_profile_type;
typedef png_charp iCCP_profile_type; typedef png_charp iCCP_profile_type;
#endif #endif
logs::channel cellPngDec("cellPngDec", logs::level::notice); logs::channel cellPngDec("cellPngDec");
// cellPngDec aliases to improve readability // cellPngDec aliases to improve readability
using PPHandle = vm::pptr<PngHandle>; using PPHandle = vm::pptr<PngHandle>;

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellPngEnc("cellPngEnc", logs::level::notice); logs::channel cellPngEnc("cellPngEnc");
// Error Codes // Error Codes
enum enum

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellPrint("cellPrint", logs::level::notice); logs::channel cellPrint("cellPrint");
// Error Codes // Error Codes
enum enum

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellRec("cellRec", logs::level::notice); logs::channel cellRec("cellRec");
s32 cellRecOpen() s32 cellRecOpen()
{ {

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellRemotePlay("cellRemotePlay", logs::level::notice); logs::channel cellRemotePlay("cellRemotePlay");
s32 cellRemotePlayGetStatus() s32 cellRemotePlayGetStatus()
{ {

View File

@ -6,7 +6,7 @@
#include "Emu/RSX/GCM.h" #include "Emu/RSX/GCM.h"
#include "cellResc.h" #include "cellResc.h"
logs::channel cellResc("cellResc", logs::level::notice); logs::channel cellResc("cellResc");
s32 cellRescInit(vm::ptr<CellRescInitConfig> initConfig) s32 cellRescInit(vm::ptr<CellRescInitConfig> initConfig)
{ {

View File

@ -3,7 +3,7 @@
#include "cellRtc.h" #include "cellRtc.h"
logs::channel cellRtc("cellRtc", logs::level::notice); logs::channel cellRtc("cellRtc");
s64 convertToUNIXTime(u16 seconds, u16 minutes, u16 hours, u16 days, s32 years) s64 convertToUNIXTime(u16 seconds, u16 minutes, u16 hours, u16 days, s32 years)
{ {

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellRtcAlarm("cellRtcAlarm", logs::level::notice); logs::channel cellRtcAlarm("cellRtcAlarm");
s32 cellRtcAlarmRegister() s32 cellRtcAlarmRegister()
{ {

View File

@ -5,7 +5,7 @@
#include "cellRudp.h" #include "cellRudp.h"
logs::channel cellRudp("cellRudp", logs::level::notice); logs::channel cellRudp("cellRudp");
struct rudp_t struct rudp_t
{ {

View File

@ -5,7 +5,7 @@
#include "cellSail.h" #include "cellSail.h"
#include "cellPamf.h" #include "cellPamf.h"
logs::channel cellSail("cellSail", logs::level::notice); logs::channel cellSail("cellSail");
s32 cellSailMemAllocatorInitialize(vm::ptr<CellSailMemAllocator> pSelf, vm::ptr<CellSailMemAllocatorFuncs> pCallbacks) s32 cellSailMemAllocatorInitialize(vm::ptr<CellSailMemAllocator> pSelf, vm::ptr<CellSailMemAllocatorFuncs> pCallbacks)
{ {

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellSailRec("cellSailRec", logs::level::notice); logs::channel cellSailRec("cellSailRec");
// Error Codes // Error Codes
enum enum

View File

@ -10,7 +10,7 @@
#include <mutex> #include <mutex>
#include <algorithm> #include <algorithm>
logs::channel cellSaveData("cellSaveData", logs::level::notice); logs::channel cellSaveData("cellSaveData");
SaveDialogBase::~SaveDialogBase() SaveDialogBase::~SaveDialogBase()
{ {

View File

@ -4,7 +4,7 @@
#include "cellScreenshot.h" #include "cellScreenshot.h"
logs::channel cellScreenshot("cellScreenshot", logs::level::notice); logs::channel cellScreenshot("cellScreenshot");
s32 cellScreenShotSetParameter(vm::cptr<CellScreenShotSetParam> param) s32 cellScreenShotSetParameter(vm::cptr<CellScreenShotSetParam> param)
{ {

View File

@ -4,7 +4,7 @@
#include "cellSearch.h" #include "cellSearch.h"
logs::channel cellSearch("cellSearch", logs::level::notice); logs::channel cellSearch("cellSearch");
s32 cellSearchInitialize(CellSearchMode mode, u32 container, vm::ptr<CellSearchSystemCallback> func, vm::ptr<u32> userData) s32 cellSearchInitialize(CellSearchMode mode, u32 container, vm::ptr<CellSearchSystemCallback> func, vm::ptr<u32> userData)
{ {

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellSheap("cellSheap", logs::level::notice); logs::channel cellSheap("cellSheap");
// Return Codes // Return Codes
enum enum

View File

@ -5,7 +5,7 @@
namespace vm { using namespace ps3; } namespace vm { using namespace ps3; }
logs::channel cellSpudll("cellSpudll", logs::level::notice); logs::channel cellSpudll("cellSpudll");
template<> template<>
void fmt_class_string<CellSpudllError>::format(std::string& out, u64 arg) void fmt_class_string<CellSpudllError>::format(std::string& out, u64 arg)

View File

@ -15,7 +15,7 @@
#include "sysPrxForUser.h" #include "sysPrxForUser.h"
#include "cellSpurs.h" #include "cellSpurs.h"
logs::channel cellSpurs("cellSpurs", logs::level::notice); logs::channel cellSpurs("cellSpurs");
s32 sys_spu_image_close(vm::ptr<sys_spu_image> img); s32 sys_spu_image_close(vm::ptr<sys_spu_image> img);

View File

@ -8,7 +8,7 @@
#include "cellSpurs.h" #include "cellSpurs.h"
#include "cellSpursJq.h" #include "cellSpursJq.h"
logs::channel cellSpursJq("cellSpursJq", logs::level::notice); logs::channel cellSpursJq("cellSpursJq");
s32 cellSpursJobQueueAttributeInitialize() s32 cellSpursJobQueueAttributeInitialize()
{ {

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellSsl("cellSsl", logs::level::notice); logs::channel cellSsl("cellSsl");
s32 cellSslInit() s32 cellSslInit()
{ {

View File

@ -3,7 +3,7 @@
#include "cellSubdisplay.h" #include "cellSubdisplay.h"
logs::channel cellSubdisplay("cellSubdisplay", logs::level::notice); logs::channel cellSubdisplay("cellSubdisplay");
template<> template<>
void fmt_class_string<CellSubDisplayError>::format(std::string& out, u64 arg) void fmt_class_string<CellSubDisplayError>::format(std::string& out, u64 arg)

View File

@ -6,7 +6,7 @@
#include "Emu/Cell/lv2/sys_process.h" #include "Emu/Cell/lv2/sys_process.h"
#include "cellSync.h" #include "cellSync.h"
logs::channel cellSync("cellSync", logs::level::notice); logs::channel cellSync("cellSync");
template<> template<>
void fmt_class_string<CellSyncError>::format(std::string& out, u64 arg) void fmt_class_string<CellSyncError>::format(std::string& out, u64 arg)

View File

@ -6,7 +6,7 @@
#include "Utilities/StrUtil.h" #include "Utilities/StrUtil.h"
logs::channel cellSync2("cellSync2", logs::level::notice); logs::channel cellSync2("cellSync2");
vm::gvar<CellSync2CallerThreadType> gCellSync2CallerThreadTypePpuThread; vm::gvar<CellSync2CallerThreadType> gCellSync2CallerThreadTypePpuThread;
vm::gvar<CellSync2Notifier> gCellSync2NotifierPpuThread; vm::gvar<CellSync2Notifier> gCellSync2NotifierPpuThread;

View File

@ -3,7 +3,7 @@
#include "cellSysconf.h" #include "cellSysconf.h"
logs::channel cellSysconf("cellSysconf", logs::level::notice); logs::channel cellSysconf("cellSysconf");
s32 cellSysconfAbort() s32 cellSysconfAbort()
{ {

View File

@ -2,7 +2,7 @@
#include "Emu/System.h" #include "Emu/System.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellSysmodule("cellSysmodule", logs::level::notice); logs::channel cellSysmodule("cellSysmodule");
enum enum
{ {

View File

@ -11,7 +11,7 @@
#include <mutex> #include <mutex>
#include <queue> #include <queue>
logs::channel cellSysutil("cellSysutil", logs::level::notice); logs::channel cellSysutil("cellSysutil");
struct sysutil_cb_manager struct sysutil_cb_manager
{ {

View File

@ -3,7 +3,7 @@
namespace vm { using namespace ps3; } namespace vm { using namespace ps3; }
logs::channel cellSysutilAp("cellSysutilAp", logs::level::notice); logs::channel cellSysutilAp("cellSysutilAp");
// Return Codes // Return Codes
enum enum

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellSysutilAvc("cellSysutilAvc", logs::level::notice); logs::channel cellSysutilAvc("cellSysutilAvc");
s32 cellSysutilAvcByeRequest() s32 cellSysutilAvcByeRequest()
{ {

View File

@ -5,7 +5,7 @@
#include "sceNp2.h" #include "sceNp2.h"
#include "cellSysutilAvc2.h" #include "cellSysutilAvc2.h"
logs::channel cellSysutilAvc2("cellSysutilAvc2", logs::level::notice); logs::channel cellSysutilAvc2("cellSysutilAvc2");
s32 cellSysutilAvc2GetPlayerInfo() s32 cellSysutilAvc2GetPlayerInfo()
{ {

View File

@ -2,7 +2,7 @@
#include "Emu/System.h" #include "Emu/System.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellSysutilMisc("cellSysutilMisc", logs::level::notice); logs::channel cellSysutilMisc("cellSysutilMisc");
// License areas // License areas
enum enum

View File

@ -2,7 +2,7 @@
#include "Emu/System.h" #include "Emu/System.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellSysutilNpEula("cellSysutilNpEula", logs::level::notice); logs::channel cellSysutilNpEula("cellSysutilNpEula");
s32 cellSysutilNpEula_59D1629A() // Resistance 3, Uncharted 2 s32 cellSysutilNpEula_59D1629A() // Resistance 3, Uncharted 2
{ {

View File

@ -3,7 +3,7 @@
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
#include "cellUsbd.h" #include "cellUsbd.h"
logs::channel cellUsbd("cellUsbd", logs::level::notice); logs::channel cellUsbd("cellUsbd");
s32 cellUsbdInit() s32 cellUsbdInit()
{ {

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellUsbPspcm("cellUsbPspcm", logs::level::notice); logs::channel cellUsbPspcm("cellUsbPspcm");
// Return Codes // Return Codes
enum enum

View File

@ -6,7 +6,7 @@
#include "Utilities/StrUtil.h" #include "Utilities/StrUtil.h"
logs::channel cellUserInfo("cellUserInfo", logs::level::notice); logs::channel cellUserInfo("cellUserInfo");
template<> template<>
void fmt_class_string<CellUserInfoError>::format(std::string& out, u64 arg) void fmt_class_string<CellUserInfoError>::format(std::string& out, u64 arg)

View File

@ -20,7 +20,7 @@ extern "C"
std::mutex g_mutex_avcodec_open2; std::mutex g_mutex_avcodec_open2;
logs::channel cellVdec("cellVdec", logs::level::notice); logs::channel cellVdec("cellVdec");
vm::gvar<s32> _cell_vdec_prx_ver; // ??? vm::gvar<s32> _cell_vdec_prx_ver; // ???

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cellVideoExport("cellVideoExport", logs::level::notice); logs::channel cellVideoExport("cellVideoExport");
s32 cellVideoExportProgress() s32 cellVideoExportProgress()
{ {

View File

@ -3,7 +3,7 @@
#include "cellVideoUpload.h" #include "cellVideoUpload.h"
logs::channel cellVideoUpload("cellVideoUpload", logs::level::notice); logs::channel cellVideoUpload("cellVideoUpload");
s32 cellVideoUploadInitialize(vm::cptr<CellVideoUploadParam> pParam, vm::ptr<CellVideoUploadCallback> cb, vm::ptr<void> userdata) s32 cellVideoUploadInitialize(vm::cptr<CellVideoUploadParam> pParam, vm::ptr<CellVideoUploadCallback> cb, vm::ptr<void> userdata)
{ {

View File

@ -4,7 +4,7 @@
#include "cellVoice.h" #include "cellVoice.h"
logs::channel cellVoice("cellVoice", logs::level::notice); logs::channel cellVoice("cellVoice");
s32 cellVoiceConnectIPortToOPort() s32 cellVoiceConnectIPortToOPort()

View File

@ -10,7 +10,7 @@ extern "C"
#include "cellVpost.h" #include "cellVpost.h"
logs::channel cellVpost("cellVpost", logs::level::notice); logs::channel cellVpost("cellVpost");
s32 cellVpostQueryAttr(vm::cptr<CellVpostCfgParam> cfgParam, vm::ptr<CellVpostAttr> attr) s32 cellVpostQueryAttr(vm::cptr<CellVpostCfgParam> cfgParam, vm::ptr<CellVpostAttr> attr)
{ {

View File

@ -2,7 +2,7 @@
#include "Emu/System.h" #include "Emu/System.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel cell_FreeType2("cell_FreeType2", logs::level::notice); logs::channel cell_FreeType2("cell_FreeType2");
// Functions // Functions
s32 cellFreeType2Ex() s32 cellFreeType2Ex()

View File

@ -2,7 +2,7 @@
#include "Emu/System.h" #include "Emu/System.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel libmedi("libmedi", logs::level::notice); logs::channel libmedi("libmedi");
s32 cellMediatorCloseContext() s32 cellMediatorCloseContext()
{ {

View File

@ -11,7 +11,7 @@
#include <thread> #include <thread>
#include <mutex> #include <mutex>
logs::channel libmixer("libmixer", logs::level::notice); logs::channel libmixer("libmixer");
struct SurMixerConfig struct SurMixerConfig
{ {

View File

@ -3,7 +3,7 @@
#include "libsnd3.h" #include "libsnd3.h"
logs::channel libsnd3("libsnd3", logs::level::notice); logs::channel libsnd3("libsnd3");
s32 cellSnd3Init(u32 maxVoice, u32 samples, vm::ptr<CellSnd3RequestQueueCtx> queue) s32 cellSnd3Init(u32 maxVoice, u32 samples, vm::ptr<CellSnd3RequestQueueCtx> queue)
{ {

View File

@ -5,7 +5,7 @@
namespace vm { using namespace ps3; } namespace vm { using namespace ps3; }
logs::channel libsynth2("libsynth2", logs::level::notice); logs::channel libsynth2("libsynth2");
s32 cellSoundSynth2Config(s16 param, s32 value) s32 cellSoundSynth2Config(s16 param, s32 value)
{ {

View File

@ -9,7 +9,7 @@
#include "cellRtc.h" #include "cellRtc.h"
#include "sceNp.h" #include "sceNp.h"
logs::channel sceNp("sceNp", logs::level::notice); logs::channel sceNp("sceNp");
s32 g_psn_connection_status = SCE_NP_MANAGER_STATUS_OFFLINE; s32 g_psn_connection_status = SCE_NP_MANAGER_STATUS_OFFLINE;

View File

@ -4,7 +4,7 @@
#include "sceNp.h" #include "sceNp.h"
#include "sceNp2.h" #include "sceNp2.h"
logs::channel sceNp2("sceNp2", logs::level::notice); logs::channel sceNp2("sceNp2");
s32 sceNp2Init(u32 poolsize, vm::ptr<void> poolptr) s32 sceNp2Init(u32 poolsize, vm::ptr<void> poolptr)
{ {

View File

@ -5,7 +5,7 @@
#include "sceNp.h" #include "sceNp.h"
#include "sceNpClans.h" #include "sceNpClans.h"
logs::channel sceNpClans("sceNpClans", logs::level::notice); logs::channel sceNpClans("sceNpClans");
s32 sceNpClansInit(vm::ptr<SceNpCommunicationId> commId, vm::ptr<SceNpCommunicationPassphrase> passphrase, vm::ptr<void> pool, vm::ptr<u32> poolSize, u32 flags) s32 sceNpClansInit(vm::ptr<SceNpCommunicationId> commId, vm::ptr<SceNpCommunicationPassphrase> passphrase, vm::ptr<void> pool, vm::ptr<u32> poolSize, u32 flags)
{ {

View File

@ -3,7 +3,7 @@
#include "sceNpCommerce2.h" #include "sceNpCommerce2.h"
logs::channel sceNpCommerce2("sceNpCommerce2", logs::level::notice); logs::channel sceNpCommerce2("sceNpCommerce2");
s32 sceNpCommerce2ExecuteStoreBrowse() s32 sceNpCommerce2ExecuteStoreBrowse()
{ {

View File

@ -4,7 +4,7 @@
#include "sceNpSns.h" #include "sceNpSns.h"
logs::channel sceNpSns("sceNpSns", logs::level::notice); logs::channel sceNpSns("sceNpSns");
template<> template<>
void fmt_class_string<sceNpSnsError>::format(std::string& out, u64 arg) void fmt_class_string<sceNpSnsError>::format(std::string& out, u64 arg)

View File

@ -14,7 +14,7 @@
#include "Utilities/StrUtil.h" #include "Utilities/StrUtil.h"
logs::channel sceNpTrophy("sceNpTrophy", logs::level::notice); logs::channel sceNpTrophy("sceNpTrophy");
struct trophy_context_t struct trophy_context_t
{ {

View File

@ -4,7 +4,7 @@
#include "sceNp.h" #include "sceNp.h"
#include "sceNpTus.h" #include "sceNpTus.h"
logs::channel sceNpTus("sceNpTus", logs::level::notice); logs::channel sceNpTus("sceNpTus");
s32 sceNpTusInit() s32 sceNpTusInit()
{ {

View File

@ -4,7 +4,7 @@
#include "sceNp.h" #include "sceNp.h"
#include "sceNpUtil.h" #include "sceNpUtil.h"
logs::channel sceNpUtil("sceNpUtil", logs::level::notice); logs::channel sceNpUtil("sceNpUtil");
s32 sceNpUtilBandwidthTestInitStart(u32 prio, size_t stack) s32 sceNpUtilBandwidthTestInitStart(u32 prio, size_t stack)
{ {

View File

@ -6,7 +6,7 @@
#include "Emu/Cell/lv2/sys_process.h" #include "Emu/Cell/lv2/sys_process.h"
#include "sysPrxForUser.h" #include "sysPrxForUser.h"
logs::channel sysPrxForUser("sysPrxForUser", logs::level::notice); logs::channel sysPrxForUser("sysPrxForUser");
extern u64 get_system_time(); extern u64 get_system_time();

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
logs::channel sys_io("sys_io", logs::level::notice); logs::channel sys_io("sys_io");
extern void cellPad_init(); extern void cellPad_init();
extern void cellKb_init(); extern void cellKb_init();

View File

@ -5,7 +5,7 @@
namespace vm { using namespace ps3; } namespace vm { using namespace ps3; }
logs::channel sys_libc("sys_libc", logs::level::notice); logs::channel sys_libc("sys_libc");
void sys_libc_memcpy(vm::ptr<void> dst, vm::cptr<void> src, u32 size) void sys_libc_memcpy(vm::ptr<void> dst, vm::cptr<void> src, u32 size)
{ {

View File

@ -5,7 +5,7 @@
#include "sys_lv2dbg.h" #include "sys_lv2dbg.h"
logs::channel sys_lv2dbg("sys_lv2dbg", logs::level::notice); logs::channel sys_lv2dbg("sys_lv2dbg");
s32 sys_dbg_read_ppu_thread_context(u64 id, vm::ptr<sys_dbg_ppu_thread_context_t> ppu_context) s32 sys_dbg_read_ppu_thread_context(u64 id, vm::ptr<sys_dbg_ppu_thread_context_t> ppu_context)
{ {

Some files were not shown because too many files have changed in this diff Show More