commit b0c14a9234f1ff991af557af9ad5b4297b7370d0
Author: gameblabla <gameblabla@protonmail.com>
AuthorDate: Wed Sep 15 07:07:43 2021 +0200
Commit: Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Fri Mar 18 20:21:18 2022 -0600
Add GKD define
---
platform/gcw0/Makefile | 2 +-
platform/gcw0/source/ODHost.cpp | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/platform/gcw0/Makefile b/platform/gcw0/Makefile
index 1b25257..dae128a 100644
--- a/platform/gcw0/Makefile
+++ b/platform/gcw0/Makefile
@@ -18,7 +18,7 @@ INCLUDES := ${INCLUDES}
ifeq ($(GKD), 1)
CC = /opt/gcw0-toolchain-static/bin/mipsel-linux-g++
CXX = /opt/gcw0-toolchain-static/bin/mipsel-linux-g++
-CFLAGS := -Wall -Ofast -fdata-sections -ffunction-sections -fno-PIC -mno-shared -mno-abicalls -fno-PIC -flto -DVER_STR=\"$(APP_VERSION)\" $(DEFINES)
+CFLAGS := -Wall -Ofast -fdata-sections -ffunction-sections -fno-PIC -mno-shared -mno-abicalls -fno-PIC -flto -DVER_STR=\"$(APP_VERSION)\" $(DEFINES) -DGKD
else
CC = /opt/gcw0-toolchain/bin/mipsel-linux-g++
diff --git a/platform/gcw0/source/ODHost.cpp b/platform/gcw0/source/ODHost.cpp
index 8dc21c1..7cd550f 100644
--- a/platform/gcw0/source/ODHost.cpp
+++ b/platform/gcw0/source/ODHost.cpp
@@ -191,6 +191,9 @@ InputState_t Host::scanInput(){
switch (event.key.keysym.sym)
{
case SDLK_HOME:
+ #ifdef GKD
+ case SDLK_TAB:
+ #endif
done = SDL_TRUE;
break;
default: break;