HLE/SVC: Implement UnmapMemoryBlock.

This implementation will need to be (almost completely) changed when we implement multiprocess support.
This commit is contained in:
Subv 2015-12-31 09:46:32 -05:00
parent 82087672b7
commit d90d5a0ee6
5 changed files with 60 additions and 5 deletions

View file

@ -188,6 +188,10 @@ template<ResultCode func(s64*, Handle, u32)> void Wrap() {
FuncReturn(retval);
}
template<ResultCode func(Handle, u32)> void Wrap() {
FuncReturn(func(PARAM(0), PARAM(1)).raw);
}
////////////////////////////////////////////////////////////////////////////////////////////////////
// Function wrappers that return type u32