diff --git a/core/hw/naomi/naomi_cart.cpp b/core/hw/naomi/naomi_cart.cpp index 99add2927..127c91b98 100644 --- a/core/hw/naomi/naomi_cart.cpp +++ b/core/hw/naomi/naomi_cart.cpp @@ -216,7 +216,7 @@ static void naomi_cart_LoadZip(const char *filename) { // If a specific BIOS is needed for this game, fail. if (game->bios != NULL || !bios_loaded) - throw NaomiCartException(std::string("Error: cannot load BIOS ") + (game->bios != NULL ? game->bios : "naomi.zip")); + throw NaomiCartException(std::string("Error: cannot load BIOS ") + (game->bios != NULL ? game->bios : "naomi.zip") + " in " + get_readonly_data_path(DATA_PATH)); // otherwise use the default BIOS } diff --git a/core/nullDC.cpp b/core/nullDC.cpp index 1ed27c403..ccf093489 100755 --- a/core/nullDC.cpp +++ b/core/nullDC.cpp @@ -458,7 +458,9 @@ void dc_start_game(const char *path) InitSettings(); dc_reset(true); LoadSettings(false); - if (!LoadRomFiles(get_readonly_data_path(DATA_PATH))) + + std::string data_path = get_readonly_data_path(DATA_PATH); + if (!LoadRomFiles(data_path)) { if (settings.platform.system == DC_PLATFORM_DREAMCAST) { @@ -473,7 +475,7 @@ void dc_start_game(const char *path) else #endif { - throw ReicastException("Cannot find BIOS files"); + throw ReicastException("Cannot find BIOS files in " + data_path); } } }