diff options
Diffstat (limited to 'src/lib/util/disasmintf.h')
-rw-r--r-- | src/lib/util/disasmintf.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/util/disasmintf.h b/src/lib/util/disasmintf.h index 78c77a9abb2..562ba5de00a 100644 --- a/src/lib/util/disasmintf.h +++ b/src/lib/util/disasmintf.h @@ -13,7 +13,8 @@ #ifndef MAME_UTIL_DISASMINTF_H #define MAME_UTIL_DISASMINTF_H -#include "coretmpl.h" +#include "osdcomm.h" +#include <ostream> namespace util { @@ -38,8 +39,9 @@ public: static constexpr u32 SUPPORTED = 0x80000000; // are disassembly flags supported? static constexpr u32 STEP_OUT = 0x40000000; // this instruction should be the end of a step out sequence static constexpr u32 STEP_OVER = 0x20000000; // this instruction should be stepped over by setting a breakpoint afterwards - static constexpr u32 OVERINSTMASK = 0x18000000; // number of extra instructions to skip when stepping over - static constexpr u32 OVERINSTSHIFT = 27; // bits to shift after masking to get the value + static constexpr u32 STEP_COND = 0x10000000; // this instruction may conditionally result in a program transfer or short skip + static constexpr u32 OVERINSTMASK = 0x0c000000; // number of extra instructions to skip when stepping over + static constexpr u32 OVERINSTSHIFT = 26; // bits to shift after masking to get the value static constexpr u32 LENGTHMASK = 0x0000ffff; // the low 16-bits contain the actual length static inline u32 step_over_extra(u32 x) { |