ldplayer: fix compile, still crashes on startup (no whatsnew)

This commit is contained in:
R. Belmont 2011-03-05 19:46:52 +00:00
parent 226a2c5a22
commit 0ceaf2f121

View File

@ -117,7 +117,7 @@ static chd_file *get_disc(device_t *device)
if (filerr == FILERR_NONE) if (filerr == FILERR_NONE)
{ {
/* try to open the CHD */ /* try to open the CHD */
chderr = chd_open_file(image_file, CHD_OPEN_READ, NULL, &image_chd); chderr = chd_open_file(*image_file, CHD_OPEN_READ, NULL, &image_chd);
if (chderr == CHDERR_NONE) if (chderr == CHDERR_NONE)
{ {
set_disk_handle(*device->machine, "laserdisc", *image_file, *image_chd); set_disk_handle(*device->machine, "laserdisc", *image_file, *image_chd);