X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68000%2Fm68kdasm.c;h=63c65dd53c0cfbb42ef139cd3ad49fc7c930865b;hb=7a92a3a54da8634b6765fafd8e5a5724838941b1;hp=3c54b67b76e725b5d41d76095dcc155f20064cbe;hpb=b86a1645ad3fdedf85202c5563c2c5fc1e0eb03d;p=virtualjaguar diff --git a/src/m68000/m68kdasm.c b/src/m68000/m68kdasm.c index 3c54b67..63c65dd 100644 --- a/src/m68000/m68kdasm.c +++ b/src/m68000/m68kdasm.c @@ -234,6 +234,10 @@ int32_t ShowEA(FILE * f, int reg, amodes mode, wordsizes size, char * buf) //void m68k_disasm(FILE * f, uint32_t addr, uint32_t * nextpc, int cnt) unsigned int m68k_disasm(char * output, uint32_t addr, uint32_t * nextpc, int cnt) { + // Sanity checking... +// if (addr > 0xFFFFFF) +// addr = 0; + char f[256], str[256]; static const char * const ccnames[] = { "T ","F ","HI","LS","CC","CS","NE","EQ",