From b5839e35b2719828e47475c91720a741b2b32ec0 Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 12 Jan 2023 21:59:56 +0000 Subject: Changed keys in debug screens (to save bouncing the A key if used to select) --- source/main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source/main.c') diff --git a/source/main.c b/source/main.c index 355bf31..76c6f43 100644 --- a/source/main.c +++ b/source/main.c @@ -279,7 +279,7 @@ static void DebugDisassembler(Z80 *cpu) while(SK_GetBareEvent(&ev)) { - if (!ev.pressed) + if (ev.pressed) { switch(ev.key) { @@ -303,7 +303,7 @@ static void DebugDisassembler(Z80 *cpu) done = TRUE; break; - case SK_PAD_A: + case SK_PAD_B: { char addrstr[32] = {0}; @@ -377,7 +377,7 @@ static void DebugMemory(Z80 *cpu) while(SK_GetBareEvent(&ev)) { - if (!ev.pressed) + if (ev.pressed) { switch(ev.key) { @@ -401,7 +401,7 @@ static void DebugMemory(Z80 *cpu) done = TRUE; break; - case SK_PAD_A: + case SK_PAD_B: { char addrstr[32] = {0}; @@ -578,14 +578,14 @@ static void DebugCPU(Z80 *cpu) FB_EndFrame(); - if (SK_KeyPressed(SK_PAD_B)) + if (SK_KeyPressed(SK_PAD_X)) { Z80SingleStep(cpu); } while(SK_GetBareEvent(&ev)) { - if (!ev.pressed) + if (ev.pressed) { switch(ev.key) { @@ -608,7 +608,7 @@ static void DebugCPU(Z80 *cpu) done = TRUE; break; - case SK_PAD_A: + case SK_PAD_B: Z80SingleStep(cpu); break; -- cgit v1.2.3