Commit 00a7e82e authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Remove 'byte' typedef - was breaking PS2 build

parent 8402277a
Pipeline #31045 passed with stages
in 8 minutes and 48 seconds
......@@ -295,7 +295,7 @@ static INLINE unsigned short tlcsMemReadW(unsigned int addr)
{
#ifdef TARGET_GP2X
register unsigned short i asm("r0");
register byte *gA asm("r1");
register unsigned char *gA asm("r1");
gA = get_address(addr);
......@@ -313,7 +313,7 @@ static INLINE unsigned short tlcsMemReadW(unsigned int addr)
return i;
#else
/* unsigned short i;
byte *gA = get_address(addr);
unsigned char *gA = get_address(addr);
if(gA == 0)
return 0;
......@@ -332,7 +332,7 @@ static INLINE unsigned int tlcsMemReadL(unsigned int addr)
{
#ifdef TARGET_GP2X
register unsigned int i asm("r0");
register byte *gA asm("r4");
register unsigned char *gA asm("r4");
gA = get_address(addr);
......@@ -354,7 +354,7 @@ static INLINE unsigned int tlcsMemReadL(unsigned int addr)
return i;
#else
unsigned int i;
byte *gA = get_address(addr);
unsigned char *gA = get_address(addr);
if(gA == 0)
return 0;
......
......@@ -13,7 +13,6 @@
#include <stdint.h>
#define DWORD unsigned int
#define byte unsigned char
#define _u8 unsigned char
#define Uint8 unsigned char
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment