summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/romload.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-09-18 15:17:42 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-09-18 15:17:42 +0000
commit1eb3c2d964342aef09a08d854bdab6716a6792bd (patch)
treeac364ed9466a0556e178770d87855ed21ce113ea /src/emu/romload.c
parent8e4ed692473ee31f5fdeee460526357ee4440392 (diff)
Changed requirements for laserdisc CHDs to require a new chunk of
metadata with pre-decoded frame information. Modified chdman to automatically produce this for CHDs that are of the appropriate parameters. To fix up existing CHDs, use chdman -fixavdata on the CHD. Modified the laserdisc core to leverage the pre-decoded frame metadata, which is now required. This improves seek times when searching and allows the player-specific emulation access to the VBI data as soon as it would really be available. Changed update callback timing to fire just before the first line of VBI data would be read; at that point, the frame selection is assumed to be committed. Converted PR-8210 emulation over to using the actual MCU from the laserdisc player. This MCU controls low-level functions such as slider position and laser on/off, and receives decoded vertical blanking data in order to make decisions. Removed old HLE behavior. Note that the overlay text is displayed via the UI; this is temporary and will be fixed shortly. Converted Simutrek-hacked laserdisc emulation to using the actual MCU from the game, which in turn hands off commands to the PR-8210 MCU. This is still not 100% but is pretty close at this point and achieves the correct behaviors in most cases. Fixed Cube Quest overlay scaling to cover the whole screen. Changed laserdisc video parameters to position the screen area at the bottom rather than the top, since this corresponds more closely to standard line numbering. Extended the vbiparse code to support pack/unpack, and to more fully document all the meanings of the VBI codes. Updated ldplayer to support slow/fast forward movement, frame/chapter display, and separate controls for scanning/stepping. Added new built-in variable "frame" to the debugger. Fixed device-based ROM loading to support loading ROMs from the game's ZIP as well.
Diffstat (limited to 'src/emu/romload.c')
-rw-r--r--src/emu/romload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/romload.c b/src/emu/romload.c
index 4601bc24396..63d3cfb1f83 100644
--- a/src/emu/romload.c
+++ b/src/emu/romload.c
@@ -631,7 +631,7 @@ static int open_rom_file(running_machine *machine, rom_load_data *romdata, const
}
/* if the region is load by name, load the ROM from there */
- if (regiontag != NULL)
+ if (romdata->file == NULL && regiontag != NULL)
{
astring *fname = astring_assemble_3(astring_alloc(), regiontag, PATH_SEPARATOR, ROM_GETNAME(romp));
if (has_crc)