File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed
third_party/mos6502_patch Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ index 747786c..a5e5103 100644
417
417
}
418
418
419
419
diff --git a/mos6502.h b/mos6502.h
420
- index 8229cc7..0989b7f 100644
420
+ index 8229cc7..fe5abb0 100644
421
421
--- a/mos6502.h
422
422
+++ b/mos6502.h
423
423
@@ -5,9 +5,11 @@
@@ -441,7 +441,7 @@ index 8229cc7..0989b7f 100644
441
441
// register reset values
442
442
uint8_t reset_A = 0x00;
443
443
uint8_t reset_X = 0x00;
444
- @@ -172,22 +174,24 @@ private:
444
+ @@ -172,22 +174,18 @@ private:
445
445
static const uint16_t nmiVectorH = 0xFFFB;
446
446
static const uint16_t nmiVectorL = 0xFFFA;
447
447
@@ -450,18 +450,15 @@ index 8229cc7..0989b7f 100644
450
450
- typedef uint8_t (*BusRead)(uint16_t);
451
451
- BusRead Read;
452
452
- BusWrite Write;
453
- + // // read/write callbacks
454
- + // typedef void (*BusWrite)(uint16_t, uint8_t);
455
- + // typedef uint8_t (*BusRead)(uint16_t);
456
- + // BusRead Read;
457
- + // BusWrite Write;
458
-
453
+ -
459
454
// stack operations
460
- inline void StackPush(uint8_t byte);
461
- inline uint8_t StackPop();
462
-
463
- + i_memory_access *memory_access ;
455
+ - inline void StackPush(uint8_t byte);
456
+ - inline uint8_t StackPop();
457
+ + void StackPush(uint8_t byte);
458
+ + uint8_t StackPop() ;
464
459
+
460
+ + i_memory_access *memory_access;
461
+
465
462
public:
466
463
enum CycleMethod {
467
464
INST_COUNT,
You can’t perform that action at this time.
0 commit comments