summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/validity.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-01-18 01:42:28 +1100
committer Vas Crabb <vas@vastheman.com>2021-01-18 01:42:28 +1100
commit6e1bbe8be89349038995df2aaa4f11019439e39e (patch)
treea7f53cb785df09e4e0fdabc659ddaa5893e5a8eb /src/emu/validity.cpp
parentbb7b375aa64da9c408f8070fe11639f614582647 (diff)
-osd: Clean up inline maths utilities.
* Removed inline assembly for operations compilers handle well. * Added ARM and AArch64 implementation for a few operations. * Added unsigned integer add with carry out operations. -cpu/drccache.cpp: Detect whether RWX pages are supported. -dynax.cpp: Improved a few hanafuda DIP switch descriptions.
Diffstat (limited to 'src/emu/validity.cpp')
-rw-r--r--src/emu/validity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/validity.cpp b/src/emu/validity.cpp
index 84c29dab6c4..09758807e8e 100644
--- a/src/emu/validity.cpp
+++ b/src/emu/validity.cpp
@@ -475,13 +475,13 @@ void validity_checker::validate_inlines()
if (resultu32 != expectedu32)
osd_printf_error("Error testing divu_64x32 (%16X / %08X) = %08X (expected %08X)\n", u64(testu64a), u32(testu32a), resultu32, expectedu32);
- resulti32 = div_64x32_rem(testi64a, testi32a, &remainder);
+ resulti32 = div_64x32_rem(testi64a, testi32a, remainder);
expectedi32 = testi64a / s64(testi32a);
expremainder = testi64a % s64(testi32a);
if (resulti32 != expectedi32 || remainder != expremainder)
osd_printf_error("Error testing div_64x32_rem (%16X / %08X) = %08X,%08X (expected %08X,%08X)\n", s64(testi64a), s32(testi32a), resulti32, remainder, expectedi32, expremainder);
- resultu32 = divu_64x32_rem(testu64a, testu32a, &uremainder);
+ resultu32 = divu_64x32_rem(testu64a, testu32a, uremainder);
expectedu32 = testu64a / u64(testu32a);
expuremainder = testu64a % u64(testu32a);
if (resultu32 != expectedu32 || uremainder != expuremainder)