diff options
Diffstat (limited to 'src/apple.c')
-rw-r--r-- | src/apple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apple.c b/src/apple.c index 8d3f359..6ff8a61 100644 --- a/src/apple.c +++ b/src/apple.c @@ -45,7 +45,7 @@ void AppleOn() { void AppleReset(){ acc = 0; X = 0; Y = 0; P = 0; S = 0; - idata.cycles = 0; idata.length = 0; idata.address = 0; idata.value = 0; + state.cycles = 0; state.length = 0; state.address = 0; state.value = 0; PC = 0xFF00; free(Memory); Memory = calloc(MEMORY_SIZE, sizeof(byte)); |