mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Add cellRtcAlarm module (#2703)
This commit is contained in:
parent
ba9fdfa802
commit
8060cf9b19
5 changed files with 51 additions and 0 deletions
44
rpcs3/Emu/Cell/Modules/cellRtcAlarm.cpp
Normal file
44
rpcs3/Emu/Cell/Modules/cellRtcAlarm.cpp
Normal file
|
@ -0,0 +1,44 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
logs::channel cellRtcAlarm("cellRtcAlarm", logs::level::notice);
|
||||
|
||||
s32 cellRtcAlarmRegister()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellRtcAlarm);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellRtcAlarmUnregister()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellRtcAlarm);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellRtcAlarmGetStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellRtcAlarm);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellRtcAlarm_AD8D9839()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellRtcAlarm);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellRtcAlarm_B287748C()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellRtcAlarm);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellRtcAlarm)("cellRtcAlarm", []()
|
||||
{
|
||||
REG_FUNC(cellRtcAlarm, cellRtcAlarmRegister);
|
||||
REG_FUNC(cellRtcAlarm, cellRtcAlarmUnregister);
|
||||
REG_FUNC(cellRtcAlarm, cellRtcAlarmGetStatus);
|
||||
|
||||
REG_FNID(cellRtcAlarm, 0xAD8D9839, cellRtcAlarm_AD8D9839);
|
||||
REG_FNID(cellRtcAlarm, 0xB287748C, cellRtcAlarm_B287748C);
|
||||
});
|
|
@ -68,6 +68,7 @@ LOG_CHANNEL(cellRec);
|
|||
LOG_CHANNEL(cellRemotePlay);
|
||||
LOG_CHANNEL(cellResc);
|
||||
LOG_CHANNEL(cellRtc);
|
||||
LOG_CHANNEL(cellRtcAlarm);
|
||||
LOG_CHANNEL(cellRudp);
|
||||
LOG_CHANNEL(cellSail);
|
||||
LOG_CHANNEL(cellSailRec);
|
||||
|
@ -270,6 +271,7 @@ static void ppu_initialize_modules(const std::shared_ptr<ppu_linkage_info>& link
|
|||
&ppu_module_manager::cellRemotePlay,
|
||||
&ppu_module_manager::cellResc,
|
||||
&ppu_module_manager::cellRtc,
|
||||
&ppu_module_manager::cellRtcAlarm,
|
||||
&ppu_module_manager::cellRudp,
|
||||
&ppu_module_manager::cellSail,
|
||||
&ppu_module_manager::cellSailRec,
|
||||
|
|
|
@ -155,6 +155,7 @@ public:
|
|||
static const ppu_static_module cellRemotePlay;
|
||||
static const ppu_static_module cellResc;
|
||||
static const ppu_static_module cellRtc;
|
||||
static const ppu_static_module cellRtcAlarm;
|
||||
static const ppu_static_module cellRudp;
|
||||
static const ppu_static_module cellSail;
|
||||
static const ppu_static_module cellSailRec;
|
||||
|
|
|
@ -194,6 +194,7 @@
|
|||
<ClCompile Include="Emu\Cell\Modules\cellRemotePlay.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellResc.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellRtc.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellRtcAlarm.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellRudp.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellSail.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellSailRec.cpp" />
|
||||
|
|
|
@ -458,6 +458,9 @@
|
|||
<ClCompile Include="Emu\Cell\Modules\cellRtc.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\cellRtcAlarm.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\cellRudp.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
|
|
Loading…
Add table
Reference in a new issue