Made debugger compile and marginally work on non-Intel archs.
diff --git a/debugger/db_disasm.c b/debugger/db_disasm.c index 6ac7b19..42cf385 100644 --- a/debugger/db_disasm.c +++ b/debugger/db_disasm.c
@@ -65,6 +65,8 @@ #include <stdio.h> #include "debugger.h" +#ifdef __i386__ + /* * Switch to disassemble 16-bit code. */ @@ -1611,3 +1613,12 @@ } } } + +#else /* __i386__ */ + +void DEBUG_Disasm( DBG_ADDR *addr, int display ) +{ +} + +#endif /* __i386__ */ +