diff options
| author | memberTwo.mb2 <memberTwo.mb2@gmail.com> | 2009-01-24 22:02:27 +0000 |
|---|---|---|
| committer | memberTwo.mb2 <memberTwo.mb2@gmail.com> | 2009-01-24 22:02:27 +0000 |
| commit | 2a13bedfc8144dd35d7e905565fadb24f24a33f4 (patch) | |
| tree | 4383705d0bbad21bae49c52a5efbca9d58778068 /Source/Core | |
| parent | 1e7655b5dba9371bbb7afaf04b803c0d3cdde9d6 (diff) | |
break my BOOLs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2002 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/Src/PluginVideo.h | 2 | ||||
| -rw-r--r-- | Source/Core/Core/Src/HW/CommandProcessor.cpp | 8 | ||||
| -rw-r--r-- | Source/Core/Core/Src/HW/CommandProcessor.h | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/Fifo.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoCommon.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/Source/Core/Common/Src/PluginVideo.h b/Source/Core/Common/Src/PluginVideo.h index 70ae8f39ec..127e24361d 100644 --- a/Source/Core/Common/Src/PluginVideo.h +++ b/Source/Core/Common/Src/PluginVideo.h @@ -7,7 +7,7 @@ namespace Common { typedef void (__cdecl* TVideo_Prepare)(); typedef void (__cdecl* TVideo_SendFifoData)(u8*,u32); - typedef void (__cdecl* TVideo_UpdateXFB)(u8*, u32, u32, s32, BOOL); + typedef void (__cdecl* TVideo_UpdateXFB)(u8*, u32, u32, s32, bool); typedef bool (__cdecl* TVideo_Screenshot)(const char* filename); typedef void (__cdecl* TVideo_EnterLoop)(); typedef void (__cdecl* TVideo_AddMessage)(const char* pstr, unsigned int milliseconds); diff --git a/Source/Core/Core/Src/HW/CommandProcessor.cpp b/Source/Core/Core/Src/HW/CommandProcessor.cpp index 3f14cfe4f6..6de8811f11 100644 --- a/Source/Core/Core/Src/HW/CommandProcessor.cpp +++ b/Source/Core/Core/Src/HW/CommandProcessor.cpp @@ -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); diff --git a/Source/Core/Core/Src/HW/CommandProcessor.h b/Source/Core/Core/Src/HW/CommandProcessor.h index 58fff402b3..68a9aacb35 100644 --- a/Source/Core/Core/Src/HW/CommandProcessor.h +++ b/Source/Core/Core/Src/HW/CommandProcessor.h @@ -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 diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp index ea53bed0c2..6548f75744 100644 --- a/Source/Core/VideoCommon/Src/Fifo.cpp +++ b/Source/Core/VideoCommon/Src/Fifo.cpp @@ -26,7 +26,7 @@ extern u8* g_pVideoData; // TODO (mb2): move/rm this global -volatile BOOL g_XFBUpdateRequested = FALSE; +volatile u32 g_XFBUpdateRequested = FALSE; #ifndef _WIN32 static bool fifoStateRun = true; diff --git a/Source/Core/VideoCommon/Src/VideoCommon.h b/Source/Core/VideoCommon/Src/VideoCommon.h index 10e1c50cfd..a035072cf6 100644 --- a/Source/Core/VideoCommon/Src/VideoCommon.h +++ b/Source/Core/VideoCommon/Src/VideoCommon.h @@ -44,7 +44,7 @@ enum { extern SVideoInitialize g_VideoInitialize;
// (mb2) for XFB update hack. TODO: find a static better place
-extern volatile BOOL g_XFBUpdateRequested;
+extern volatile u32 g_XFBUpdateRequested;
void DebugLog(const char* _fmt, ...);
|
