mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 12:31:45 +01:00
hle: Add libad_async and libad_core modules
This commit is contained in:
parent
71b88cdc82
commit
a254a203bb
22
rpcs3/Emu/Cell/Modules/libad_async.cpp
Normal file
22
rpcs3/Emu/Cell/Modules/libad_async.cpp
Normal file
@ -0,0 +1,22 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
LOG_CHANNEL(libad_async);
|
||||
|
||||
s32 sceAdAsyncSpaceOpen()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(libad_async);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 sceAdAsyncSpaceClose()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(libad_async);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::libad_async)("libad_async", []()
|
||||
{
|
||||
REG_FUNC(libad_async, sceAdAsyncSpaceOpen);
|
||||
REG_FUNC(libad_async, sceAdAsyncSpaceClose);
|
||||
});
|
22
rpcs3/Emu/Cell/Modules/libad_core.cpp
Normal file
22
rpcs3/Emu/Cell/Modules/libad_core.cpp
Normal file
@ -0,0 +1,22 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
LOG_CHANNEL(libad_core);
|
||||
|
||||
s32 sceAdGetAssetInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(libad_core);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 sceAdGetSpaceInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(libad_core);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::libad_core)("libad_core", []()
|
||||
{
|
||||
REG_FUNC(libad_core, sceAdGetAssetInfo);
|
||||
REG_FUNC(libad_core, sceAdGetSpaceInfo);
|
||||
});
|
@ -243,6 +243,8 @@ static void ppu_initialize_modules(const std::shared_ptr<ppu_linkage_info>& link
|
||||
&ppu_module_manager::cellVideoUpload,
|
||||
&ppu_module_manager::cellVoice,
|
||||
&ppu_module_manager::cellVpost,
|
||||
&ppu_module_manager::libad_async,
|
||||
&ppu_module_manager::libad_core,
|
||||
&ppu_module_manager::libmedi,
|
||||
&ppu_module_manager::libmixer,
|
||||
&ppu_module_manager::libsnd3,
|
||||
|
@ -250,6 +250,8 @@ public:
|
||||
static const ppu_static_module cellVideoUpload;
|
||||
static const ppu_static_module cellVoice;
|
||||
static const ppu_static_module cellVpost;
|
||||
static const ppu_static_module libad_async;
|
||||
static const ppu_static_module libad_core;
|
||||
static const ppu_static_module libmedi;
|
||||
static const ppu_static_module libmixer;
|
||||
static const ppu_static_module libsnd3;
|
||||
|
@ -244,6 +244,8 @@
|
||||
<ClCompile Include="Emu\Cell\Modules\cellVoice.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellVpost.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellWebBrowser.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\libad_async.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\libad_core.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\libmedi.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\libmixer.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\libsnd3.cpp" />
|
||||
|
@ -572,6 +572,12 @@
|
||||
<ClCompile Include="Emu\Cell\Modules\cellWebBrowser.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\libad_async.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\libad_core.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\libmedi.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
|
Loading…
x
Reference in New Issue
Block a user