- little changes

This commit is contained in:
Ilya Shurumov 2020-04-12 17:59:06 +06:00
parent 22fbc4e934
commit 6e99edce58
3 changed files with 10 additions and 13 deletions

View File

@ -100,9 +100,6 @@ ACTIVE_CHEATS ActiveCheats = { 0 };
int gInFrontend = 0; int gInFrontend = 0;
int AttractMode = 0; int AttractMode = 0;
static int WantPause = 0;
static PAUSEMODE PauseMode = PAUSEMODE_PAUSE;
// decompiled code // decompiled code
// original method signature: // original method signature:
// void /*$ra*/ GameStart() // void /*$ra*/ GameStart()

View File

@ -2014,7 +2014,6 @@ void DrawGame(void)
/* end block 3 */ /* end block 3 */
// End Line: 10830 // End Line: 10830
static int WantPause = 0; static int WantPause = 0;
static PAUSEMODE PauseMode = PAUSEMODE_PAUSE; static PAUSEMODE PauseMode = PAUSEMODE_PAUSE;
@ -2105,6 +2104,7 @@ void CheckForPause(void)
{ {
UnPauseSound(); UnPauseSound();
} }
}
} }

View File

@ -9,10 +9,16 @@
#include "LIBSPU.H" #include "LIBSPU.H"
#include "LIBGTE.H" #include "LIBGTE.H"
extern GTERegisters gteRegs; // TODO: VERSION.H
#define GAME_VERSION_N "0.2a"
#define GAME_TITLE "REDRIVER2"
#define GAME_VERSION GAME_TITLE " " GAME_VERSION_N
extern int docop2(int op); #ifdef PSX
// TODO: Include PSX STUFF
#else
// PC STUFF
#define _CopReg0 gteRegs.CP0 #define _CopReg0 gteRegs.CP0
#define _CopReg2 gteRegs.CP2D #define _CopReg2 gteRegs.CP2D
@ -32,17 +38,11 @@ extern int docop2(int op);
#define copFunction(n, op) _CopFunc##n(op) #define copFunction(n, op) _CopFunc##n(op)
#ifdef PSX // Emulator
#else
#include <EMULATOR.H> #include <EMULATOR.H>
#include <EMULATOR_PRIVATE.H> #include <EMULATOR_PRIVATE.H>
#include "EMULATOR_PLATFORM_SETUP.H" #include "EMULATOR_PLATFORM_SETUP.H"
#define GAME_VERSION_N "0.2a"
#define GAME_TITLE "REDRIVER2"
#define GAME_VERSION GAME_TITLE " " GAME_VERSION_N
#define LoadImage LoadImagePSX // this is ALSO temporary shit #define LoadImage LoadImagePSX // this is ALSO temporary shit
#define LoadImage2 LoadImagePSX #define LoadImage2 LoadImagePSX
//#define ClearImage2 ClearImage //#define ClearImage2 ClearImage