From d28ad56810b43cb3ea5d11e5e32042f69ee04562 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Fri, 8 Dec 2023 06:52:14 +1100 Subject: major refactor of cpu code --- src/video/ncurses.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/video/ncurses.c') 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; -- cgit v1.2.3