Reduced pc to 16 bits since overflow detection isn't even implemented

This commit is contained in:
Sergio Martin 2024-01-13 19:08:42 +01:00
parent f58b48ec6a
commit 1a6cf0b487
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public:
// NES 6502 registers. *Not* kept updated during a call to run().
struct registers_t {
long pc; // more than 16 bits to allow overflow detection
uint16_t pc; // Should be more than 16 bits to allow overflow detection -- but I (eien86) removed it to maximize performance.
uint8_t a;
uint8_t x;
uint8_t y;