Fix some silly BOOL confusion

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1492 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-12-10 23:05:57 +00:00
parent 0ad52a4fee
commit c26c92cffd
3 changed files with 2 additions and 9 deletions

View File

@ -161,7 +161,7 @@ EXPORT void CALL Video_UpdateXFB(u8* _pXFB, u32 _dwWidth, u32 _dwHeight, s32 _dw
// input: Filename // input: Filename
// output: TRUE if all was okay // output: TRUE if all was okay
// //
EXPORT BOOL CALL Video_Screenshot(TCHAR* _szFilename); EXPORT unsigned int CALL Video_Screenshot(TCHAR* _szFilename);
// __________________________________________________________________________________________________ // __________________________________________________________________________________________________
// Function: Video_EnterLoop // Function: Video_EnterLoop

View File

@ -89,11 +89,7 @@ void OpenGL_SetWindowText(const char *text)
#endif #endif
} }
#if defined(OSX64)
unsigned int Callback_PeekMessages() unsigned int Callback_PeekMessages()
#else
BOOL Callback_PeekMessages()
#endif
{ {
#ifdef _WIN32 #ifdef _WIN32
//TODO: peekmessage //TODO: peekmessage

View File

@ -336,11 +336,8 @@ bool ScreenShot(TCHAR *File)
} }
return false; return false;
} }
#if defined(OSX64)
unsigned int Video_Screenshot(TCHAR* _szFilename) unsigned int Video_Screenshot(TCHAR* _szFilename)
#else
BOOL Video_Screenshot(TCHAR* _szFilename)
#endif
{ {
if (ScreenShot(_szFilename)) if (ScreenShot(_szFilename))
return TRUE; return TRUE;