diff --git a/core/linux-dist/main.cpp b/core/linux-dist/main.cpp index 1549f2966..48d5201cd 100755 --- a/core/linux-dist/main.cpp +++ b/core/linux-dist/main.cpp @@ -198,6 +198,8 @@ bool HandleKb(u32 port) { if (kbfd < 0) return false; + input_event ie; + #if defined(TARGET_GCW0) #define KEY_A 0x1D diff --git a/core/linux/common.cpp b/core/linux/common.cpp index d28c1ed88..422689aa4 100644 --- a/core/linux/common.cpp +++ b/core/linux/common.cpp @@ -1,4 +1,4 @@ - #include "types.h" +#include "types.h" #include "cfg/cfg.h" #if HOST_OS==OS_LINUX || HOST_OS == OS_DARWIN @@ -234,7 +234,7 @@ double os_GetSeconds() return a.tv_sec-tvs_base+a.tv_usec/1000000.0; } -#if !defined(_ANDROID) +#if HOST_OS != OS_LINUX void os_DebugBreak() { __builtin_trap();