summaryrefslogtreecommitdiffstats
path: root/src/devices/sound/scspdsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/scspdsp.h')
-rw-r--r--src/devices/sound/scspdsp.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/sound/scspdsp.h b/src/devices/sound/scspdsp.h
index 319b3ebe099..7b8e4eda2dc 100644
--- a/src/devices/sound/scspdsp.h
+++ b/src/devices/sound/scspdsp.h
@@ -9,33 +9,33 @@
struct SCSPDSP
{
//Config
- UINT16 *SCSPRAM;
- UINT32 SCSPRAM_LENGTH;
- UINT32 RBP; //Ring buf pointer
- UINT32 RBL; //Delay ram (Ring buffer) size in words
+ uint16_t *SCSPRAM;
+ uint32_t SCSPRAM_LENGTH;
+ uint32_t RBP; //Ring buf pointer
+ uint32_t RBL; //Delay ram (Ring buffer) size in words
//context
- INT16 COEF[64]; //16 bit signed
- UINT16 MADRS[32]; //offsets (in words), 16 bit
- UINT16 MPRO[128*4]; //128 steps 64 bit
- INT32 TEMP[128]; //TEMP regs,24 bit signed
- INT32 MEMS[32]; //MEMS regs,24 bit signed
- UINT32 DEC;
+ int16_t COEF[64]; //16 bit signed
+ uint16_t MADRS[32]; //offsets (in words), 16 bit
+ uint16_t MPRO[128*4]; //128 steps 64 bit
+ int32_t TEMP[128]; //TEMP regs,24 bit signed
+ int32_t MEMS[32]; //MEMS regs,24 bit signed
+ uint32_t DEC;
//input
- INT32 MIXS[16]; //MIXS, 24 bit signed
- INT16 EXTS[2]; //External inputs (CDDA) 16 bit signed
+ int32_t MIXS[16]; //MIXS, 24 bit signed
+ int16_t EXTS[2]; //External inputs (CDDA) 16 bit signed
//output
- INT16 EFREG[16]; //EFREG, 16 bit signed
+ int16_t EFREG[16]; //EFREG, 16 bit signed
int Stopped;
int LastStep;
};
void SCSPDSP_Init(SCSPDSP *DSP);
-void SCSPDSP_SetSample(SCSPDSP *DSP, INT32 sample, INT32 SEL, INT32 MXL);
+void SCSPDSP_SetSample(SCSPDSP *DSP, int32_t sample, int32_t SEL, int32_t MXL);
void SCSPDSP_Step(SCSPDSP *DSP);
void SCSPDSP_Start(SCSPDSP *DSP);