Make newer GCCs happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3690
This commit is contained in:
parent
b25d481e66
commit
7d0d5bd95c
4 changed files with 17 additions and 14 deletions
|
@ -61,11 +61,8 @@
|
|||
#define DYN_PAGE_HASH (4096>>DYN_HASH_SHIFT)
|
||||
#define DYN_LINKS (16)
|
||||
|
||||
#if 0
|
||||
#define DYN_LOG LOG_MSG
|
||||
#else
|
||||
#define DYN_LOG
|
||||
#endif
|
||||
//#define DYN_LOG 1 //Turn logging on
|
||||
|
||||
|
||||
#if C_FPU
|
||||
#define CPU_FPU 1 //Enable FPU escape instructions
|
||||
|
|
|
@ -2104,7 +2104,9 @@ restart_prefix:
|
|||
case 0xbf:dyn_mov_ev_gw(true);break;
|
||||
|
||||
default:
|
||||
DYN_LOG("Unhandled dual opcode 0F%02X",dual_code);
|
||||
#if DYN_LOG
|
||||
LOG_MSG("Unhandled dual opcode 0F%02X",dual_code);
|
||||
#endif
|
||||
goto illegalopcode;
|
||||
}
|
||||
}break;
|
||||
|
@ -2670,7 +2672,9 @@ restart_prefix:
|
|||
}}
|
||||
break;
|
||||
default:
|
||||
// DYN_LOG("Dynamic unhandled opcode %X",opcode);
|
||||
#if DYN_LOG
|
||||
// LOG_MSG("Dynamic unhandled opcode %X",opcode);
|
||||
#endif
|
||||
goto illegalopcode;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,11 +62,9 @@
|
|||
#define DYN_PAGE_HASH (4096>>DYN_HASH_SHIFT)
|
||||
#define DYN_LINKS (16)
|
||||
|
||||
#if 0
|
||||
#define DYN_LOG LOG_MSG
|
||||
#else
|
||||
#define DYN_LOG
|
||||
#endif
|
||||
|
||||
//#define DYN_LOG 1 //Turn Logging on.
|
||||
|
||||
|
||||
#if C_FPU
|
||||
#define CPU_FPU 1 //Enable FPU escape instructions
|
||||
|
|
|
@ -242,7 +242,9 @@ restart_prefix:
|
|||
case 0xbf:dyn_movx_ev_gw(true);break;
|
||||
|
||||
default:
|
||||
// DYN_LOG("Unhandled dual opcode 0F%02X",dual_code);
|
||||
#if DYN_LOG
|
||||
// LOG_MSG("Unhandled dual opcode 0F%02X",dual_code);
|
||||
#endif
|
||||
goto illegalopcode;
|
||||
}
|
||||
break;
|
||||
|
@ -579,7 +581,9 @@ restart_prefix:
|
|||
break;
|
||||
|
||||
default:
|
||||
// DYN_LOG("Dynrec unhandled opcode %X",opcode);
|
||||
#if DYN_LOG
|
||||
// LOG_MSG("Dynrec unhandled opcode %X",opcode);
|
||||
#endif
|
||||
goto illegalopcode;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue