mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-08 20:14:53 +00:00
Fixing the rom reset and adding an open rom button
This commit is contained in:
@@ -47,6 +47,8 @@ namespace ComSquare
|
||||
{
|
||||
this->cartridge.loadRom(path);
|
||||
this->bus.mapComponents(*this);
|
||||
this->cpu.RESB();
|
||||
this->apu.reset();
|
||||
if (this->cartridge.getType() == Cartridge::Audio)
|
||||
this->apu.loadFromSPC(this->cartridge);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user