diff options
author | 2008-08-17 15:02:15 +0000 | |
---|---|---|
committer | 2008-08-17 15:02:15 +0000 | |
commit | ab1030258c187b8712dc9abc26848c16349d0716 (patch) | |
tree | eb6086696c3e044a9656798779890f0365fc66d8 /src/emu | |
parent | 3297ac117d22e7a8f9bc891b4c307230c9c1cfec (diff) |
Some MESS specific changes
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/machine/scsicd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emu/machine/scsicd.c b/src/emu/machine/scsicd.c index fb877b9a5ba..41008469e02 100644 --- a/src/emu/machine/scsicd.c +++ b/src/emu/machine/scsicd.c @@ -10,6 +10,7 @@ #include "sound/cdda.h" #ifdef MESS #include "devices/chd_cd.h" +#include "deprecat.h" #endif #include "scsicd.h" @@ -694,7 +695,8 @@ static void scsicd_alloc_instance( SCSIInstance *scsiInstance, const char *diskr state_save_register_item( tag, 0, our_this->play_err_flag ); #ifdef MESS - our_this->cdrom = mess_cd_get_cdrom_file_by_number( diskregion ); + /* TODO: get rid of this ifdef MESS section */ + our_this->cdrom = mess_cd_get_cdrom_file( device_list_find_by_tag( Machine->config->devicelist, CDROM, "cdrom" ) ); #else our_this->cdrom = cdrom_open(get_disk_handle( diskregion )); |