1
0
Fork 0

cr0 always signals 386-type FPU present for 486+ target architectures (fixes Biing cdrom version)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3710
This commit is contained in:
Sebastian Strohhäcker 2011-05-10 18:00:03 +00:00
parent 1bf90c16c2
commit bf8496c092

View file

@ -1546,6 +1546,7 @@ void CPU_SET_CRX(Bitu cr,Bitu value) {
switch (cr) {
case 0:
{
value|=CR0_FPUPRESENT;
Bitu changed=cpu.cr0 ^ value;
if (!changed) return;
cpu.cr0=value;