diff options
author | Bertrand Augereau | 2006-10-25 19:18:38 +0000 |
---|---|---|
committer | Bertrand Augereau | 2006-10-25 19:18:38 +0000 |
commit | 24b0d4800ae5e94a03232def0788d045d837499f (patch) | |
tree | 4331dfb607782bb7fd533c3ffa82f8565afddae2 /backends/platform/ds/arm9/source/dsmain.h | |
parent | 6eb7be9e377ce745695227d17e6b343b842f2eb3 (diff) | |
download | scummvm-rg350-24b0d4800ae5e94a03232def0788d045d837499f.tar.gz scummvm-rg350-24b0d4800ae5e94a03232def0788d045d837499f.tar.bz2 scummvm-rg350-24b0d4800ae5e94a03232def0788d045d837499f.zip |
DS backend : Compile fixes for the new backends system, still needs plugging the old callbacks
svn-id: r24504
Diffstat (limited to 'backends/platform/ds/arm9/source/dsmain.h')
-rw-r--r-- | backends/platform/ds/arm9/source/dsmain.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/ds/arm9/source/dsmain.h b/backends/platform/ds/arm9/source/dsmain.h index c6c4148cb7..20d9adcd25 100644 --- a/backends/platform/ds/arm9/source/dsmain.h +++ b/backends/platform/ds/arm9/source/dsmain.h @@ -23,7 +23,7 @@ #include <nds.h> #include "stdafx.h" -#include "system.h" +#include "osystem_ds.h" #include "scummconsole.h" #include "NDS/scummvm_ipc.h" @@ -63,12 +63,12 @@ void setTalkPos(int x, int y); void setTopScreenTarget(int x, int y); // Timers -void setTimerCallback(OSystem::TimerProc proc, int interval); // Setup a callback function at a regular interval +void setTimerCallback(OSystem_DS::TimerProc proc, int interval); // Setup a callback function at a regular interval int getMillis(); // Return the current runtime in milliseconds void doTimerCallback(); // Call callback function if required // Sound -void setSoundProc(OSystem::SoundProc proc, void* param); // Setup a callback function for sound +void setSoundProc(OSystem_DS::SoundProc proc, void* param); // Setup a callback function for sound void doSoundCallback(); // Call function if sound buffers need more data void playSound(const void* data, u32 length, bool loop, bool adpcm = false, int rate = 22050); // Start a sound void stopSound(int channel); |