From 0d3b89b88f7b969087549a68a79ffdfa769238e2 Mon Sep 17 00:00:00 2001 From: Oliver Kiehl Date: Sun, 14 Mar 2004 17:53:19 +0000 Subject: remove ugly goto svn-id: r13278 --- simon/vga.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/simon/vga.cpp b/simon/vga.cpp index b1a1bece94..eedc2cc341 100644 --- a/simon/vga.cpp +++ b/simon/vga.cpp @@ -397,12 +397,10 @@ byte *vc_10_depack_column(VC10_state * vs) { byte dh = vs->dh; byte color; - if (a != -0x80) - goto start_here; + if (a == -0x80) + a = *src++; for (;;) { - a = *src++; - start_here:; if (a >= 0) { color = *src++; do { @@ -425,6 +423,7 @@ byte *vc_10_depack_column(VC10_state * vs) { } } while (++a != 0); } + a = *src++; } get_out:; -- cgit v1.2.3