Add -game option

This overrides the title detection by CRC. For example,

  system3 -game rance41

forces system3 to work in Rance 4.1 mode. See nact_crc32.cpp for
possible flag values. This is useful when running patched games.
This commit is contained in:
kichikuou
2020-02-10 12:14:18 +09:00
parent faeb487b02
commit 8615df6e12
4 changed files with 75 additions and 120 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ extern SDL_Window* g_window;
// 初期化
NACT::NACT(const char* fontfile)
NACT::NACT(const char* game_id, const char* font_file)
{
mouse_x = mouse_y = 0;
@@ -25,7 +25,7 @@ NACT::NACT(const char* fontfile)
// SYSTEM3 初期化
crc32 = calc_crc32();
crc32 = calc_crc32(game_id);
fatal_error = post_quit = false;
// AG00.DAT読み込み
@@ -113,7 +113,7 @@ NACT::NACT(const char* fontfile)
#endif
// 各種クラス生成
ags = new AGS(this, fontfile);
ags = new AGS(this, font_file);
mako = new MAKO(this);
#ifdef USE_JOY