mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
move IOS::HLE::WriteReturnValue to .cpp file
This commit is contained in:
parent
c7316c89db
commit
55062afea9
@ -168,6 +168,11 @@ static bool SetupMemory(u64 ios_title_id, MemorySetupType setup_type)
|
||||
return true;
|
||||
}
|
||||
|
||||
void WriteReturnValue(s32 value, u32 address)
|
||||
{
|
||||
Memory::Write_U32(static_cast<u32>(value), address);
|
||||
}
|
||||
|
||||
// IOS used by the latest System Menu (4.3).
|
||||
constexpr u64 IOS80_TITLE_ID = 0x0000000100000050;
|
||||
constexpr u64 BC_TITLE_ID = 0x0000000100000100;
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
#include "Core/HW/Memmap.h"
|
||||
#include "Core/HW/SystemTimers.h"
|
||||
#include "Core/IOS/IOSC.h"
|
||||
|
||||
@ -83,11 +82,7 @@ enum ProcessId : u32
|
||||
PID_UNKNOWN = 19,
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
void WriteReturnValue(T value, u32 address)
|
||||
{
|
||||
Memory::Write_U32(static_cast<u32>(value), address);
|
||||
}
|
||||
void WriteReturnValue(s32 value, u32 address);
|
||||
|
||||
// HLE for the IOS kernel: IPC, device management, syscalls, and Dolphin-specific, IOS-wide calls.
|
||||
class Kernel
|
||||
|
Loading…
Reference in New Issue
Block a user