mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-22 01:08:43 +00:00
warning fixes
(may break sound on wii, look in the changelog of Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AXWii.cpp if you wish to know why) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1306 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d2b726da59
commit
8777917177
24 changed files with 95 additions and 94 deletions
|
@ -124,7 +124,7 @@ int aprintf(int a, char *fmt, ...)
|
|||
|
||||
// ---------------------------------------------------------------------------------------
|
||||
// Printf to screen function
|
||||
int wprintf(char *fmt, ...)
|
||||
int wprintf(const char *fmt, ...)
|
||||
{
|
||||
#if defined(DEBUG_WIIMOTE) && defined(_WIN32)
|
||||
char s[500]; // WARNING: mind this value
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
|
||||
|
||||
void startConsoleWin(int width, int height, char* fname);
|
||||
int wprintf(char *fmt, ...);
|
||||
int aprintf(int a, char *fmt, ...);
|
||||
int wprintf(const char *fmt, ...);
|
||||
int aprintf(int a, const char *fmt, ...);
|
||||
void ClearScreen();
|
||||
|
||||
#ifdef _WIN32
|
||||
HWND GetConsoleHwnd(void);
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -240,7 +240,7 @@ void WmReadData(u16 _channelID, wm_read_data* rd)
|
|||
address, address & 0xffff, (u8)size);
|
||||
|
||||
// Debugging
|
||||
u32 offset = address & 0xffff;
|
||||
// u32 offset = address & 0xffff;
|
||||
//std::string Temp = WiiMoteEmu::ArrayToString(g_RegExt, size, offset);
|
||||
//wprintf("Unencrypted data:\n%s\n", Temp.c_str());
|
||||
|
||||
|
|
|
@ -251,7 +251,7 @@ void FillReportAcc(wm_accel& _acc)
|
|||
yhistsize+=1;
|
||||
|
||||
|
||||
/*if(GetAsyncKeyState(VK_INSERT))
|
||||
if(GetAsyncKeyState(VK_INSERT))
|
||||
AX-=1;
|
||||
else if(GetAsyncKeyState(VK_DELETE))
|
||||
AX+=1;
|
||||
|
@ -262,9 +262,8 @@ void FillReportAcc(wm_accel& _acc)
|
|||
else if(GetAsyncKeyState(VK_SHIFT))
|
||||
AZ-=1;
|
||||
else if(GetAsyncKeyState(VK_CONTROL))
|
||||
AZ+=1;*/
|
||||
AZ+=1;
|
||||
|
||||
/*
|
||||
if(GetAsyncKeyState(VK_NUMPAD1))
|
||||
X+=1;
|
||||
else if(GetAsyncKeyState(VK_NUMPAD2))
|
||||
|
|
|
@ -66,10 +66,10 @@ namespace WiiMoteReal
|
|||
|
||||
CWiiMote(u8 _WiimoteNumber, wiimote_t* _pWiimote)
|
||||
: m_WiimoteNumber(_WiimoteNumber)
|
||||
, m_pWiiMote(_pWiimote)
|
||||
, m_LastReportValid(false)
|
||||
, m_channelID(0)
|
||||
, m_pWiiMote(_pWiimote)
|
||||
, m_pCriticalSection(NULL)
|
||||
, m_LastReportValid(false)
|
||||
{
|
||||
m_pCriticalSection = new Common::CriticalSection();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue