Skip to content

Commit

Permalink
neogeo: Split into real models:
Browse files Browse the repository at this point in the history
* Moved common stuff (mostly video) into a base memory map.
* Split common edge connector inputs into JAMMA and MVS.
* Added clones with different numbers of game slots, edge connector, controller ports, memory card, and speakers.
* Based fixed-software drivers on MV-1 JAMMA board configuration.
* Removed memory card and controller ports from single-PCB games and converted to mono output.
* Coin lockouts/counters still not connected, and LED/EL output isn't suppressed for variants that lack it.

(nw) suppress leading space in RAM option names
  • Loading branch information
cuavas committed Mar 29, 2018
1 parent a7262c8 commit af14319
Show file tree
Hide file tree
Showing 7 changed files with 462 additions and 373 deletions.
4 changes: 4 additions & 0 deletions src/devices/machine/ram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ ram_device::extra_option_vector calculate_extra_options(const char *extra_option
bool done(false);
for (std::string::size_type start = 0, end = options.find_first_of(','); !done; start = end + 1, end = options.find_first_of(',', start))
{
// ignore spaces
while ((end > start) && (options.length() > start) && ((' ' == options[start]) || ('\t' == options[start])))
++start;

// parse the option
std::string ram_option_string(options.substr(start, (end == -1) ? -1 : end - start));
u32 const ram_option = parse_string(ram_option_string.c_str());
Expand Down
Loading

1 comment on commit af14319

@Tafoid
Copy link
Contributor

@Tafoid Tafoid commented on af14319 Apr 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be the cause of an observed graphical issue manifesting itself in horizontal graphic lines in and around the player sprite as it moves in the game s1945p. It is unsure if there are other games affected as this was the only one observed at this time with this behavior.
0000

Please sign in to comment.