From dcd42351524f26c1cacc5585604970242c156e5b Mon Sep 17 00:00:00 2001 From: SelvinPL Date: Thu, 7 May 2026 21:33:49 +0200 Subject: [PATCH] fixing ifndef error --- src/emulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index 481f6ed..00aeb53 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -693,7 +693,7 @@ typedef struct { const size_t s_emulator_state_size = sizeof(EmulatorState); #ifdef RGBDS_LIVE -#ifndef BREAKPOINTS_MAX_BANKS_NUMBER 1 +#ifndef BREAKPOINTS_MAX_BANKS_NUMBER #define BREAKPOINTS_MAX_BANKS_NUMBER 1 #endif typedef uint32_t breakpoints_type; @@ -4665,7 +4665,7 @@ static inline uint32_t emulator_get_banked_PC_inline(Emulator *e) { } return pc; #else - return REG.PC + return REG.PC; #endif }