From 97b7ebada602e30ca7d86535125b9b3289285efe Mon Sep 17 00:00:00 2001 From: Bobby Dilley Date: Tue, 19 Jul 2022 13:50:36 +0100 Subject: [PATCH] Add outrun --- src/lindbergh/config.c | 10 ++++++++++ src/lindbergh/config.h | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/lindbergh/config.c b/src/lindbergh/config.c index a1358d8..2c6ef0c 100644 --- a/src/lindbergh/config.c +++ b/src/lindbergh/config.c @@ -26,6 +26,14 @@ static int detectGame() return 0; } + if (strstr(program_invocation_name, "Jennifer") || strstr(program_invocation_name, "JenTest")) + { + config.game = OUTRUN; + config.emulateDriveboard = 1; + config.emulateMotionboard = 1; + return 0; + } + config.game = UNKNOWN; return 1; } @@ -36,6 +44,8 @@ char *getGameName() { case SEGABOOT: return "SEGABOOT"; + case OUTRUN: + return "Outrun 2 SP"; case THE_HOUSE_OF_THE_DEAD_4: return "The House of the Dead 4"; default: diff --git a/src/lindbergh/config.h b/src/lindbergh/config.h index e7d3b6f..113acc7 100644 --- a/src/lindbergh/config.h +++ b/src/lindbergh/config.h @@ -5,7 +5,8 @@ typedef enum { UNKNOWN, SEGABOOT, - THE_HOUSE_OF_THE_DEAD_4 + THE_HOUSE_OF_THE_DEAD_4, + OUTRUN } Game; typedef struct