mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-08 08:00:34 +00:00
target-m68k: Print flags properly
Backports commit 8e394ccabdb1e439aab092de6b9d2f26432e962f from qemu
This commit is contained in:
parent
57ea90a91f
commit
9493b29399
|
@ -163,6 +163,7 @@ int cpu_m68k_exec(struct uc_struct *uc, CPUState *cpu);
|
||||||
is returned if the signal was handled by the virtual CPU. */
|
is returned if the signal was handled by the virtual CPU. */
|
||||||
int cpu_m68k_signal_handler(int host_signum, void *pinfo,
|
int cpu_m68k_signal_handler(int host_signum, void *pinfo,
|
||||||
void *puc);
|
void *puc);
|
||||||
|
uint32_t cpu_m68k_flush_flags(CPUM68KState *env, int op);
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
CC_OP_DYNAMIC, /* Use env->cc_op */
|
CC_OP_DYNAMIC, /* Use env->cc_op */
|
||||||
|
|
|
@ -46,7 +46,7 @@ M68kCPU *cpu_m68k_init(struct uc_struct *uc, const char *cpu_model)
|
||||||
return cpu;
|
return cpu;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t cpu_m68k_flush_flags(CPUM68KState *env, int op)
|
uint32_t cpu_m68k_flush_flags(CPUM68KState *env, int op)
|
||||||
{
|
{
|
||||||
int flags;
|
int flags;
|
||||||
uint32_t src;
|
uint32_t src;
|
||||||
|
|
Loading…
Reference in a new issue