Commits

spencercw committed 92cee65

Disable reading of the NR*4 registers.

  • Participants
  • Parent commits 3d145a1

Comments (0)

Files changed (1)

File gb_emulator/src/gb_memory.cpp

 	case NR24:
 	case NR34:
 	case NR44:
-		// Mask out the initialise bit which is not readable
-		return ioPorts[ptr] & 0x7f;
+		// The NR*4 registers are not readable
+		return 0;
 
 	// GBC background palette data
 	case BGPD: