Skip to content

Commit c912f1d

Browse files
last minute fixes
1 parent c82e2f2 commit c912f1d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Sonic12Decomp/RetroEngine.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,21 +207,21 @@ class RetroEngine
207207
char gameDescriptionText[0x100];
208208
const char *gameVersion = "1.0.0";
209209
#if RETRO_GAMEPLATFORM == RETRO_GAME_STANDARD
210-
const char *gamePlatform = "STANDARD";
210+
const char *gamePlatform = "Standard"; // "STANDARD"
211211
#elif RETRO_GAMEPLATFORM == RETRO_GAME_MOBILE
212-
const char *gamePlatform = "MOBILE";
212+
const char *gamePlatform = "Mobile"; // "MOBILE"
213213
#endif
214214

215215
#if RETRO_RENDERTYPE == RETRO_SW_RENDER
216-
const char *gameRenderType = "SW_RENDERING";
216+
const char *gameRenderType = "SW_Rendering"; //"SW_RENDERING"
217217
#elif RETRO_RENDERTYPE == RETRO_HW_RENDER
218-
const char *gameRenderType = "HW_RENDERING";
218+
const char *gameRenderType = "HW_Rendering"; // "HW_RENDERING"
219219
#endif
220220

221221
#if RETRO_USE_HAPTICS
222-
const char *gameHapticSetting = "USE_F_FEEDBACK"; // NO_F_FEEDBACK is default, but people with controllers exist
222+
const char *gameHapticSetting = "Use_Haptics"; //"USE_F_FEEDBACK"; // None is default, but people with controllers exist
223223
#else
224-
const char *gameHapticSetting = "NO_F_FEEDBACK";
224+
const char *gameHapticSetting = "No_Haptics"; //"NO_F_FEEDBACK";
225225
#endif
226226

227227
byte gameType = GAME_UNKNOWN;

Sonic12Decomp/Script.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const char variableNames[][0x20] = {
149149
"Object.AnimationSpeed",
150150
"Object.AnimationTimer",
151151
"Object.Angle",
152-
"Object.ValueF0",
152+
"Object.CamOffsetX",
153153
"Object.LookPos",
154154
"Object.CollisionMode",
155155
"Object.CollisionPlane",
@@ -1055,7 +1055,7 @@ void CheckStaticText(char *text)
10551055
}
10561056
void CheckArrayText(char *text)
10571057
{
1058-
if (FindStringToken(text, "#array", 1) || arrVarCount >= ARRVAR_COUNT)
1058+
if ((FindStringToken(text, "#array", 1) && FindStringToken(text, "#table", 1)) || arrVarCount >= ARRVAR_COUNT)
10591059
return;
10601060
int textPos = 6;
10611061
int arrayStrPos = 0;

0 commit comments

Comments
 (0)