mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-10 16:28:17 +03:00
Rename {initialize,release}_console to platform_{initialize,finalize}
So that other platform-specific setups (e.g. menus) can be done there.
This commit is contained in:
+2
-4
@@ -19,8 +19,7 @@ extern SDL_Window* g_window;
|
||||
NACT::NACT(int sys_ver, uint32 crc32_a, uint32 crc32_b, const char* font_file, const char* playlist)
|
||||
: sys_ver(sys_ver), crc32_a(crc32_a), crc32_b(crc32_b)
|
||||
{
|
||||
// デバッグコンソール起動
|
||||
initialize_console();
|
||||
platform_initialize();
|
||||
|
||||
// AG00.DAT読み込み
|
||||
FILEIO* fio = new FILEIO();
|
||||
@@ -114,8 +113,7 @@ NACT::~NACT()
|
||||
free(scenario_data);
|
||||
}
|
||||
|
||||
// デバッグコンソール開放
|
||||
release_console();
|
||||
platform_finalize();
|
||||
}
|
||||
|
||||
void NACT::mainloop()
|
||||
|
||||
Reference in New Issue
Block a user