X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fv63701.cpp;h=b76063fccc168a931ee92d83e1d8c63b620a0cf9;hb=a7c3ff9deab4cefbc76ac52d38b67e7033c63cf6;hp=3f01921f74819789e9da73063c702c220ef9ccc1;hpb=6e4a6b1f4aecb0ec7cab2c3dea9553f30f848a4c;p=thunder diff --git a/src/v63701.cpp b/src/v63701.cpp index 3f01921..b76063f 100644 --- a/src/v63701.cpp +++ b/src/v63701.cpp @@ -2285,7 +2285,8 @@ static void Op8D(void) // BSR static void Op6E(void) // JMP ZP, X { - regs.pc = EA_ZP_X; + uint16_t m = EA_ZP_X; + regs.pc = m; } @@ -2556,7 +2557,7 @@ static void Op__(void) // Ok, the exec_op[] array is globally defined here basically to save // a LOT of unnecessary typing. Sure it's ugly, but hey, it works! // -void (* exec_op[256])() = { +static void (* exec_op[256])() = { Op__, Op01, Op__, Op__, Op04, Op05, Op06, Op07, Op08, Op09, Op0A, Op0B, Op0C, Op0D, Op0E, Op0F, Op10, Op11, OpUN, OpUN, Op__, Op__, Op16, Op17, Op18, Op19, Op1A, Op1B, Op__, Op__, Op__, Op__, Op20, Op21, Op22, Op23, Op24, Op25, Op26, Op27, Op28, Op29, Op2A, Op2B, Op2C, Op2D, Op2E, Op2F,