Parsing header of SPC file format and stop update (for now)

This commit is contained in:
Melefo
2021-03-09 10:39:54 +01:00
parent 58ad51d692
commit d4b3046bbe
3 changed files with 42 additions and 1 deletions
+3
View File
@@ -28,6 +28,9 @@ namespace ComSquare
void SNES::update()
{
if (this->cartridge->getType() == Cartridge::Audio)
return;
unsigned cycleCount = this->cpu->update();
this->ppu->update(cycleCount);
this->apu->update(cycleCount);