mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-03 12:28:10 +03:00
Introduce Dri class
It caches the link table.
This commit is contained in:
@@ -744,13 +744,15 @@ void NACT_Sys3::cmd_m()
|
||||
if(1 <= tvar_index && tvar_index <= 10) {
|
||||
memcpy(tvar[tvar_index - 1], string, 22);
|
||||
} else if(tvar_index == 31) {
|
||||
strcpy_s(adisk, 16, string);
|
||||
adisk.open(string);
|
||||
} else if(tvar_index == 32) {
|
||||
strcpy_s(ags->acg, 16, string);
|
||||
ags->set_cg_file(string);
|
||||
} else if(tvar_index == 33) {
|
||||
strcpy_s(mako->amus, 16, string);
|
||||
mako->amus.open(string);
|
||||
strcpy(string + strlen(string) - 3, "MDA");
|
||||
mako->mda.open(string);
|
||||
} else if(tvar_index == 34) {
|
||||
strcpy_s(mako->amse, 16, string);
|
||||
// mako->amse.open(string);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1370,7 +1372,7 @@ void NACT_Sys3::cmd_y()
|
||||
break;
|
||||
case 250:
|
||||
#if 0
|
||||
if(FILEIO::GetRootPath()[1] == ':') {
|
||||
if(FILEIO::GetRootPath()[1] == ':') {
|
||||
_TCHAR root_path[4];
|
||||
root_path[0] = FILEIO::GetRootPath()[0];
|
||||
root_path[1] = ':';
|
||||
|
||||
Reference in New Issue
Block a user