#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"
void S9xFixColourBrightness ()
{
IPPU.XB = mul_brightness [PPU.Brightness];
-#ifndef _SNESPPC
- if (Settings.SixteenBit)
-#endif
- {
for (int i = 0; i < 256; i++)
{
IPPU.Red [i] = IPPU.XB [PPU.CGDATA [i] & 0x1f];
IPPU.ScreenColors [i] = BUILD_PIXEL (IPPU.Red [i], IPPU.Green [i],
IPPU.Blue [i]);
}
- }
}
/**********************************************************************************************/
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
uint32 buttons;
if (IPPU.Controller == SNES_SUPERSCOPE
- && S9xReadSuperScopePosition(x, y, buttons))
+ && S9xReadSuperScopePosition(&x, &y, &buttons))
{
#define SUPERSCOPE_SIGNATURE 0x00ff
uint32 scope;