aboutsummaryrefslogtreecommitdiff
path: root/source/seta010.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/seta010.c')
-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;