diff options
author | Max Horn | 2003-07-22 20:36:43 +0000 |
---|---|---|
committer | Max Horn | 2003-07-22 20:36:43 +0000 |
commit | 73e7afaf180b28daa561c7c24908f104be44858e (patch) | |
tree | 6adaa18785fcc4f51222035891e60caa7fdb1b15 /backends/morphos/morphos.cpp | |
parent | d15039d2e4f63a1c8c3cefe64bc8e8bb4364aa77 (diff) | |
download | scummvm-rg350-73e7afaf180b28daa561c7c24908f104be44858e.tar.gz scummvm-rg350-73e7afaf180b28daa561c7c24908f104be44858e.tar.bz2 scummvm-rg350-73e7afaf180b28daa561c7c24908f104be44858e.zip |
adjusted to play_cdrom parameter name change in common/system.h
svn-id: r9132
Diffstat (limited to 'backends/morphos/morphos.cpp')
-rw-r--r-- | backends/morphos/morphos.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/morphos/morphos.cpp b/backends/morphos/morphos.cpp index 3905522be1..04def0ebe0 100644 --- a/backends/morphos/morphos.cpp +++ b/backends/morphos/morphos.cpp @@ -446,7 +446,7 @@ uint32 OSystem_MorphOS::property(int param, Property *value) return 0; } -void OSystem_MorphOS::play_cdrom(int track, int num_loops, int start_frame, int length) +void OSystem_MorphOS::play_cdrom(int track, int num_loops, int start_frame, int duration) { if (CDrive && start_frame >= 0) { @@ -455,8 +455,8 @@ void OSystem_MorphOS::play_cdrom(int track, int num_loops, int start_frame, int PlayTags[0].ti_Data = track; PlayTags[1].ti_Data = start_frame; - PlayTags[2].ti_Data = (length == 0) ? track+1 : track; - PlayTags[3].ti_Data = length ? start_frame+length : 0; + PlayTags[2].ti_Data = (duration == 0) ? track+1 : track; + PlayTags[3].ti_Data = duration ? start_frame+duration : 0; PlayTags[4].ti_Data = (num_loops == 0) ? 1 : num_loops; CDDA_PlayA(CDrive, PlayTags); } |