From 06ba0540ba1f3722fa11c3c5ca488fadcd40b55e Mon Sep 17 00:00:00 2001 From: VoxelTek <53562267+VoxelTek@users.noreply.github.com> Date: Tue, 15 Jul 2025 11:03:13 +1000 Subject: [PATCH] Switch to MxS32, move variable declaration to end --- ISLE/isleapp.cpp | 4 ++-- ISLE/isleapp.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index c4c8c670..7e183aab 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -124,8 +124,6 @@ extern const char* g_files[46]; // FUNCTION: ISLE 0x401000 IsleApp::IsleApp() { - m_xRes = 640; - m_yRes = 480; m_hdPath = NULL; m_cdPath = NULL; m_deviceId = NULL; @@ -178,6 +176,8 @@ IsleApp::IsleApp() m_cursorSensitivity = 4; m_touchScheme = LegoInputManager::e_gamepad; m_haptic = TRUE; + m_xRes = 640; + m_yRes = 480; } // FUNCTION: ISLE 0x4011a0 diff --git a/ISLE/isleapp.h b/ISLE/isleapp.h index f321fca2..ab4ccfd5 100644 --- a/ISLE/isleapp.h +++ b/ISLE/isleapp.h @@ -108,8 +108,8 @@ class IsleApp { MxTransitionManager::TransitionType m_transitionType; LegoInputManager::TouchScheme m_touchScheme; MxBool m_haptic; - int m_xRes; - int m_yRes; + MxS32 m_xRes; + MxS32 m_yRes; }; extern IsleApp* g_isle;