mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
i386: emms should trap too
This commit is contained in:
parent
241cdf4fea
commit
b4732de782
@ -1912,6 +1912,11 @@ void i386_device::mmx_paddd_r64_rm64() // Opcode 0f fe
|
||||
|
||||
void i386_device::mmx_emms() // Opcode 0f 77
|
||||
{
|
||||
if (m_cr[0] & 0xc)
|
||||
{
|
||||
i386_trap(FAULT_NM, 0, 0);
|
||||
return;
|
||||
}
|
||||
m_x87_tw = 0xffff; // tag word = 0xffff
|
||||
// TODO
|
||||
CYCLES(1); // TODO: correct cycle count
|
||||
|
Loading…
Reference in New Issue
Block a user