mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-08 14:58:13 +03:00
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:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user