From 106f7338dd2cfeacc93abe165b1e9318a70d4f39 Mon Sep 17 00:00:00 2001 From: mariuszw1 Date: Wed, 31 Aug 2011 18:26:33 +0000 Subject: [PATCH] VC2008 compile fix (no whatsnew) --- src/emu/cpu/m68000/m68kdasm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/emu/cpu/m68000/m68kdasm.c b/src/emu/cpu/m68000/m68kdasm.c index e32fc4bddd9..05ebb1c87d0 100644 --- a/src/emu/cpu/m68000/m68kdasm.c +++ b/src/emu/cpu/m68000/m68kdasm.c @@ -1335,10 +1335,11 @@ static void d68020_chk2_cmp2_32(void) static void d68040_cinv(void) { LIMIT_CPU_TYPES(M68040_PLUS); + + static const char *cachetype[4] = { "nop", "data", "inst", "both" }; + switch((g_cpu_ir>>3)&3) { - static const char *cachetype[4] = { "nop", "data", "inst", "both" }; - case 0: sprintf(g_dasm_str, "cinv (illegal scope); (4)"); break;