style & cosmetic fixes

This commit is contained in:
Fire-Head 2020-03-29 16:35:50 +03:00
parent d53c151ffc
commit 7b95dcc219
2 changed files with 1 additions and 9 deletions

View File

@ -237,9 +237,6 @@ bool CGame::InitialiseOnceAfterRW(void)
return true;
}
#if 0
WRAPPER void CGame::FinalShutdown(void) { EAXJMP(0x48BEC0); }
#else
void
CGame::FinalShutdown(void)
{
@ -247,7 +244,6 @@ CGame::FinalShutdown(void)
CPedStats::Shutdown();
CdStreamShutdown();
}
#endif
bool CGame::Initialise(const char* datFile)
{
@ -604,9 +600,6 @@ void CGame::InitialiseWhenRestarting(void)
DMAudio.ChangeMusicMode(MUSICMODE_GAME);
}
#if 0
WRAPPER void CGame::Process(void) { EAXJMP(0x48C850); }
#else
extern void (*DebugMenuProcess)(void);
void CGame::Process(void)
{
@ -682,7 +675,6 @@ void CGame::Process(void)
}
}
}
#endif
void CGame::DrasticTidyUpMemory(bool)
{

View File

@ -36,7 +36,7 @@ CWeaponEffects::Init(void)
int32 slot = CTxdStore::FindTxdSlot("particle");
CTxdStore::SetCurrentTxd(slot);
gpCrossHairTex = RwTextureRead("crosshair", NULL);
gpCrossHairTex = RwTextureRead("crosshair", nil);
gpCrossHairRaster = RwTextureGetRaster(gpCrossHairTex);
CTxdStore::PopCurrentTxd();