mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Emulated Wiimote: Forgot a few ifdefs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2244 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
34dbb40ef5
commit
72112584de
1 changed files with 13 additions and 6 deletions
|
@ -392,11 +392,17 @@ extern "C" unsigned int Wiimote_GetAttachedControllers()
|
||||||
void OpenConsole(bool Open)
|
void OpenConsole(bool Open)
|
||||||
{
|
{
|
||||||
// Close the console window
|
// Close the console window
|
||||||
if (Console::GetHwnd() != NULL && !Open)
|
#ifdef _WIN32
|
||||||
|
if (Console::GetHwnd() != NULL && !Open)
|
||||||
|
#else
|
||||||
|
if (false)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
Console::Close();
|
Console::Close();
|
||||||
// Wait here until we have let go of the button again
|
// Wait here until we have let go of the button again
|
||||||
while(GetAsyncKeyState(VK_INSERT)) {Sleep(10);}
|
#ifdef _WIN32
|
||||||
|
while(GetAsyncKeyState(VK_INSERT)) {Sleep(10);}
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -405,10 +411,11 @@ void OpenConsole(bool Open)
|
||||||
Console::Print("\n\nWiimote console opened\n");
|
Console::Print("\n\nWiimote console opened\n");
|
||||||
|
|
||||||
// Move window
|
// Move window
|
||||||
//MoveWindow(Console::GetHwnd(), 0,400, 100*8,10*14, true); // small window
|
#ifdef _WIN32
|
||||||
//MoveWindow(Console::GetHwnd(), 400,0, 100*8,70*14, true); // big window
|
//MoveWindow(Console::GetHwnd(), 0,400, 100*8,10*14, true); // small window
|
||||||
MoveWindow(Console::GetHwnd(), 200,0, 130*8,70*14, true); // big wide window
|
//MoveWindow(Console::GetHwnd(), 400,0, 100*8,70*14, true); // big window
|
||||||
|
MoveWindow(Console::GetHwnd(), 200,0, 130*8,70*14, true); // big wide window
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
// ---------------
|
// ---------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue