move IOS::HLE::WriteReturnValue to .cpp file

This commit is contained in:
Shawn Hoffman 2017-06-08 00:07:10 -07:00
parent c7316c89db
commit 55062afea9
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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