summaryrefslogtreecommitdiff
path: root/src/cpu/6502.c
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 16:29:57 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 16:29:57 +1100
commit87966c53af716d34332e2ea6583ab9739bde935a (patch)
tree3f25b349e72a1865ecc8d2eee91032bfcead1e6d /src/cpu/6502.c
parent9dc65f84b480d5869265428c1957c50bdee3a1f5 (diff)
various changes?
Diffstat (limited to 'src/cpu/6502.c')
-rw-r--r--src/cpu/6502.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/6502.c b/src/cpu/6502.c
index a1d3a38..17796cf 100644
--- a/src/cpu/6502.c
+++ b/src/cpu/6502.c
@@ -6,7 +6,6 @@
byte acc, X, Y, P, S = 0x00;
address PC = 0x0000;
byte* Memory;
-byte* ROM;
byte getFlag(byte flag) {
return ((P & flag) == flag) ? 1 : 0;
@@ -90,4 +89,4 @@ byte GetStack() {
void SetStack(byte z) {
SetMemory(0x01FF - S, z);
-} \ No newline at end of file
+}