aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorMatthew Hoops2015-09-30 00:25:24 -0400
committerJohannes Schickel2016-03-13 13:53:35 +0100
commit30e68efac41a96e97fc9d42d0b7f9903e76ccfb5 (patch)
treea2480424a8b917b683d0dcb3280625cef3349e49 /backends/platform
parentec5df573cbd8ea33e0ee34f27cc7d732485f3ed1 (diff)
downloadscummvm-rg350-30e68efac41a96e97fc9d42d0b7f9903e76ccfb5.tar.gz
scummvm-rg350-30e68efac41a96e97fc9d42d0b7f9903e76ccfb5.tar.bz2
scummvm-rg350-30e68efac41a96e97fc9d42d0b7f9903e76ccfb5.zip
BACKENDS: Add a closeCD() function to the AudioCDManager
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/dc/dc.h3
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/dc/dc.h b/backends/platform/dc/dc.h
index 80e484f6f8..b49080324d 100644
--- a/backends/platform/dc/dc.h
+++ b/backends/platform/dc/dc.h
@@ -60,6 +60,9 @@ class DCCDManager : public DefaultAudioCDManager {
// Initialize the specified CD drive for audio playback.
bool openCD();
+ // Close the open CD drive
+ void closeCD() {}
+
// Poll cdrom status
// Returns true if cd audio is playing
bool pollCD();
diff --git a/backends/platform/ds/arm9/source/osystem_ds.h b/backends/platform/ds/arm9/source/osystem_ds.h
index 9b66e24b88..9f73e125c2 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.h
+++ b/backends/platform/ds/arm9/source/osystem_ds.h
@@ -131,6 +131,7 @@ public:
// and should be replaced by an AudioCDManager subclass,
// see backends/audiocd/ and common/system.h
virtual bool openCD();
+ virtual void closeCD() {}
virtual bool pollCD();
virtual void playCD(int track, int num_loops, int start_frame, int duration);
virtual void stopCD();