mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
Merge pull request #3776 from MoochMcGee/master5
i386: Fix a bug that could cause a relatively common CPU detection check to see a 386 as a 486
This commit is contained in:
commit
e658a261ef
@ -349,7 +349,7 @@ void i386_device::set_flags(uint32_t f )
|
|||||||
m_NT = (f & 0x4000) ? 1 : 0;
|
m_NT = (f & 0x4000) ? 1 : 0;
|
||||||
m_RF = (f & 0x10000) ? 1 : 0;
|
m_RF = (f & 0x10000) ? 1 : 0;
|
||||||
m_VM = (f & 0x20000) ? 1 : 0;
|
m_VM = (f & 0x20000) ? 1 : 0;
|
||||||
m_AC = (f & 0x40000) ? 1 : 0;
|
if(m_cpu_version >= 0x400) m_AC = (f & 0x40000) ? 1 : 0;
|
||||||
m_VIF = (f & 0x80000) ? 1 : 0;
|
m_VIF = (f & 0x80000) ? 1 : 0;
|
||||||
m_VIP = (f & 0x100000) ? 1 : 0;
|
m_VIP = (f & 0x100000) ? 1 : 0;
|
||||||
m_ID = (f & 0x200000) ? 1 : 0;
|
m_ID = (f & 0x200000) ? 1 : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user