[Glide64] Convert wxUint8 to uint8_t

This commit is contained in:
zilmar 2016-01-25 05:45:15 +11:00
parent bcba810c66
commit a45d503e99
1 changed files with 11 additions and 10 deletions

View File

@ -313,12 +313,13 @@ extern "C" {
/* If DLL supports memory these memory options then set them to TRUE or FALSE
if it does not support it */
int NormalMemory; /* a normal wxUint8 array */
int MemoryBswaped; /* a normal wxUint8 array where the memory has been pre
int NormalMemory; /* a normal uint8_t array */
int MemoryBswaped; /* a normal uint8_t array where the memory has been pre
bswap on a dword (32 bits) boundry */
} PLUGIN_INFO;
typedef struct {
typedef struct
{
HWND hWnd; /* Render window */
HWND hStatusBar; /* if render window does not have a status bar then this is NULL */
@ -327,11 +328,11 @@ extern "C" {
// eg. the first 8 bytes are stored like this:
// 4 3 2 1 8 7 6 5
wxUint8 * HEADER; // This is the rom header (first 40h bytes of the rom
uint8_t * HEADER; // This is the rom header (first 40h bytes of the rom
// This will be in the same memory format as the rest of the memory.
wxUint8 * RDRAM;
wxUint8 * DMEM;
wxUint8 * IMEM;
uint8_t * RDRAM;
uint8_t * DMEM;
uint8_t * IMEM;
uint32_t * MI_INTR_REG;
@ -596,7 +597,7 @@ extern "C" {
frame buffer has been modified by CPU at the given address.
input: addr rdram address
val val
size 1 = wxUint8, 2 = uint16_t, 4 = uint32_t
size 1 = uint8_t, 2 = uint16_t, 4 = uint32_t
output: none
*******************************************************************/
EXPORT void CALL FBWrite(uint32_t, uint32_t);
@ -605,7 +606,7 @@ extern "C" {
{
uint32_t addr;
uint32_t val;
uint32_t size; // 1 = wxUint8, 2 = uint16_t, 4=uint32_t
uint32_t size; // 1 = uint8_t, 2 = uint16_t, 4=uint32_t
} FrameBufferModifyEntry;
/******************************************************************
@ -630,7 +631,7 @@ extern "C" {
is read within the same 4KB range
input: addr rdram address
val val
size 1 = wxUint8, 2 = uint16_t, 4 = uint32_t
size 1 = uint8_t, 2 = uint16_t, 4 = uint32_t
output: none
*******************************************************************/
EXPORT void CALL FBRead(uint32_t addr);