diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-12-08 06:52:14 +1100 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-12-08 06:52:14 +1100 |
commit | d28ad56810b43cb3ea5d11e5e32042f69ee04562 (patch) | |
tree | 0d0fd8976b253bf6aafed6e1449a1d4e69f658ab /src/video/ncurses.c | |
parent | 5012497d6e59d787195d177d02faa55242bf7e40 (diff) |
major refactor of cpu code
Diffstat (limited to 'src/video/ncurses.c')
-rw-r--r-- | src/video/ncurses.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/video/ncurses.c b/src/video/ncurses.c index 8e80580..e9be9b2 100644 --- a/src/video/ncurses.c +++ b/src/video/ncurses.c @@ -29,13 +29,13 @@ void PrintInfo() mvprintw(5, 43, " PC : %04x", PC); mvprintw(6, 43, " S : %02x", S ); mvprintw(7, 43, "Flags : %c%c_%c%c%c%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':'.' + 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':'.' ); mvprintw(2, 65, "Stack"); int count = 3; |