diff options
author | Chris Apers | 2007-12-09 11:09:44 +0000 |
---|---|---|
committer | Chris Apers | 2007-12-09 11:09:44 +0000 |
commit | 77d1b544a5dcb1db2fdcd147562ac73b670d61a4 (patch) | |
tree | 493b92a1cac5f04d62930a8dc13b3a2d8421760a /backends/platform/PalmOS/Src/native | |
parent | a8a1cbf15a1c087aff9753fc97ecd89af44c673a (diff) | |
download | scummvm-rg350-77d1b544a5dcb1db2fdcd147562ac73b670d61a4.tar.gz scummvm-rg350-77d1b544a5dcb1db2fdcd147562ac73b670d61a4.tar.bz2 scummvm-rg350-77d1b544a5dcb1db2fdcd147562ac73b670d61a4.zip |
Added functions required by T3 to prevent screen rotation
svn-id: r29780
Diffstat (limited to 'backends/platform/PalmOS/Src/native')
-rw-r--r-- | backends/platform/PalmOS/Src/native/oscalls.cpp | 18 | ||||
-rw-r--r-- | backends/platform/PalmOS/Src/native/oscalls.h | 7 |
2 files changed, 25 insertions, 0 deletions
diff --git a/backends/platform/PalmOS/Src/native/oscalls.cpp b/backends/platform/PalmOS/Src/native/oscalls.cpp index 68cfb0eef5..9bfd01393f 100644 --- a/backends/platform/PalmOS/Src/native/oscalls.cpp +++ b/backends/platform/PalmOS/Src/native/oscalls.cpp @@ -47,6 +47,24 @@ PACE_CLASS_WRAPPER(Err) PACE_PIN_EXEC(pinPINSetInputAreaState, Err) } +PACE_CLASS_WRAPPER(UInt16) + __68k_PINGetInputAreaState(void) { + PACE_PIN_EXEC_NP(pinPINGetInputAreaState, UInt16) +} + +PACE_CLASS_WRAPPER(Err) + __68k_PINSetInputTriggerState(UInt16 state) { + PACE_PARAMS_INIT() + PACE_PARAMS_ADD16(state) + PACE_PARAMS_END() + PACE_PIN_EXEC(pinPINSetInputTriggerState, Err) +} + +PACE_CLASS_WRAPPER(UInt16) + __68k_PINGetInputTriggerState(void) { + PACE_PIN_EXEC_NP(pinPINGetInputTriggerState, UInt16) +} + PACE_CLASS_WRAPPER(Err) __68k_SysSetOrientation(UInt16 orientation) { PACE_PARAMS_INIT() diff --git a/backends/platform/PalmOS/Src/native/oscalls.h b/backends/platform/PalmOS/Src/native/oscalls.h index 2b4b93488f..071b409130 100644 --- a/backends/platform/PalmOS/Src/native/oscalls.h +++ b/backends/platform/PalmOS/Src/native/oscalls.h @@ -38,9 +38,16 @@ extern "C" { Err __68k_StatShow(); Err __68k_StatHide(); + Err __68k_PINSetInputAreaState(UInt16 state); +UInt16 __68k_PINGetInputAreaState(void); + +Err __68k_PINSetInputTriggerState(UInt16 state); +UInt16 __68k_PINGetInputTriggerState(void); + Err __68k_SysSetOrientation(UInt16 orientation); UInt16 __68k_SysGetOrientation(void); + Err __68k_SysSetOrientationTriggerState(UInt16 triggerState); UInt16 __68k_SysGetOrientationTriggerState(void); |