diff options
| author | 2014-05-15 20:17:30 -0400 | |
|---|---|---|
| committer | 2014-05-15 20:17:30 -0400 | |
| commit | 4fba4f36bf20c2721e2602c450eafcc1117ac643 (patch) | |
| tree | ed44db9fd187dde4d1b3648ce87dace024b86a0e /src/core/hle/function_wrappers.h | |
| parent | added memory mapped region for system mem - sdk demos load a segment here on ... (diff) | |
| download | yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.gz yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.xz yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.zip | |
- added SVC stubs for QueryMemory and GetThreadId
- added SVC structs MemoryInfo and PageInfo
Diffstat (limited to 'src/core/hle/function_wrappers.h')
| -rw-r--r-- | src/core/hle/function_wrappers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h index 83be7648b..61790e5a3 100644 --- a/src/core/hle/function_wrappers.h +++ b/src/core/hle/function_wrappers.h | |||
| @@ -734,6 +734,11 @@ template<int func(void*, u32)> void WrapI_VU(){ | |||
| 734 | RETURN(retval); | 734 | RETURN(retval); |
| 735 | } | 735 | } |
| 736 | 736 | ||
| 737 | template<int func(void*, void*, u32)> void WrapI_VVU(){ | ||
| 738 | u32 retval = func(Memory::GetPointer(PARAM(0)), Memory::GetPointer(PARAM(1)), PARAM(2)); | ||
| 739 | RETURN(retval); | ||
| 740 | } | ||
| 741 | |||
| 737 | template<int func(void*, u32, void*, int)> void WrapI_VUVI(){ | 742 | template<int func(void*, u32, void*, int)> void WrapI_VUVI(){ |
| 738 | u32 retval = func(Memory::GetPointer(PARAM(0)), PARAM(1), Memory::GetPointer(PARAM(2)), PARAM(3)); | 743 | u32 retval = func(Memory::GetPointer(PARAM(0)), PARAM(1), Memory::GetPointer(PARAM(2)), PARAM(3)); |
| 739 | RETURN(retval); | 744 | RETURN(retval); |