summaryrefslogtreecommitdiff
path: root/emulators/mame/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-07-25 14:05:53 +0000
committerwiz <wiz@pkgsrc.org>2018-07-25 14:05:53 +0000
commit5dba40571614bfbf90a628a1b8dc7679410f3552 (patch)
tree09afc29d46e5146d9b04213ec562f7afb0341ed3 /emulators/mame/patches
parent08d4f0ece02b10051a9f06979695718f10817c28 (diff)
downloadpkgsrc-5dba40571614bfbf90a628a1b8dc7679410f3552.tar.gz
mame: update to 0.200.
MAME 0.200 25 Jul 2018 Today’s MAME release has two consecutive zeros in the version number! The only other time that happened was over twelve years ago! Although MAME version numbers are just an incrementing number, by a series of coincidences, MAME 0.200 delivers several major changes. MAME 0.200 includes replacements for the memory system and callback API. This will enable new functionality and make MAME development more straightforward. The artwork layout system has also had an overhaul which opens new possibilities. In arcade emulation this month, we have a number of new versions of supported titles, including a very rare prototype of Led Storm Rally 2011 and three more Street Fighter II': Champion Edition bootlegs. Dreamcast/NAOMI colours are greatly improved thanks to snickerbockers, and cam900 fixed some graphical effects in Gals Panic 3 and Billiard Academy Real Break. Enik Land improved emulation of the Sega Master System, Game Gear and Mega Drive VDPs, covering more corner cases. The really exciting emulation improvements this month are on the computer side. There are lots of improvements for UK home computers, including better Camputers Lynx tape support (with lots of additions to the software list), re-worked Acorn System emulation, and support for Acorn Bus slot devices. We’ve got a brand-new modernised Apple IIgs driver, with improvements in just about every area. Also, Wayder updated the Sharp 68000 software list, correcting and organising the entries and adding the latest clean dumps. But even more exciting is the fact that, thanks to Patrick Mackinlay’s gargantuan effort and persistence, the CLIPPER-based InterPro 2000 workstation now works well enough to install and run CLIX (a UNIX operating system). As far as we know, this is a first for MAME. The improvements to SCSI, CD-ROM, and serial emulation also benefit other emulated computer systems. Instructions are on the MAMEdev wiki if you want to try it out.
Diffstat (limited to 'emulators/mame/patches')
-rw-r--r--emulators/mame/patches/patch-src_devices_cpu_mips_mips3.cpp24
-rw-r--r--emulators/mame/patches/patch-src_devices_cpu_mips_ps2vif1.cpp13
2 files changed, 37 insertions, 0 deletions
diff --git a/emulators/mame/patches/patch-src_devices_cpu_mips_mips3.cpp b/emulators/mame/patches/patch-src_devices_cpu_mips_mips3.cpp
new file mode 100644
index 00000000000..7d2d931a47d
--- /dev/null
+++ b/emulators/mame/patches/patch-src_devices_cpu_mips_mips3.cpp
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_devices_cpu_mips_mips3.cpp,v 1.1 2018/07/25 14:05:53 wiz Exp $
+
+Fix namespace problems.
+
+--- src/devices/cpu/mips/mips3.cpp.orig 2018-07-24 19:45:05.000000000 +0000
++++ src/devices/cpu/mips/mips3.cpp
+@@ -3053,7 +3053,7 @@ void r5900le_device::handle_extra_cop2(u
+ {
+ if (BIT(op, 24-field))
+ {
+- fd[field] = std::fmax(fs[field], ft[bc]);
++ fd[field] = ::fmax(fs[field], ft[bc]);
+ }
+ }
+ }
+@@ -3069,7 +3069,7 @@ void r5900le_device::handle_extra_cop2(u
+ {
+ if (BIT(op, 24-field))
+ {
+- fd[field] = std::fmin(fs[field], ft[bc]);
++ fd[field] = ::fmin(fs[field], ft[bc]);
+ }
+ }
+ }
diff --git a/emulators/mame/patches/patch-src_devices_cpu_mips_ps2vif1.cpp b/emulators/mame/patches/patch-src_devices_cpu_mips_ps2vif1.cpp
new file mode 100644
index 00000000000..4f5041cc643
--- /dev/null
+++ b/emulators/mame/patches/patch-src_devices_cpu_mips_ps2vif1.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_devices_cpu_mips_ps2vif1.cpp,v 1.1 2018/07/25 14:05:53 wiz Exp $
+
+Fix namespace problems.
+
+--- src/devices/cpu/mips/ps2vif1.cpp.orig 2018-07-24 19:45:05.000000000 +0000
++++ src/devices/cpu/mips/ps2vif1.cpp
+@@ -622,5 +622,5 @@ uint32_t ps2_vif1_device::calculate_unpa
+ num = cl * (num / wl) + ((mod > cl) ? cl : mod);
+ }
+
+- return (uint32_t)std::ceil(((32 >> vl) * (vn + 1) * num) / 32.0f);
++ return (uint32_t)::ceil(((32 >> vl) * (vn + 1) * num) / 32.0f);
+ }