Do compile time error when compiling BX_DEBUGGER w/o BX_DISASM

This commit is contained in:
Stanislav Shwartsman 2005-03-26 19:44:21 +00:00
parent 58d216d312
commit c2ec59f4c3

View File

@ -673,6 +673,10 @@ typedef
#define BX_DEBUGGER 0
#define BX_DISASM 0
#if (BX_DEBUGGER == 1) && (BX_DISASM == 0)
#error "Dissembler is required for BX_DEBUGGER !"
#endif
#define BX_PROVIDE_CPU_MEMORY 1
#define BX_PROVIDE_DEVICE_MODELS 1