diff --git a/docs/supported.md b/docs/supported.md index dce87a1..9ea9245 100644 --- a/docs/supported.md +++ b/docs/supported.md @@ -18,7 +18,7 @@ Working is defined by getting into attract mode and running the game, but not ne - The House Of The Dead 4 - The House Of The Dead 4 Special - The House Of The Dead Ex -- Virtua Fighter 5 (boots to dongle error) +- Virtua Fighter 5 ## Games that do not work or haven't been tested diff --git a/src/lindbergh/config.c b/src/lindbergh/config.c index e87380d..ad7c9e9 100644 --- a/src/lindbergh/config.c +++ b/src/lindbergh/config.c @@ -82,11 +82,17 @@ static int detectGame() return 0; } - if (strstr(program_invocation_name, "dsr")) + if (strstr(program_invocation_name, "dsr")) { config.game = RTUNED; return 0; } + + if (strstr(program_invocation_name, "vf5")) + { + config.game = VF5; + return 0; + } config.game = UNKNOWN; return 1; @@ -114,6 +120,8 @@ char *getGameName() return "SEGA Race TV"; case RTUNED: return "R-Tuned Ultimate Street Racing"; + case VF5: + return "Virtua Fighter 5"; default: return "Unknown Game"; } diff --git a/src/lindbergh/config.h b/src/lindbergh/config.h index 8befbf4..6aa1784 100644 --- a/src/lindbergh/config.h +++ b/src/lindbergh/config.h @@ -14,7 +14,8 @@ typedef enum LETS_GO_JUNGLE, ABC, SRTV, - RTUNED + RTUNED, + VF5 } Game; typedef enum diff --git a/src/lindbergh/hook.c b/src/lindbergh/hook.c index d4b3eeb..4680549 100644 --- a/src/lindbergh/hook.c +++ b/src/lindbergh/hook.c @@ -150,7 +150,7 @@ void __attribute__((constructor)) hook_init() securityBoardSetDipResolution(getConfig()->width, getConfig()->height); - printf("Loader init success\n"); + printf("Now emulating %s\n", getGameName()); } int open(const char *pathname, int flags)