diff --git a/src/boards/23.cpp b/src/boards/23.cpp index 0219a1dc..87215bcd 100644 --- a/src/boards/23.cpp +++ b/src/boards/23.cpp @@ -38,8 +38,8 @@ static SFORMAT StateRegs[]= {®cmd, 1, "REGCMD"}, {&irqcmd, 1, "IRQCMD"}, {&mirr, 1, "MIRR"}, - {&big_bank, 1, "MIRR"}, - {&IRQCount, 2, "IRQC"}, + {&big_bank, 1, "BIGB"}, + {&IRQCount, 2, "IRCN"}, {&IRQLatch, 1, "IRQL"}, {&IRQa, 1, "IRQA"}, {0} diff --git a/src/state.cpp b/src/state.cpp index 95bf97fb..ad2ce0fa 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -853,7 +853,11 @@ void AddExState(void *v, uint32 s, int type, char *desc) std::string desc = tmp; if(names.find(desc) != names.end()) { +#ifdef _MSC_VER + MessageBox(NULL,"OH NO!!! YOU HAVE AN INVALID SFORMAT! POST A BUG TICKET ALONG WITH INFO ON THE ROM YOURE USING\n","OOPS",MB_OK); +#else printf("OH NO!!! YOU HAVE AN INVALID SFORMAT! POST A BUG TICKET ALONG WITH INFO ON THE ROM YOURE USING\n"); +#endif exit(0); } names[desc] = true;