diff options
Diffstat (limited to 'src/savage_bci.h')
-rw-r--r-- | src/savage_bci.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/savage_bci.h b/src/savage_bci.h index f5d44e3..0c57957 100644 --- a/src/savage_bci.h +++ b/src/savage_bci.h @@ -10,10 +10,10 @@ dword |= (temp & 0xFF0000) >> 8; \ dword |= (temp & 0xFF000000) >> 24; } -#define BCI_GET_PTR volatile unsigned int * bci_ptr = (unsigned int *) psav->BciMem -#define BCI_RESET bci_ptr = (unsigned int *) psav->BciMem +#define BCI_GET_PTR volatile CARD32 * bci_ptr = (CARD32 *) psav->BciMem +#define BCI_RESET bci_ptr = (CARD32 *) psav->BciMem -#define BCI_SEND(dw) (*bci_ptr++ = (unsigned int)(dw)) +#define BCI_SEND(dw) (*bci_ptr++ = (CARD32)(dw)) #define BCI_CMD_NOP 0x40000000 #define BCI_CMD_RECT 0x48000000 |