- [CHG] Separat mòdul "gbscreen" en mòduls "ppu" i "display"

- [CHG] Constants de interrupcions tretes a la seua propia capçalera
- [CHG] Renombrat mòdul APU a apu
This commit is contained in:
2026-06-03 12:10:42 +02:00
parent 816b12e3b8
commit 88a02d49f7
11 changed files with 290 additions and 269 deletions
+1 -6
View File
@@ -1,15 +1,10 @@
#pragma once
#include <stdint.h>
#include "interrupts.h"
namespace sm83
{
#define INTERRUPT_VBLANK 0x01
#define INTERRUPT_LCD 0x02
#define INTERRUPT_TIMER 0x04
#define INTERRUPT_SERIAL 0x08
#define INTERRUPT_JOYPAD 0x10
#define SM83_OPTION_STOP_ON_INVALID 0
#define SM83_OPTION_BREAK_ON_INTERRUPT 1
#define SM83_OPTION_BREAK_ON_RET 2