aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackends/PalmOS/Src/os5_gfx.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/PalmOS/Src/os5_gfx.cpp b/backends/PalmOS/Src/os5_gfx.cpp
index feab31c8f5..73dea43513 100755
--- a/backends/PalmOS/Src/os5_gfx.cpp
+++ b/backends/PalmOS/Src/os5_gfx.cpp
@@ -85,7 +85,6 @@ void OSystem_PalmOS5::load_gfx_mode() {
void OSystem_PalmOS5::hotswap_gfx_mode(int mode) {
Err e;
UInt32 device;
- Boolean isT3;
if (_mode != GFX_NORMAL && !_isSwitchable)
return;
@@ -94,8 +93,8 @@ void OSystem_PalmOS5::hotswap_gfx_mode(int mode) {
WinDeleteWindow(_workScreenH, false);
_workScreenH = NULL;
- isT3 = false;
#ifdef PALMOS_ARM
+ Boolean isT3 = false;
if (!FtrGet(sysFileCSystem, sysFtrNumOEMDeviceID, &device))
isT3 = (device == kPalmOneDeviceIDTungstenT3);
#endif