1
0
Fork 0

Fix annoying gcc warning

Fix exceptions not restoring flags


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1781
This commit is contained in:
Sjoerd van der Berg 2004-04-25 13:41:03 +00:00
parent 8c427c4aa0
commit a117b44fbb

View file

@ -311,7 +311,8 @@ static void dyn_check_bool_exception(DynReg * check) {
dyn_reduce_cycles();
dyn_set_eip_last();
dyn_save_critical_regs();
gen_call_function(&DynRunException,"");
gen_call_function((void *)&DynRunException,"");
dyn_flags_host_to_gen();
gen_return(BR_Normal);
dyn_loadstate(&state);
gen_fill_branch(branch);