mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
- updated init_m68k with fpu_init() and fpu_set_integral_fpu() calls
- added exit_m68k() and handle deinitialization of the FPU - updated m68k_reset to call fpu_reset()
This commit is contained in:
parent
e1724ba3d3
commit
fbc2092471
@ -207,6 +207,14 @@ void init_m68k (void)
|
||||
do_merges ();
|
||||
|
||||
build_cpufunctbl ();
|
||||
|
||||
fpu_init ();
|
||||
fpu_set_integral_fpu (CPUType == 4);
|
||||
}
|
||||
|
||||
void exit_m68k (void)
|
||||
{
|
||||
fpu_exit ();
|
||||
}
|
||||
|
||||
struct regstruct regs, lastint_regs;
|
||||
@ -1047,7 +1055,9 @@ void m68k_reset (void)
|
||||
regs.spcflags = 0;
|
||||
regs.intmask = 7;
|
||||
regs.vbr = regs.sfc = regs.dfc = 0;
|
||||
regs.fpcr = regs.fpsr = regs.fpiar = 0;
|
||||
/* gb-- moved into {fpp,fpu_x86}.cpp::fpu_init()
|
||||
regs.fpcr = regs.fpsr = regs.fpiar = 0; */
|
||||
fpu_reset();
|
||||
}
|
||||
|
||||
void REGPARAM2 op_illg (uae_u32 opcode)
|
||||
|
Loading…
Reference in New Issue
Block a user