- [FIX] Les interrupcions no se deshabilitaven

- [NEW] Botons implementats
This commit is contained in:
2025-01-20 13:37:28 +01:00
parent 036ab23173
commit 3e0de299b4
2 changed files with 26 additions and 0 deletions

View File

@@ -474,6 +474,7 @@ namespace sm83
void processInterrupts()
{
const uint8_t IF = mem::readMem(0xff0f);
if (ime==0) return;
if ( (IF & 0x1f) == 0) return;
DI();
PUSH(rPC);