mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
made BOOL into s8
I tried hard not to break windows code but please check git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1513 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -69,8 +69,8 @@
|
||||
namespace Core
|
||||
{
|
||||
// forwarding
|
||||
//void Callback_VideoRequestWindowSize(int _iWidth, int _iHeight, BOOL _bFullscreen);
|
||||
void Callback_VideoLog(const TCHAR* _szMessage, BOOL _bDoBreak);
|
||||
//void Callback_VideoRequestWindowSize(int _iWidth, int _iHeight, s8 _bFullscreen);
|
||||
void Callback_VideoLog(const TCHAR* _szMessage, s8 _bDoBreak);
|
||||
void Callback_VideoCopiedToXFB();
|
||||
void Callback_DSPLog(const TCHAR* _szMessage, int _v);
|
||||
char * Callback_ISOName(void);
|
||||
@ -80,7 +80,7 @@ void Callback_WiimoteLog(const TCHAR* _szMessage, int _v);
|
||||
void Callback_WiimoteInput(u16 _channelID, const void* _pData, u32 _Size);
|
||||
|
||||
// For keyboard shortcuts.
|
||||
void Callback_KeyPress(int key, BOOL shift, BOOL control);
|
||||
void Callback_KeyPress(int key, s8 shift, s8 control);
|
||||
|
||||
TPeekMessages Callback_PeekMessages = NULL;
|
||||
TUpdateFPSDisplay g_pUpdateFPSDisplay = NULL;
|
||||
@ -474,7 +474,7 @@ void* GetWindowHandle()
|
||||
// __________________________________________________________________________________________________
|
||||
// Callback_VideoLog
|
||||
// WARNING - THIS IS EXECUTED FROM VIDEO THREAD
|
||||
void Callback_VideoLog(const TCHAR *_szMessage, BOOL _bDoBreak)
|
||||
void Callback_VideoLog(const TCHAR *_szMessage, s8 _bDoBreak)
|
||||
{
|
||||
LOG(VIDEO, _szMessage);
|
||||
}
|
||||
@ -565,7 +565,7 @@ char * Callback_ISOName(void)
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Called from ANY thread!
|
||||
void Callback_KeyPress(int key, BOOL shift, BOOL control)
|
||||
void Callback_KeyPress(int key, s8 shift, s8 control)
|
||||
{
|
||||
// 0x70 == VK_F1
|
||||
if (key >= 0x70 && key < 0x79) {
|
||||
|
@ -32,8 +32,8 @@ typedef void (__cdecl* TDllConfig)(HWND);
|
||||
typedef void (__cdecl* TDllDebugger)(HWND, bool);
|
||||
typedef void (__cdecl* TDSP_Initialize)(DSPInitialize);
|
||||
typedef void (__cdecl* TDSP_Shutdown)();
|
||||
typedef void (__cdecl* TDSP_WriteMailBox)(BOOL _CPUMailbox, unsigned short);
|
||||
typedef unsigned short (__cdecl* TDSP_ReadMailBox)(BOOL _CPUMailbox);
|
||||
typedef void (__cdecl* TDSP_WriteMailBox)(s8 _CPUMailbox, unsigned short);
|
||||
typedef unsigned short (__cdecl* TDSP_ReadMailBox)(s8 _CPUMailbox);
|
||||
typedef unsigned short (__cdecl* TDSP_ReadControlRegister)();
|
||||
typedef unsigned short (__cdecl* TDSP_WriteControlRegister)(unsigned short);
|
||||
typedef void (__cdecl* TDSP_Update)(int cycles);
|
||||
|
@ -28,9 +28,9 @@ typedef void (__cdecl* TDllConfig) (HWND);
|
||||
typedef void (__cdecl* TDVD_Initialize) (SDVDInitialize);
|
||||
typedef void (__cdecl* TDVD_Shutdown) ();
|
||||
typedef void (__cdecl* TDVD_SetISOFile) (const char*);
|
||||
typedef BOOL (__cdecl* TDVD_GetISOName) (TCHAR*, int);
|
||||
typedef BOOL (__cdecl* TDVD_ReadToPtr) (LPBYTE, u64, u64);
|
||||
typedef BOOL (__cdecl* TDVD_IsValid) ();
|
||||
typedef s8 (__cdecl* TDVD_GetISOName) (TCHAR*, int);
|
||||
typedef s8 (__cdecl* TDVD_ReadToPtr) (LPBYTE, u64, u64);
|
||||
typedef s8 (__cdecl* TDVD_IsValid) ();
|
||||
typedef u32 (__cdecl* TDVD_Read32) (u64);
|
||||
|
||||
//! Function Pointer
|
||||
@ -155,9 +155,9 @@ void DVD_SetISOFile(const char* _szFilename)
|
||||
g_DVD_SetISOFile(_szFilename);
|
||||
}
|
||||
|
||||
BOOL DVD_GetISOName(TCHAR * _szFilename, int maxlen)
|
||||
s8 DVD_GetISOName(TCHAR * _szFilename, int maxlen)
|
||||
{
|
||||
return g_DVD_GetISOName(_szFilename, maxlen);
|
||||
}
|
||||
|
||||
} // end of namespace PluginDVD
|
||||
} // end of namespace PluginDVD
|
||||
|
@ -52,7 +52,7 @@ void DVD_Shutdown();
|
||||
void DVD_SetISOFile(const char* _szFilename);
|
||||
|
||||
//! GetISOName
|
||||
BOOL DVD_GetISOName(TCHAR * _szFilename, int maxlen);
|
||||
s8 DVD_GetISOName(TCHAR * _szFilename, int maxlen);
|
||||
|
||||
//! DVDReadToPtr
|
||||
bool DVD_ReadToPtr(LPBYTE ptr, u64 _dwOffset, u64 _dwLength);
|
||||
@ -64,7 +64,7 @@ bool DVD_IsValid();
|
||||
u32 DVD_Read32(u64 _dwOffset);
|
||||
|
||||
//! SaveLoadState
|
||||
u32 SaveLoadState(char *ptr, BOOL save);
|
||||
u32 SaveLoadState(char *ptr, s8 save);
|
||||
|
||||
} // end of namespace PluginDVD
|
||||
|
||||
|
@ -39,7 +39,7 @@ typedef void (__cdecl* TVideo_Prepare)();
|
||||
typedef void (__cdecl* TVideo_Shutdown)();
|
||||
typedef void (__cdecl* TVideo_SendFifoData)(u8*,u32);
|
||||
typedef void (__cdecl* TVideo_UpdateXFB)(u8*, u32, u32, s32);
|
||||
typedef BOOL (__cdecl* TVideo_Screenshot)(TCHAR*);
|
||||
typedef s8 (__cdecl* TVideo_Screenshot)(TCHAR*);
|
||||
typedef void (__cdecl* TVideo_EnterLoop)();
|
||||
typedef void (__cdecl* TVideo_AddMessage)(const char* pstr, unsigned int milliseconds);
|
||||
typedef void (__cdecl* TVideo_DoState)(unsigned char **ptr, int mode);
|
||||
|
Reference in New Issue
Block a user