diff options
| author | 2026-05-04 04:00:55 +1000 | |
|---|---|---|
| committer | 2026-05-04 04:00:55 +1000 | |
| commit | 37ee3f7cd3fbc151b80dff0d620b2cea2dfe54c0 (patch) | |
| tree | ece384537fdfa4f8f8a135743c052532a09a8a1d /src/devices/machine/i8087.cpp | |
| parent | c4a7de0fad78dac4d0399e7b1cb909ddab3ac8c1 (diff) | |
ui/ui.cpp: Fixed variable name auto-complete gone wrong.
Also cleaned up a bunch of recent changes.
Diffstat (limited to 'src/devices/machine/i8087.cpp')
| -rw-r--r-- | src/devices/machine/i8087.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/devices/machine/i8087.cpp b/src/devices/machine/i8087.cpp index ffa18dfb4d4..896b30014ba 100644 --- a/src/devices/machine/i8087.cpp +++ b/src/devices/machine/i8087.cpp @@ -423,7 +423,11 @@ int i8087_device::check_exceptions(bool store) if ((m_sw & ~m_cw) & 0x3f) { // interrupt handler - if (!(m_cw & X87_CW_IEM)) { m_sw |= X87_SW_ES; m_int_handler(1); } + if (!(m_cw & X87_CW_IEM)) + { + m_sw |= X87_SW_ES; + m_int_handler(1); + } logerror("Unmasked x87 exception (CW:%.4x, SW:%.4x)\n", m_cw, m_sw); if (store || !(unmasked & (X87_SW_OE | X87_SW_UE))) return 0; @@ -2141,7 +2145,8 @@ void i8087_device::fprem1(u8 modrm) m_sw &= ~X87_SW_C2; - if (!extFloat80_ieee754_remainder(ST(0), ST(1), result, q)) { + if (!extFloat80_ieee754_remainder(ST(0), ST(1), result, q)) + { m_sw &= ~(X87_SW_C0|X87_SW_C3|X87_SW_C1); if (q & 1) m_sw |= X87_SW_C1; |
