mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 12:35:27 +00:00
Mac build fix to the issue caused by my last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5050 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9272d3c628
commit
47609c4524
@ -606,7 +606,7 @@ bool IsKey(int Key)
|
|||||||
if (MapKey < 256)
|
if (MapKey < 256)
|
||||||
{
|
{
|
||||||
Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows)
|
Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows)
|
||||||
#else
|
#elif defined HAVE_X11 && HAVE_X11
|
||||||
if (MapKey < 256 || MapKey > 0xf000)
|
if (MapKey < 256 || MapKey > 0xf000)
|
||||||
{
|
{
|
||||||
char keys[32];
|
char keys[32];
|
||||||
|
@ -307,7 +307,7 @@ bool IsKey(int Key)
|
|||||||
if (MapKey < 256)
|
if (MapKey < 256)
|
||||||
{
|
{
|
||||||
Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows)
|
Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows)
|
||||||
#else
|
#elif defined(HAVE_X11) && HAVE_X11
|
||||||
if (MapKey < 256 || MapKey >= 0xf000)
|
if (MapKey < 256 || MapKey >= 0xf000)
|
||||||
{
|
{
|
||||||
char keys[32];
|
char keys[32];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user