mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
break my BOOLs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2002 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -151,10 +151,10 @@ u16 m_tokenReg;
|
||||
|
||||
SCPFifoStruct fifo; //This one is shared between gfx thread and emulator thread
|
||||
static u32 fake_GPWatchdogLastToken = 0;
|
||||
static BOOL fake_CommandProcessorNotUsed = TRUE; // This is used by VI when homebrews use directly XFB without FIFO and CP
|
||||
static bool fake_CommandProcessorNotUsed = true; // This is used by VI when homebrews use directly XFB without FIFO and CP
|
||||
|
||||
// hack: This is used by VI when homebrews use directly XFB without FIFO and CP
|
||||
BOOL IsCommandProcessorNotUsed()
|
||||
bool IsCommandProcessorNotUsed()
|
||||
{
|
||||
return fake_CommandProcessorNotUsed;
|
||||
}
|
||||
@ -228,7 +228,7 @@ void Init()
|
||||
fifo.CPReadIdle = 1;
|
||||
|
||||
et_UpdateInterrupts = CoreTiming::RegisterEvent("UpdateInterrupts", UpdateInterrupts_Wrapper);
|
||||
fake_CommandProcessorNotUsed = TRUE;
|
||||
fake_CommandProcessorNotUsed = true;
|
||||
}
|
||||
|
||||
void Shutdown()
|
||||
@ -418,7 +418,7 @@ void Write16(const u16 _Value, const u32 _Address)
|
||||
|
||||
case CTRL_REGISTER:
|
||||
{
|
||||
fake_CommandProcessorNotUsed = FALSE;
|
||||
fake_CommandProcessorNotUsed = false;
|
||||
UCPCtrlReg tmpCtrl(_Value);
|
||||
|
||||
Common::SyncInterlockedExchange((LONG*)&fifo.bFF_GPReadEnable, tmpCtrl.GPReadEnable);
|
||||
|
@ -80,7 +80,7 @@ void IncrementGPWDToken();
|
||||
void WaitForFrameFinish();
|
||||
|
||||
// hack: This is used by VI when homebrews use directly XFB without FIFO and CP
|
||||
BOOL IsCommandProcessorNotUsed();
|
||||
bool IsCommandProcessorNotUsed();
|
||||
|
||||
} // end of namespace CommandProcessor
|
||||
|
||||
|
Reference in New Issue
Block a user