Commit Graph

51051 Commits

Author SHA1 Message Date
Nathan Woods
023292f081 Fixed out of bounds issues in NeoGeo memory access
The NeoGeo driver exposes a number of different memory regions as vectors.  Accessing the pointers was done through a '&vector[0]' pattern.  This caused problems when the region was size zero; I changed the code to return null pointers in these scenarios.

This was reported by Robbbert in response to recent regressions (the command line was 'mame aes bjourney'), but it seems to be present in MAME 0.184.
2017-04-17 06:40:53 -04:00
npwoods
69d9706616 Made a number of device_image_interface members private (#2227)
* Made a number of device_image_interface members private

This also fixes a number of get_default_card_software() implementations that were accessing m_file incorrectly

* Remove duplicate prototype
2017-04-17 11:44:46 +02:00
ajrhacker
8b28b3e70b Merge pull request #2240 from ajrhacker/supstarf
New NOT WORKING:
2017-04-17 00:22:30 -04:00
AJR
e807eef14a New NOT WORKING:
* Super Star (Recreativos Franco) [AJR, Akiles500]
2017-04-17 00:10:22 -04:00
arbee
17d6ef6f5c New games added as GAME_NOT_WORKING:
GI-Classic EX (Server) [R. Belmont, Phil Bennett, The Dumping Union]
2017-04-16 22:58:55 -04:00
ajrhacker
b2e89fd2e1 Merge pull request #2239 from ajrhacker/dipalette_sanity
dipalette: A return to sanity (nw)
2017-04-16 21:05:01 -04:00
Robert
6d5a0145f5 Merge pull request #2238 from npwoods/another_option_refactoring
More options refactoring.
2017-04-17 10:54:09 +10:00
AJR
393e5288d6 Better guess at Sega sound data serial rate (nw) 2017-04-16 20:51:50 -04:00
briantro
2cc10c65d0 sangho.cpp: Correct clocks based on actual XTAL (nw)
Picture of PCB clearly shows a 21.4772MHz, PCB has a Z80B so clock is 3.58 based on XTAL like the YM2413.
2017-04-16 19:34:11 -05:00
Robert
ab5e50fed3 Merge pull request #2226 from fulivi/hp9845_dev11
New driver: HP9845T
2017-04-17 08:55:29 +10:00
AJR
dfdd5be76c Disallow a negative number of palette entries by changing some types (nw) 2017-04-16 18:39:18 -04:00
AJR
ed4926d534 dipalette: A return to sanity (nw)
* Revert entries(), indirect_entries(), shadows_enabled() and hilights_enabled() to return the configuration parameters instead of accessing the live state. The thought behind the implementation change was that palette devices could potentially determine the number of entries from the sizes of devfind objects. The regressions caused by this have been worked around, but it was probably a bad idea in the first place.
* Zero-entry palettes are no longer valid. The code that tried to support them was basically left over from when every running machine had a single global palette.
2017-04-16 17:25:08 -04:00
AJR
8ad2708f35 segaxbd.cpp: Too many watchdog resets; schematics may be wrong (nw) 2017-04-16 15:21:12 -04:00
Nathan Woods
c108986639 More options refactoring
This should address outstanding concerns with PR#2231.  I'm trying to turn emu_options into a self contained structure that encapsulates behaviors related to options, including the gymnastics pertaining to image/slot loading and interactions with get_default_card_software() and "just works".

When the MAME 0.186 development cycle starts up, I hope to take this further.  I want to make core_options::entry an abstract base class so that the entries associated with image options and slot options can derive from it.  This will eliminate the current need for emu_options to directly expose maps for image and slot options.

For now, I'm in stabilization mode, and I hope to get things working for a stable 0.185 release.
2017-04-16 13:08:57 -04:00
ajrhacker
0c7771ee02 Merge pull request #2237 from einstein95/master
esd16: Documentation update (nw)
2017-04-16 08:46:01 -04:00
einstein95
bb3fd0ed5f Head Panic's nude/bikini pics are displayed after a level when set; more modesty means more clothes and vice versa 2017-04-16 22:00:44 +12:00
AJR
f451ebd5f7 Debugging remnant (nw) 2017-04-15 20:38:55 -04:00
AJR
1e4bfcd40b dsbz80: Not just a one-way street (nw) 2017-04-15 20:05:32 -04:00
Justin Kerk
c27cf4867d ibm5150.xml, ibm5170.xml: fill in alt versions of recent adds (nw) 2017-04-15 15:33:51 -07:00
AJR
8275551541 Convert Sega Model 1 Sound Board and Z80-based Digital Sound Board to use proper UART-based serial interfaces 2017-04-15 17:06:54 -04:00
Justin Kerk
3d617ee872 New working software list additions
-----------------------------------
ibm5150: Golden Axe, Home Alone [ArcadeShadow]
ibm5170: Gods, Indiana Jones and the Fate of Atlantis, The Legend of Kyrandia [ArcadeShadow]
2017-04-15 13:40:15 -07:00
npwoods
f81389dcfa Changed validity_checker to keep a fresh emu_options for validation purposes (#2232)
* Changed validity_checker to keep a fresh emu_options for validation purposes

This seems to solve the performance problems introduced by PR#2221 while keeping with that PR's goals of not using the "runtime" emu_options for purposes of validation.

* Sorry, I can't spell apparently...
2017-04-15 22:33:05 +02:00
npwoods
02ea4fd43c Fixes issues specifying image/slot options fron INI files (reported by Robbbert) (#2231)
This fix really doesn't go far enough.  I added hooks so that options specified at the command line can also be responded to when parsed from INI files, but in the long run much of the logic that is currently in mame_options should go into emu_options so that when an option is specified, all of the wacko logic around slot/image specification "just works" because it is encapsulated within emu_options.

We have a release 11 days away; I want to be in stabilization mode.
2017-04-15 22:32:12 +02:00
AJR
c4b2aa7466 Name lookup issues (nw) 2017-04-15 16:01:54 -04:00
AJR
445858d683 i8251: Improve logging; restrict external command_w and mode_w access to V53 variant (nw) 2017-04-15 15:43:04 -04:00
yz70s
52b0ef3911 chihiro: fix jamdis debug command (nw) 2017-04-15 18:50:49 +02:00
hap
6d5bbcaca9 fidel6502: correct sc9 romlabels, thanks yovan (nw) 2017-04-15 16:01:23 +02:00
yz70s
44b654f70a chihiro: usb is always enabled now, remove unused parts (nw) 2017-04-15 13:53:51 +02:00
arbee
589b9fe546 New games added as GAME_NOT_WORKING
MegaTouch XL (Italy version R1) [any, R. Belmont]
2017-04-15 07:28:43 -04:00
AJR
498fc34641 Add VS9209 I/O device for various Video System games 2017-04-15 00:09:00 -04:00
arbee
ba5c26a09b mtouchxl: synthesized working keys for 5000 and Gold series (nw) 2017-04-14 21:11:54 -04:00
AJR
98bf2ac8a0 xtal.h: Correction and addition (nw) 2017-04-14 10:57:10 -04:00
fulivi
6cc154b004 hp9845: 98035 module default SC is 9 now 2017-04-14 16:27:01 +02:00
fulivi
d13d727731 hp9845: added second tape drive (T14) 2017-04-14 16:18:51 +02:00
cracyc
a9247f5fc5 i386: oopsy (nw) 2017-04-14 08:40:14 -05:00
R. Belmont
f2accb7bd7 Merge pull request #2221 from npwoods/validation_has_own_options
Changed the validity checks to have its own emu_options
2017-04-14 07:30:12 -04:00
R. Belmont
30d0aec661 Merge pull request #2223 from npwoods/get_default_card_software
Changes to make get_default_card_software() less stupid
2017-04-14 07:29:52 -04:00
Ivan Vangelista
f9e1e9c8f6 Redumped Knights of Valour 3 HD (V105) [Peter Wilhelmsen, The Dumping Union] 2017-04-14 12:05:24 +02:00
Ivan Vangelista
028b0b557d small batch of anonymous timers removal (nw) 2017-04-14 09:21:03 +02:00
arbee
723debdba7 apple1: fixed bug introduced when the cassette was slotified. [Colin Douglas Howell, R. Belmont] 2017-04-14 00:06:56 -04:00
cracyc
bae2414f8b mtouchxl: title screen get (nw) 2017-04-13 22:23:45 -05:00
arbee
c33e92afa2 New clones added as GAME_NOT_WORKING:
MegaTouch XL 5000 (Version R5B)
MegaTouch XL 5000 (Version R5E)
MegaTouch XL 6000 (Version r07)
2017-04-13 22:42:17 -04:00
angelosa
bac42e6a58 vlc.cpp: make it to show something (nw) 2017-04-14 04:14:16 +02:00
angelosa
1ef6c887c9 Notes (nw) 2017-04-14 03:37:44 +02:00
angelosa
6790ef4254 viper.cpp: inverted flip dip (nw) 2017-04-14 03:37:43 +02:00
angelosa
7f822bcc28 viper.cpp: tsurugi foot input (nw) 2017-04-14 03:37:41 +02:00
angelosa
8aa27992be viper.cpp: identified dip-switch position, fix ppp2nd dip-sw error (nw) 2017-04-14 03:37:40 +02:00
MetalliC
5550c451f7 naomi.cpp: mushik2e appeared 3in1 Mushiking II, III and III+ 2017-04-14 02:27:39 +03:00
angelosa
ed5d851b10 viper.cpp: input cleanups (nw) 2017-04-13 23:47:17 +02:00
angelosa
6b858df31a Konami Viper: Metadata housekeeping (nw) 2017-04-13 23:47:16 +02:00