mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-14 01:27:00 +00:00
Add cellLibprof module (#2637)
This commit is contained in:
parent
27ea4285ef
commit
a1cc40e7b1
36
rpcs3/Emu/Cell/Modules/cellLibprof.cpp
Normal file
36
rpcs3/Emu/Cell/Modules/cellLibprof.cpp
Normal file
@ -0,0 +1,36 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
logs::channel cellLibprof("cellLibprof", logs::level::notice);
|
||||
|
||||
s32 cellUserTraceInit()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellLibprof);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellUserTraceRegister()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellLibprof);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellUserTraceUnregister()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellLibprof);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellUserTraceTerminate()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellLibprof);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellLibprof)("cellLibprof", []()
|
||||
{
|
||||
REG_FUNC(cellLibprof, cellUserTraceInit);
|
||||
REG_FUNC(cellLibprof, cellUserTraceRegister);
|
||||
REG_FUNC(cellLibprof, cellUserTraceUnregister);
|
||||
REG_FUNC(cellLibprof, cellUserTraceTerminate);
|
||||
});
|
@ -47,6 +47,7 @@ LOG_CHANNEL(cellJpgDec);
|
||||
LOG_CHANNEL(cellJpgEnc);
|
||||
LOG_CHANNEL(cellKey2char);
|
||||
LOG_CHANNEL(cellL10n);
|
||||
LOG_CHANNEL(cellLibprof);
|
||||
LOG_CHANNEL(cellMic);
|
||||
LOG_CHANNEL(cellMusic);
|
||||
LOG_CHANNEL(cellMusicDecode);
|
||||
@ -239,6 +240,7 @@ static void ppu_initialize_modules()
|
||||
&ppu_module_manager::cellJpgEnc,
|
||||
&ppu_module_manager::cellKey2char,
|
||||
&ppu_module_manager::cellL10n,
|
||||
&ppu_module_manager::cellLibprof,
|
||||
&ppu_module_manager::cellMic,
|
||||
&ppu_module_manager::cellMusic,
|
||||
&ppu_module_manager::cellMusicDecode,
|
||||
|
@ -134,6 +134,7 @@ public:
|
||||
static const ppu_static_module cellJpgEnc;
|
||||
static const ppu_static_module cellKey2char;
|
||||
static const ppu_static_module cellL10n;
|
||||
static const ppu_static_module cellLibprof;
|
||||
static const ppu_static_module cellMic;
|
||||
static const ppu_static_module cellMusic;
|
||||
static const ppu_static_module cellMusicDecode;
|
||||
|
@ -170,6 +170,7 @@
|
||||
<ClCompile Include="Emu\Cell\Modules\cellKb.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellKey2char.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellL10n.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellLibprof.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellMic.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellMouse.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellMsgDialog.cpp" />
|
||||
|
@ -389,6 +389,9 @@
|
||||
<ClCompile Include="Emu\Cell\Modules\cellL10n.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\cellLibprof.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\cellMic.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
|
Loading…
x
Reference in New Issue
Block a user