mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-26 04:12:34 +01:00
- added gMultiStep for PSX, removed test code
This commit is contained in:
parent
2d49be767e
commit
2d6c794595
@ -1625,6 +1625,9 @@ void CheckForPause(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef PSX
|
||||||
|
int gMultiStep = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
// [D] [T]
|
// [D] [T]
|
||||||
void State_GameLoop(void* param)
|
void State_GameLoop(void* param)
|
||||||
@ -1651,7 +1654,7 @@ void State_GameLoop(void* param)
|
|||||||
if (FastForward)
|
if (FastForward)
|
||||||
cnt = 7;
|
cnt = 7;
|
||||||
else
|
else
|
||||||
cnt = numFrames;
|
cnt = gMultiStep ? numFrames : 1;
|
||||||
|
|
||||||
if (cnt)
|
if (cnt)
|
||||||
lastTime32Hz = curTime;
|
lastTime32Hz = curTime;
|
||||||
@ -2006,20 +2009,6 @@ int redriver2_main(int argc, char** argv)
|
|||||||
// by default go to frontend
|
// by default go to frontend
|
||||||
SetState(STATE_INITFRONTEND, (void*)2);
|
SetState(STATE_INITFRONTEND, (void*)2);
|
||||||
|
|
||||||
|
|
||||||
#ifdef PSX // PSX TEST
|
|
||||||
{
|
|
||||||
gInFrontend = 0;
|
|
||||||
AttractMode = 0;
|
|
||||||
|
|
||||||
wantedCar[0] = 1;
|
|
||||||
gCurrentMissionNumber = 52;
|
|
||||||
|
|
||||||
GameType = GAME_TAKEADRIVE;
|
|
||||||
SetState(STATE_GAMELAUNCH);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PSX
|
#ifndef PSX
|
||||||
LoadCurrentProfile();
|
LoadCurrentProfile();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user