X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=ppu.cpp;fp=ppu.cpp;h=7c22d69857daa05c367c6c1b52aa52c6983cf8f1;hb=9902256814785f0b3f08d336a98c481c296ac7e5;hp=7dcc9cf70aa10e2ce4f9b9f2d19b6e1a64197eba;hpb=8f77a3a3f10d94477f0c0734adfbd39e81173d6f;p=drnoksnes diff --git a/ppu.cpp b/ppu.cpp index 7dcc9cf..7c22d69 100644 --- a/ppu.cpp +++ b/ppu.cpp @@ -46,11 +46,7 @@ #include "apu.h" #include "dma.h" #include "gfx.h" -#include "display.h" #include "sa1.h" -#ifndef _SNESPPC -//#include "netplay.h" -#endif #include "sdd1.h" #include "srtc.h" @@ -2399,7 +2395,7 @@ void S9xProcessMouse(int which1) if ((IPPU.Controller == SNES_MOUSE || IPPU.Controller == SNES_MOUSE_SWAPPED) - && S9xReadMousePosition(which1, x, y, buttons)) + && S9xReadMousePosition(which1, &x, &y, &buttons)) { int delta_x, delta_y; #define MOUSE_SIGNATURE 0x1 @@ -2467,7 +2463,7 @@ void ProcessSuperScope() uint32 buttons; if (IPPU.Controller == SNES_SUPERSCOPE - && S9xReadSuperScopePosition(x, y, buttons)) + && S9xReadSuperScopePosition(&x, &y, &buttons)) { #define SUPERSCOPE_SIGNATURE 0x00ff uint32 scope;