diff options
author | aliaspider | 2014-10-29 09:21:38 +0100 |
---|---|---|
committer | aliaspider | 2014-10-29 09:21:38 +0100 |
commit | 44476d7bda0a3b90bb71f379cc78614b6f66906d (patch) | |
tree | 3384185307c9c0ea35156753337ec4026c997356 /source/ppu.c | |
parent | 761d752569b9bad6bdb755e91ca9e345cfb2788d (diff) | |
download | snes9x2005-44476d7bda0a3b90bb71f379cc78614b6f66906d.tar.gz snes9x2005-44476d7bda0a3b90bb71f379cc78614b6f66906d.tar.bz2 snes9x2005-44476d7bda0a3b90bb71f379cc78614b6f66906d.zip |
remove more C++ code.
Diffstat (limited to 'source/ppu.c')
-rw-r--r-- | source/ppu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/ppu.c b/source/ppu.c index 4a22ede..3820ce3 100644 --- a/source/ppu.c +++ b/source/ppu.c @@ -2364,7 +2364,7 @@ void S9xProcessMouse (int which1) int x, y; uint32 buttons; - if ((IPPU.Controller == SNES_MOUSE || IPPU.Controller == SNES_MOUSE_SWAPPED) && S9xReadMousePosition (which1, x, y, buttons)) + if ((IPPU.Controller == SNES_MOUSE || IPPU.Controller == SNES_MOUSE_SWAPPED) && S9xReadMousePosition (which1, &x, &y, &buttons)) { int delta_x, delta_y; #define MOUSE_SIGNATURE 0x1 @@ -2432,7 +2432,7 @@ void ProcessSuperScope () uint32 buttons; if (IPPU.Controller == SNES_SUPERSCOPE && - S9xReadSuperScopePosition (x, y, buttons)) + S9xReadSuperScopePosition (&x, &y, &buttons)) { #define SUPERSCOPE_SIGNATURE 0x00ff uint32 scope; @@ -2535,7 +2535,7 @@ void S9xUpdateJustifiers() if(Memory.FillRAM[0x4201]&0x80) { - S9xReadSuperScopePosition(x,y,buttons); + S9xReadSuperScopePosition(&x,&y,&buttons); x+=40; if (x > 295) |