From: Toni Wilen Date: Mon, 22 Sep 2014 18:53:17 +0000 (+0300) Subject: Added missing ENDTRY macros (only needed for C compatibility) X-Git-Tag: 3000~32 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=6aa9d7173a77b4d138f727f8657585b3c29d6579;p=francis%2Fwinuae.git Added missing ENDTRY macros (only needed for C compatibility) --- diff --git a/newcpu.cpp b/newcpu.cpp index 3839fbca..8d2c6e94 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -3637,7 +3637,7 @@ static void bus_error(void) Exception (2); } CATCH (prb2) { cpu_halt (1); - } + } ENDTRY } #ifndef CPUEMU_11 @@ -3693,7 +3693,7 @@ retry: } CATCH (prb) { bus_error(); goto retry; - } + } ENDTRY } #endif /* CPUEMU_11 */ @@ -3801,7 +3801,7 @@ cont: } CATCH (prb) { bus_error(); goto retry; - } + } ENDTRY } #endif @@ -3966,7 +3966,7 @@ static void opcodedebug (uae_u32 pc, uae_u16 opcode, bool full) addr = mmu_translate (pc, (regs.mmu_ssw & 4) ? 1 : 0, 0, 0); } CATCH (prb) { fault = 1; - } + } ENDTRY if (!fault) { TCHAR buf[100]; if (full) @@ -4048,7 +4048,7 @@ retry: return; } goto retry; - } + } ENDTRY } @@ -4104,7 +4104,7 @@ retry: return; } goto retry; - } + } ENDTRY } @@ -4190,7 +4190,7 @@ insretry: return; } goto retry; - } + } ENDTRY }