summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/czx81.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/czx81.c b/src/czx81.c
index 55bae6a..9c692be 100644
--- a/src/czx81.c
+++ b/src/czx81.c
@@ -109,7 +109,7 @@ static int key_press_frames = 1;
static int current_key_press_frame = 0;
static int current_key = -1;
-static int trace = FALSE;
+static int g_trace = FALSE;
static char snappath[4096] = ".";
static int allow_save = FALSE;
@@ -570,7 +570,7 @@ static void Trace(void)
static int CheckTimers(Z80 *z80, Z80Val val)
{
- if (trace)
+ if (g_trace)
{
Trace();
}
@@ -945,7 +945,7 @@ static void Menu()
{
int ch;
- mvprintw(0, 0, "F1 .. Tracing %s", trace ? "ON ":"OFF");
+ mvprintw(0, 0, "F1 .. Tracing %s", g_trace ? "ON ":"OFF");
mvprintw(2, 0, "F2 .. Frames per key press: %2d", key_press_frames);
mvprintw(4, 0, "F3 .. Reset ZX81");
mvprintw(6, 0, "F4 .. Quit");
@@ -958,7 +958,7 @@ static void Menu()
switch(ch)
{
case KEY_F(1):
- trace = !trace;
+ g_trace = !g_trace;
break;
case KEY_F(2):