Introduce Dri class

It caches the link table.
This commit is contained in:
kichikuou
2024-12-08 13:39:23 +09:00
parent f26ce11fd9
commit 48d780add6
14 changed files with 121 additions and 110 deletions
+7 -5
View File
@@ -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] = ':';