intial fix for solarsensor that skid implemented. Will add functioning code after, for now it will allow users to compile at least the SDL interface.
This commit is contained in:
parent
b31989e82f
commit
efd5c1b483
|
@ -2688,10 +2688,20 @@ u32 systemReadJoypad(int which)
|
||||||
{
|
{
|
||||||
return inputReadJoypad(which);
|
return inputReadJoypad(which);
|
||||||
}
|
}
|
||||||
|
//static u8 sensorDarkness = 0xE8; // total darkness (including daylight on rainy days)
|
||||||
|
|
||||||
|
void systemUpdateSolarSensor()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void systemCartridgeRumble(bool)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void systemUpdateMotionSensor()
|
void systemUpdateMotionSensor()
|
||||||
{
|
{
|
||||||
inputUpdateMotionSensor();
|
inputUpdateMotionSensor();
|
||||||
|
systemUpdateSolarSensor();
|
||||||
}
|
}
|
||||||
|
|
||||||
int systemGetSensorX()
|
int systemGetSensorX()
|
||||||
|
@ -2704,6 +2714,16 @@ int systemGetSensorY()
|
||||||
return inputGetSensorY();
|
return inputGetSensorY();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int systemGetSensorZ()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
u8 systemGetSensorDarkness()
|
||||||
|
{
|
||||||
|
//return sensorDarkness;
|
||||||
|
}
|
||||||
|
|
||||||
SoundDriver * systemSoundInit()
|
SoundDriver * systemSoundInit()
|
||||||
{
|
{
|
||||||
soundShutdown();
|
soundShutdown();
|
||||||
|
|
|
@ -619,3 +619,4 @@ EPad inputGetDefaultJoypad()
|
||||||
{
|
{
|
||||||
return sdlDefaultJoypad;
|
return sdlDefaultJoypad;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue