mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-02 20:11:15 +00:00
🧑💻 fix: move function to IsleApp member
This commit is contained in:
parent
18571714e1
commit
e7c0392bc2
@ -386,7 +386,7 @@ SDL_AppResult SDL_AppIterate(void* appstate)
|
||||
g_mousemoved = FALSE;
|
||||
}
|
||||
|
||||
MoveVirtualCursorViaJoystick();
|
||||
g_isle->MoveVirtualMouseViaJoystick();
|
||||
}
|
||||
|
||||
return SDL_APP_CONTINUE;
|
||||
@ -1276,7 +1276,7 @@ IDirect3DRMMiniwinDevice* GetD3DRMMiniwinDevice()
|
||||
return d3drmMiniwinDev;
|
||||
}
|
||||
|
||||
void MoveVirtualCursorViaJoystick()
|
||||
void IsleApp::MoveVirtualMouseViaJoystick()
|
||||
{
|
||||
if (g_lastJoystickMouseX != 0 || g_lastJoystickMouseY != 0) {
|
||||
g_mousemoved = TRUE;
|
||||
|
||||
@ -60,6 +60,7 @@ class IsleApp {
|
||||
MxResult ParseArguments(int argc, char** argv);
|
||||
MxResult VerifyFilesystem();
|
||||
void DetectGameVersion();
|
||||
void MoveVirtualMouseViaJoystick();
|
||||
|
||||
private:
|
||||
char* m_hdPath; // 0x00
|
||||
@ -107,6 +108,4 @@ extern MxS32 g_closed;
|
||||
|
||||
extern IDirect3DRMMiniwinDevice* GetD3DRMMiniwinDevice();
|
||||
|
||||
void MoveVirtualCursorViaJoystick();
|
||||
|
||||
#endif // ISLEAPP_H
|
||||
|
||||
Loading…
Reference in New Issue
Block a user