aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2014-11-29 11:16:46 +0100
committeraliaspider2014-11-29 11:16:46 +0100
commitade41a04bd3c89c0e89a3f2b17c772accb57a625 (patch)
treed5b12498767b8ce28d10a36f4b6b16044b60df9d
parent66002fa1812ca3f4e6bf9f1a10617e98ff4353e5 (diff)
downloadsnes9x2005-ade41a04bd3c89c0e89a3f2b17c772accb57a625.tar.gz
snes9x2005-ade41a04bd3c89c0e89a3f2b17c772accb57a625.tar.bz2
snes9x2005-ade41a04bd3c89c0e89a3f2b17c772accb57a625.zip
build fix
-rw-r--r--source/seta010.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/seta010.c b/source/seta010.c
index de1ef1e..1b92e8d 100644
--- a/source/seta010.c
+++ b/source/seta010.c
@@ -490,7 +490,7 @@ void S9xSetST010(uint32_t Address, uint8_t Byte)
/* TODO - FIXME */
ST010_Scale(*(short*)&Memory.SRAM[0x0004], *(short*)&Memory.SRAM[0x0000],
*(short*)&Memory.SRAM[0x0002],
- (int &)Memory.SRAM[0x0010], (int&)Memory.SRAM[0x0014]);
+ (int*)&Memory.SRAM[0x0010], (int*)&Memory.SRAM[0x0014]);
#else
int x1, y1;
@@ -522,7 +522,7 @@ void S9xSetST010(uint32_t Address, uint8_t Byte)
#if defined(FAST_LSB_WORD_ACCESS) && !defined(ANDROID)
/* TODO - FIXME */
ST010_Multiply(*(short*)&Memory.SRAM[0x0000], *(short*)&Memory.SRAM[0x0002],
- (int &) Memory.SRAM[0x0010]);
+ (int*)&Memory.SRAM[0x0010]);
#else
int Product;
@@ -600,7 +600,7 @@ void S9xSetST010(uint32_t Address, uint8_t Byte)
/* TODO - FIXME */
ST010_Rotate(*(short*)&Memory.SRAM[0x0004], *(short*)&Memory.SRAM[0x0000],
*(short*)&Memory.SRAM[0x0002],
- (short &) Memory.SRAM[0x0010], (short &) Memory.SRAM[0x0012]);
+ (short*)&Memory.SRAM[0x0010], (short*)&Memory.SRAM[0x0012]);
#else
short x1, y1;