- Rewritten some checks to be runtime instead of compile dependent
- Added winmenu.c and "menu" option in windows build
- winmenu.c provide just dummy implementation, and makes linking with actual menu implementation easier.
Date: Wed, Jan 26, 2011 at 6:19 AM
Subject: cave.c savestate support + alpha
To: submit@mamedev.org
This patch contains the following changes to cave.c and toaplan2.c:
- Added savestate support to all games in cave.c. Most of the work was
already done by someone else; the blocker was a perpetually-running
anonymous timer, which I converted to an allocated timer.
- Changed OKI sample banking to use device address maps instead of
memcpy() in all cave.c games except the nmk112-based games. If someone
wants to try to convert nmk112.c to use device address maps and bank
pointers, be my guest--you'll need 8 banks of varying sizes per OKI chip...
- Fixed description of the Japanese Air Gallet set--the game's Japanese
title is "Akuu Gallet".
- Made machine/nmk112.c actually restore its state properly. Also
refactored it a little (if you can talk about refactoring a source
file that almost fits on one screen)
- Fixed bgaregga's nmk112 interface to work with the refactored nmk112.c.
- Removed excessive CPU interleaving from batsugun, left over from when
I was initially hooking up the V25.
- Removed a useless printf and some obsolete comments, more leftovers
from the process of hooking up the V25.
--AWJ--
- merged MESS CDi driver file with the MAME CDi driver file (used for Quizard)
- the cdimono1 system is now the parent / bios of Quizard, the Quizard games run on a retail CDi unit with Jamma adapter / dongle for protection so this is a logical step.
global functions which are now superceded by the operators and
methods on the class. [Aaron Giles]
Required mappings are:
attotime_make(a,b) => attotime(a,b)
attotime_to_double(t) => t.as_double()
double_to_attotime(d) => attotime::from_double(d)
attotime_to_attoseconds(t) => t.as_attoseconds()
attotime_to_ticks(t,f) => t.as_ticks(f)
ticks_to_attotime(t,f) => attotime::from_ticks(t,f)
attotime_add(a,b) => a + b
attotime_add_attoseconds(a,b) => a + attotime(0, b)
attotime_sub(a,b) => a - b
attotime_sub_attoseconds(a,b) => a - attotime(0, b)
attotime_compare(a,b) == 0 => a == b
attotime_compare(a,b) != 0 => a != b
attotime_compare(a,b) < 0 => a < b
attotime_compare(a,b) <= 0 => a <= b
attotime_compare(a,b) > 0 => a > b
attotime_compare(a,b) >= 0 => a >= b
attotime_mul(a,f) => a * f
attotime_div(a,f) => a / f
attotime_min(a,b) => min(a,b)
attotime_max(a,b) => max(a,b)
attotime_is_never(t) => t.is_never()
attotime_string(t,p) => t.as_string(p)
In addition, some existing #defines still exist but will go away:
attotime_zero => attotime::zero
attotime_never => attotime::never
ATTOTIME_IN_SEC(s) => attotime::from_seconds(s)
ATTOTIME_IN_MSEC(m) => attotime::from_msec(m)
ATTOTIME_IN_USEC(u) => attotime::from_usec(u)
ATTOTIME_IN_NSEC(n) => attotime::from_nsec(n)
ATTOTIME_IN_HZ(h) => attotime::from_hz(h)
new clones added
New Clones Added
---------------------------------
Prehistoric Isle in 1930 (Korea) [Artemio Urbina
Zero Hour (set 2) [Andrew Welburn, The Dumping Union]
New Clones Added
---------------------------------
Prehistoric Isle in 1930 (Korea) [Artemio Urbina
Zero Hour (set 2) [Andrew Welburn, The Dumping Union]
Not for whatsnew: I added -Wno-conversion unconditionally to disable the
warnings Thomas reported. That setting is the default for GCC out-of-the-box
but apparently not on NetBSD. As far as I know it shouldn't cause a problem
with any GCC version back to at least 4.0.0 so we're safe even on PPC OSX,
but do let me know if hilarity ensues.
* New inputs from the scratch for Music Sort.
* Complete DIP Switches and DIP locations for Music Sort.
* Added a new button-lamps layout for Music Sort.
* Created a default NVRAM that allow Music Sort work properly.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Music Sort (ver 2.02, English) [Roberto Fresca, Team Europe]
Also removed redundant m_machine from the state and execute
interfaces to fix ambiguity when using m_machine from within
a device that inherits from these.
- Implemented reel layer
- Fixed rogue tiles in xplan
- Hopper emulation in bishjan
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Express Card / Top Card [Smitdogg, The Dumping Union, Luca Elia]
Magic Train [Grull Osgo, Roberto Fresca, David Haywood, Luca Elia]
X-Train [Smitdogg, The Dumping Union, Luca Elia]
-------------------------------
Truck Kyosokyoku [Guru, R. Belmont, Mr. Do, Kevin Eshbach, www.techknight.com, ranger_lennier, J. Wilke, hack_mole, Gyrovision, Tauchy, K. Fisher, Rambo, The Dumping Union]
So if I read this right, you updated the ASC, then decided to enforce
sound_stream_update() as a pure virtual function, and didn't update the ASC
again? :)