mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 18:25:36 +00:00
i386: Fix build
This commit is contained in:
parent
5436b713ce
commit
dec4c70142
|
@ -5904,24 +5904,18 @@ static void x86_cpu_common_class_init(struct uc_struct *uc, ObjectClass *oc, voi
|
|||
void x86_cpu_register_types(void *opaque)
|
||||
{
|
||||
const TypeInfo x86_cpu_type_info = {
|
||||
TYPE_X86_CPU,
|
||||
TYPE_CPU,
|
||||
.name = TYPE_X86_CPU,
|
||||
.parent = TYPE_CPU,
|
||||
|
||||
sizeof(X86CPUClass),
|
||||
sizeof(X86CPU),
|
||||
opaque,
|
||||
.class_size = sizeof(X86CPUClass),
|
||||
.instance_size = sizeof(X86CPU),
|
||||
.instance_userdata = opaque,
|
||||
|
||||
x86_cpu_initfn,
|
||||
NULL,
|
||||
NULL,
|
||||
.instance_init = x86_cpu_initfn,
|
||||
|
||||
NULL,
|
||||
.class_init = x86_cpu_common_class_init,
|
||||
|
||||
x86_cpu_common_class_init,
|
||||
NULL,
|
||||
NULL,
|
||||
|
||||
true,
|
||||
.abstract = true,
|
||||
};
|
||||
|
||||
int i;
|
||||
|
|
|
@ -2942,7 +2942,7 @@ void update_mxcsr_status(CPUX86State *env)
|
|||
|
||||
void update_mxcsr_from_sse_status(CPUX86State *env)
|
||||
{
|
||||
if (tcg_enabled()) {
|
||||
if (tcg_enabled(env->uc)) {
|
||||
uint8_t flags = get_float_exception_flags(&env->sse_status);
|
||||
/*
|
||||
* The MXCSR denormal flag has opposite semantics to
|
||||
|
|
Loading…
Reference in a new issue