mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 08:47:45 +00:00
svc: Stub ResetSignal and CreateTransferMemory
This commit is contained in:
parent
377e2a79b5
commit
edeb55d78b
2 changed files with 28 additions and 3 deletions
|
@ -132,6 +132,14 @@ void SvcWrap() {
|
|||
FuncReturn(retval);
|
||||
}
|
||||
|
||||
template <ResultCode func(u32*, u64, u64, u32)>
|
||||
void SvcWrap() {
|
||||
u32 param_1 = 0;
|
||||
u32 retval = func(¶m_1, PARAM(1), PARAM(2), (u32)(PARAM(3) & 0xFFFFFFFF)).raw;
|
||||
Core::CPU().SetReg(1, param_1);
|
||||
FuncReturn(retval);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Function wrappers that return type u32
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue