Logging unimplemented instructions.
This commit is contained in:
parent
82a72e1974
commit
2f9b37c142
|
@ -10,6 +10,7 @@
|
|||
#ifndef XENIA_CPU_FRONTEND_PPC_EMIT_PRIVATE_H_
|
||||
#define XENIA_CPU_FRONTEND_PPC_EMIT_PRIVATE_H_
|
||||
|
||||
#include "xenia/base/logging.h"
|
||||
#include "xenia/cpu/frontend/ppc_emit.h"
|
||||
#include "xenia/cpu/frontend/ppc_instr.h"
|
||||
|
||||
|
@ -22,7 +23,9 @@ namespace frontend {
|
|||
#define XEREGISTERINSTR(name, opcode) \
|
||||
RegisterInstrEmit(opcode, (InstrEmitFn)InstrEmit_##name);
|
||||
|
||||
#define XEINSTRNOTIMPLEMENTED() assert_always("Instruction not implemented");
|
||||
#define XEINSTRNOTIMPLEMENTED() \
|
||||
XELOGE("Unimplemented instruction: %s", __FUNCTION__); \
|
||||
assert_always("Instruction not implemented");
|
||||
|
||||
} // namespace frontend
|
||||
} // namespace cpu
|
||||
|
|
Loading…
Reference in New Issue