summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-12-08 06:52:14 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-12-08 06:52:14 +1100
commitd28ad56810b43cb3ea5d11e5e32042f69ee04562 (patch)
tree0d0fd8976b253bf6aafed6e1449a1d4e69f658ab /src/main.c
parent5012497d6e59d787195d177d02faa55242bf7e40 (diff)
major refactor of cpu code
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index 59f4117..801dba7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,13 +21,13 @@ int main() {
fprintf(Log,
"%04x : %04x : %02x : %02x : %02x : %c%c_%c%c%c%c%c : %02x\n",
Time, PC, acc, X, Y,
- getFlag(flag_N) ? 'N':'.' ,
- getFlag(flag_V) ? 'V':'.' ,
- getFlag(flag_B) ? 'B':'.' ,
- getFlag(flag_D) ? 'D':'.' ,
- getFlag(flag_I) ? 'I':'.' ,
- getFlag(flag_Z) ? 'Z':'.' ,
- getFlag(flag_C) ? 'C':'.' ,
+ GetFlag(flag_N) ? 'N':'.' ,
+ GetFlag(flag_V) ? 'V':'.' ,
+ GetFlag(flag_B) ? 'B':'.' ,
+ GetFlag(flag_D) ? 'D':'.' ,
+ GetFlag(flag_I) ? 'I':'.' ,
+ GetFlag(flag_Z) ? 'Z':'.' ,
+ GetFlag(flag_C) ? 'C':'.' ,
S);
fflush(Log);
// Display information