aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/commoninclude
diff options
context:
space:
mode:
authorMax Horn2010-07-05 19:10:56 +0000
committerMax Horn2010-07-05 19:10:56 +0000
commit5d25d3821a680ba9dd034595638be8c975de3dd2 (patch)
treef34d1cc320ac04dcb0474635d7d18289b26fac49 /backends/platform/ds/commoninclude
parent68d620ccab1be965c8b0f7373cb1280e11244139 (diff)
downloadscummvm-rg350-5d25d3821a680ba9dd034595638be8c975de3dd2.tar.gz
scummvm-rg350-5d25d3821a680ba9dd034595638be8c975de3dd2.tar.bz2
scummvm-rg350-5d25d3821a680ba9dd034595638be8c975de3dd2.zip
DS: Only include NDS/scummvm_ipc.h where necessary; minor tweaks
svn-id: r50702
Diffstat (limited to 'backends/platform/ds/commoninclude')
-rw-r--r--backends/platform/ds/commoninclude/NDS/scummvm_ipc.h36
1 files changed, 17 insertions, 19 deletions
diff --git a/backends/platform/ds/commoninclude/NDS/scummvm_ipc.h b/backends/platform/ds/commoninclude/NDS/scummvm_ipc.h
index c762d1acd1..e0cda4d972 100644
--- a/backends/platform/ds/commoninclude/NDS/scummvm_ipc.h
+++ b/backends/platform/ds/commoninclude/NDS/scummvm_ipc.h
@@ -33,31 +33,29 @@
//////////////////////////////////////////////////////////////////////
-typedef struct sTransferSoundData {
-//---------------------------------------------------------------------------------
- const void *data;
- u32 len;
- u32 rate;
- u8 vol;
- u8 pan;
- u8 format;
- u8 PADDING;
-} TransferSoundData, * pTransferSoundData;
+typedef struct {
+ const void *data;
+ u32 len;
+ u32 rate;
+ u8 vol;
+ u8 pan;
+ u8 format;
+ u8 PADDING;
+} TransferSoundData;
//---------------------------------------------------------------------------------
-typedef struct sTransferSound {
-//---------------------------------------------------------------------------------
- TransferSoundData data[16];
- u8 count;
- u8 PADDING[3];
-} TransferSound, * pTransferSound;
+typedef struct {
+ TransferSoundData data[16];
+ u8 count;
+ u8 PADDING[3];
+} TransferSound;
-typedef struct _adpcmBuffer {
+typedef struct {
u8 *buffer[8];
bool filled[8];
u8 *arm7Buffer[8];
@@ -97,7 +95,7 @@ typedef struct scummvmTransferRegion {
uint16 battery; // battery life ?? hopefully. :)
uint16 aux; // i have no idea...
- pTransferSound soundData;
+ TransferSound *soundData;
adpcmBuffer adpcm;
@@ -127,7 +125,7 @@ typedef struct scummvmTransferRegion {
// Streaming sound
bool streamFillNeeded[4];
int streamPlayingSection;
-} scummTransferRegion, * pscummTransferRegion;
+} scummTransferRegion;
//////////////////////////////////////////////////////////////////////