just some touches to the gui

This commit is contained in:
SimoneN64
2024-06-21 21:39:49 +02:00
parent db19f8c86e
commit cd7d967b0a
3 changed files with 8 additions and 1 deletions

View File

@@ -31,6 +31,9 @@ void Core::LoadROM(const std::string& rom_) {
cpu->GetMem().LoadROM(isArchive, rom);
GameDB::match(cpu->GetMem());
if(cpu->GetMem().rom.gameNameDB.empty()) {
cpu->GetMem().rom.gameNameDB = fs::path(rom).stem();
}
cpu->GetMem().mmio.vi.isPal = cpu->GetMem().IsROMPAL();
cpu->GetMem().mmio.si.pif.InitDevices(cpu->GetMem().saveType);
cpu->GetMem().mmio.si.pif.mempakPath = rom;