Check core's home dir on every access for plug and play functionality.

This commit is contained in:
sorgelig
2020-05-15 05:30:17 +08:00
parent a0b9310e8f
commit a5ff9a953b
7 changed files with 73 additions and 76 deletions

View File

@@ -226,7 +226,7 @@ void pcecd_set_image(int num, const char *filename)
if (!loaded)
{
sprintf(buf, "%sCD/cd_bios.rom", user_io_get_core_path());
sprintf(buf, "%s/cd_bios.rom", HomeDir(PCECD_DIR));
loaded = load_bios(buf, filename);
}