diff options
author | 2015-05-18 08:04:22 -0400 | |
---|---|---|
committer | 2015-05-18 08:04:22 -0400 | |
commit | 1b47da41153c9955749ea23bea884d4f22f32b5a (patch) | |
tree | 32411f02f951bc8ca58f0028676a45de12c05d55 /src/core/hle/function_wrappers.h | |
parent | 2c721f376498823f1e8929693d84850d4368e411 (diff) | |
parent | 11057488f94ec8ec012ddd524d7c1acb530c9788 (diff) |
Merge pull request #785 from archshift/break
Implement svcBreak
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r-- | src/core/hle/function_wrappers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h index 0e5ae29a..23c86a72 100644 --- a/src/core/hle/function_wrappers.h +++ b/src/core/hle/function_wrappers.h @@ -166,6 +166,10 @@ template<void func(const char*)> void Wrap() { func((char*)Memory::GetPointer(PARAM(0))); } +template<void func(u8)> void Wrap() { + func((u8)PARAM(0)); +} + #undef PARAM #undef FuncReturn |