Wiimote: Compile fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2210 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-02-10 18:46:39 +00:00
parent 88d41e3ff4
commit c1214d2026
1 changed files with 2 additions and 0 deletions

View File

@ -336,6 +336,7 @@ std::vector<u8> yhist(15, 0); float KbDegree;
// --------------- // ---------------
void SingleShake(u8 &_z, u8 &_y) void SingleShake(u8 &_z, u8 &_y)
{ {
#ifdef _WIN32
if(GetAsyncKeyState('S')) if(GetAsyncKeyState('S'))
{ {
_z = 0; _z = 0;
@ -358,6 +359,7 @@ void SingleShake(u8 &_z, u8 &_y)
{ {
z = Z; z = Z;
} }
#endif
} }
// ------------------------------------------ // ------------------------------------------