GB I/O: Fix erroneously added registers

This commit is contained in:
Vicki Pfau 2022-01-04 03:49:43 -08:00
parent 0313fedf10
commit 398ee0c827
2 changed files with 0 additions and 3 deletions

View File

@ -100,7 +100,6 @@ enum GBIORegisters {
GB_REG_OCPD = 0x6B, GB_REG_OCPD = 0x6B,
GB_REG_OPRI = 0x6C, GB_REG_OPRI = 0x6C,
GB_REG_SVBK = 0x70, GB_REG_SVBK = 0x70,
GB_REG_PSM = 0x71,
GB_REG_PSWX = 0x72, GB_REG_PSWX = 0x72,
GB_REG_PSWY = 0x73, GB_REG_PSWY = 0x73,
GB_REG_PSW = 0x74, GB_REG_PSW = 0x74,

View File

@ -687,10 +687,8 @@ uint8_t GBIORead(struct GB* gb, unsigned address) {
case GB_REG_OCPS: case GB_REG_OCPS:
case GB_REG_OCPD: case GB_REG_OCPD:
case GB_REG_SVBK: case GB_REG_SVBK:
case GB_REG_PSM:
case GB_REG_PSWX: case GB_REG_PSWX:
case GB_REG_PSWY: case GB_REG_PSWY:
case GB_REG_PSW:
case GB_REG_UNK75: case GB_REG_UNK75:
// Handled transparently by the registers // Handled transparently by the registers
if (gb->model < GB_MODEL_CGB) { if (gb->model < GB_MODEL_CGB) {