mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-01 07:30:45 +00:00
Refactor : excise LPBYTE, LPLONG
This commit is contained in:
parent
8cba7de872
commit
e63afea069
@ -22,7 +22,7 @@ typedef struct IDirectSoundBuffer {
|
||||
|
||||
int (*SetVolume)(void* _this, long lVolume);
|
||||
|
||||
int (*GetVolume)(void* _this, LPLONG lplVolume);
|
||||
int (*GetVolume)(void* _this, long *lplVolume);
|
||||
|
||||
int (*GetCurrentPosition)(void* _this, LPDWORD lpdwCurrentPlayCursor, LPDWORD lpdwCurrentWriteCursor);
|
||||
|
||||
|
@ -1918,7 +1918,7 @@ static void RegisterIoHandler(UINT uSlot, iofunction IOReadC0, iofunction IOWrit
|
||||
}
|
||||
#endif
|
||||
|
||||
void MB_InitializeIO(LPBYTE unused_pCxRomPeripheral, UINT uSlot4, UINT uSlot5)
|
||||
void MB_InitializeIO(char *unused_pCxRomPeripheral, UINT uSlot4, UINT uSlot5)
|
||||
{
|
||||
// Mockingboard: Slot 4 & 5
|
||||
// Phasor : Slot 4
|
||||
|
@ -100,7 +100,7 @@ void MB_Initialize();
|
||||
void MB_Reinitialize();
|
||||
void MB_Destroy();
|
||||
void MB_Reset();
|
||||
void MB_InitializeIO(LPBYTE pCxRomPeripheral, UINT uSlot4, UINT uSlot5);
|
||||
void MB_InitializeIO(char *pCxRomPeripheral, UINT uSlot4, UINT uSlot5);
|
||||
void MB_Mute();
|
||||
void MB_Demute();
|
||||
void MB_StartOfCpuExecute();
|
||||
|
@ -725,7 +725,7 @@ static long OpenALCreateSoundBuffer(ALBufferParamsStruct *params, ALSoundBufferS
|
||||
|
||||
(*soundbuf_struct)->_this = voice;
|
||||
(*soundbuf_struct)->SetVolume = (int (*)(void *, long))ALSetVolume;
|
||||
(*soundbuf_struct)->GetVolume = (int (*)(void *, LPLONG))ALGetVolume;
|
||||
(*soundbuf_struct)->GetVolume = (int (*)(void *, long *))ALGetVolume;
|
||||
(*soundbuf_struct)->GetCurrentPosition = (int (*)(void *, LPDWORD, LPDWORD))ALGetPosition;
|
||||
(*soundbuf_struct)->Stop = (int (*)(void *))ALStop;
|
||||
(*soundbuf_struct)->Restore = (int (*)(void *))ALRestore;
|
||||
|
@ -27,10 +27,8 @@
|
||||
|
||||
typedef unsigned int UINT;
|
||||
|
||||
typedef long *LPLONG;
|
||||
typedef void *LPVOID;
|
||||
typedef void *LPDVOID;
|
||||
typedef char *LPBYTE;
|
||||
typedef unsigned long *LPDWORD;
|
||||
|
||||
#if !defined(TRUE)
|
||||
|
Loading…
Reference in New Issue
Block a user