[Kernel] Make File::GetSize panic

This commit is contained in:
wheremyfoodat 2023-01-14 02:40:24 +02:00
parent deaf7d518c
commit c16bf5c8aa
3 changed files with 22 additions and 1 deletions

View file

@ -9,7 +9,7 @@ int main (int argc, char *argv[]) {
emu.initGraphicsContext();
auto romPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "OoT.3ds");
auto romPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "Pokemon Mystery Dungeon - Gates to Infinity (USA).3ds");
if (!emu.loadROM(romPath)) {
// For some reason just .c_str() doesn't show the proper path
Helpers::panic("Failed to load ROM file: %s", romPath.string().c_str());