aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
authorMax Horn2003-05-29 22:34:35 +0000
committerMax Horn2003-05-29 22:34:35 +0000
commite08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939 (patch)
tree7cfaf7553bc2f0bb3a7f0ac092cf85a287288879 /backends/dc
parent54b8fd8ce1488c82a8e123586dfce9000e3ba6c7 (diff)
downloadscummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.tar.gz
scummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.tar.bz2
scummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.zip
more OSystem docs & cleanup
svn-id: r8118
Diffstat (limited to 'backends/dc')
-rw-r--r--backends/dc/audio.cpp3
-rw-r--r--backends/dc/dc.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/backends/dc/audio.cpp b/backends/dc/audio.cpp
index 0b0cb8c639..526d8cbbef 100644
--- a/backends/dc/audio.cpp
+++ b/backends/dc/audio.cpp
@@ -34,8 +34,7 @@ void initSound()
do_sound_command(CMD_SET_BUFFER(3));
}
-bool OSystem_Dreamcast::set_sound_proc(void *param, SoundProc *proc,
- byte format)
+bool OSystem_Dreamcast::set_sound_proc(SoundProc *proc, void *param, SoundFormat format)
{
#if SAMPLE_MODE == 0
assert(format == SOUND_16BIT);
diff --git a/backends/dc/dc.h b/backends/dc/dc.h
index 5dff783657..56cdb8dd00 100644
--- a/backends/dc/dc.h
+++ b/backends/dc/dc.h
@@ -48,7 +48,7 @@ class OSystem_Dreamcast : public OSystem {
bool poll_event(Event *event);
// Set function that generates samples
- bool set_sound_proc(void *param, SoundProc *proc, byte sound);
+ bool set_sound_proc(SoundProc *proc, void *param, SoundFormat format);
// Poll cdrom status
// Returns true if cd audio is playing