diff --git a/RSDKv3/Drawing.cpp b/RSDKv3/Drawing.cpp index 4b7c2fea..e8ddde4a 100644 --- a/RSDKv3/Drawing.cpp +++ b/RSDKv3/Drawing.cpp @@ -1036,12 +1036,12 @@ void ReleaseRenderDevice() } #if RETRO_USING_OPENGL - if (Engine.glContext) { - for (int i = 0; i < HW_TEXTURE_COUNT; i++) glDeleteTextures(1, &gfxTextureID[i]); + if (Engine.glContext) { + for (int i = 0; i < HW_TEXTURE_COUNT; i++) glDeleteTextures(1, &gfxTextureID[i]); #if RETRO_USING_SDL2 - SDL_GL_DeleteContext(Engine.glContext); + SDL_GL_DeleteContext(Engine.glContext); #endif - } + } #endif #if RETRO_USING_SDL2 @@ -1950,7 +1950,7 @@ void DrawStageGFX() // Hacky fix for Tails Object not working properly on non-Origins bytecode if (forceUseScripts || GetGlobalVariableByName("NOTIFY_1P_VS_SELECT") != 0) #endif - DrawObjectList(7); // Extra Origins draw list (who knows why it comes before 6) + DrawObjectList(7); // Extra Origins draw list (who knows why it comes before 6) DrawObjectList(6); #if !RETRO_USE_ORIGINAL_CODE diff --git a/RSDKv3/RetroEngine.cpp b/RSDKv3/RetroEngine.cpp index f8f43b4f..44a8c051 100644 --- a/RSDKv3/RetroEngine.cpp +++ b/RSDKv3/RetroEngine.cpp @@ -1025,7 +1025,7 @@ bool RetroEngine::LoadGameConfig(const char *filePath) SetGlobalVariableByName("Engine.PlatformId", RETRO_GAMEPLATFORMID); SetGlobalVariableByName("Engine.DeviceType", RETRO_GAMEPLATFORM); #if !RETRO_USE_ORIGINAL_CODE - SetGlobalVariableByName("Config.IsPremiumUser", 1); // this gets around the game over ui lol + SetGlobalVariableByName("Config.IsPremiumUser", 1); // this gets around the game over ui lol #endif // Read SFX diff --git a/RSDKv3/Script.cpp b/RSDKv3/Script.cpp index 88e06585..7c48014a 100644 --- a/RSDKv3/Script.cpp +++ b/RSDKv3/Script.cpp @@ -876,9 +876,9 @@ void CheckAliasText(char *text) AddTextMenuEntry(&gameMenu[0], "SCRIPT PARSING FAILED"); AddTextMenuEntry(&gameMenu[0], " "); AddTextMenuEntry(&gameMenu[0], "TOO MANY ALIASES"); - AddTextMenuEntry(&gameMenu[0], " "); - AddTextMenuEntry(&gameMenu[0], "REDUCE ALIAS COUNT TO 96"); - AddTextMenuEntry(&gameMenu[0], "IN THE SCRIPT BELOW"); + AddTextMenuEntry(&gameMenu[0], " "); + AddTextMenuEntry(&gameMenu[0], "REDUCE ALIAS COUNT TO 96"); + AddTextMenuEntry(&gameMenu[0], "IN THE SCRIPT BELOW"); Engine.gameMode = ENGINE_SCRIPTERROR; return; } diff --git a/RSDKv3/Userdata.cpp b/RSDKv3/Userdata.cpp index 3e194310..36e4b712 100644 --- a/RSDKv3/Userdata.cpp +++ b/RSDKv3/Userdata.cpp @@ -359,7 +359,7 @@ void InitUserdata() ini.SetBool("Game", "DisableTouchControls", disableTouchControls = false); ini.SetInteger("Game", "DisableFocusPause", disableFocusPause = 0); disableFocusPause_Config = disableFocusPause; - ini.SetBool("Game", "trialMode", Engine.trialMode = false); + ini.SetBool("Game", "trialMode", Engine.trialMode = false); ini.SetBool("Window", "FullScreen", Engine.startFullScreen = DEFAULT_FULLSCREEN); ini.SetBool("Window", "Borderless", Engine.borderless = false); @@ -488,7 +488,7 @@ void InitUserdata() else if (platype == 1) Engine.gamePlatform = "Mobile"; } - if (!ini.GetBool("Game", "trialMode", &Engine.trialMode)) + if (!ini.GetBool("Game", "trialMode", &Engine.trialMode)) Engine.trialMode = false; if (!ini.GetBool("Window", "FullScreen", &Engine.startFullScreen))