svc: Stub ResetSignal and CreateTransferMemory

This commit is contained in:
Subv
2018-01-07 21:24:19 -05:00
committed by bunnei
parent 0a1278081e
commit ba02f0deef
2 changed files with 28 additions and 3 deletions

View File

@ -132,6 +132,14 @@ void SvcWrap() {
FuncReturn(retval);
}
template <ResultCode func(u32*, u64, u64, u32)>
void SvcWrap() {
u32 param_1 = 0;
u32 retval = func(&param_1, PARAM(1), PARAM(2), (u32)(PARAM(3) & 0xFFFFFFFF)).raw;
Core::CPU().SetReg(1, param_1);
FuncReturn(retval);
}
////////////////////////////////////////////////////////////////////////////////////////////////////
// Function wrappers that return type u32