Get rid of CPU class so that MIPSState can be POD, enabling offsetof

This commit is contained in:
Henrik Rydgard committed 2013-01-08 14:20:06 +01:00
1 parent b3fd1ff34c
commit 7b4cfb702c
5 files changed
+7 -22

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
const char *MIPSDebugInterface::disasm(unsigned int address, unsigned int align)
{
CPU *x = currentCPU;
MIPSState *x = currentCPU;
currentCPU = cpu;
static char mojs[256];