Skip to content

Commit

Permalink
Merge 1c641cd into 22e679e
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Apr 5, 2017
2 parents 22e679e + 1c641cd commit fb4bcc5
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
36 changes: 36 additions & 0 deletions rpcs3/Emu/Cell/Modules/cellLibprof.cpp
@@ -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);
});
2 changes: 2 additions & 0 deletions rpcs3/Emu/Cell/PPUModule.cpp
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions rpcs3/Emu/Cell/PPUModule.h
Expand Up @@ -134,6 +134,7 @@ class ppu_module_manager final
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;
Expand Down
1 change: 1 addition & 0 deletions rpcs3/emucore.vcxproj
Expand Up @@ -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" />
Expand Down
3 changes: 3 additions & 0 deletions rpcs3/emucore.vcxproj.filters
Expand Up @@ -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>
Expand Down

0 comments on commit fb4bcc5

Please sign in to comment.