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.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1254 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
2c0c5daf94
commit
7f20dd8073
|
@ -2658,50 +2658,70 @@ bool systemCanChangeSoundQuality()
|
||||||
|
|
||||||
bool systemPauseOnFrame()
|
bool systemPauseOnFrame()
|
||||||
{
|
{
|
||||||
if(pauseNextFrame) {
|
if(pauseNextFrame) {
|
||||||
paused = true;
|
paused = true;
|
||||||
pauseNextFrame = false;
|
pauseNextFrame = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void systemGbBorderOn()
|
void systemGbBorderOn()
|
||||||
{
|
{
|
||||||
srcWidth = 256;
|
srcWidth = 256;
|
||||||
srcHeight = 224;
|
srcHeight = 224;
|
||||||
gbBorderLineSkip = 256;
|
gbBorderLineSkip = 256;
|
||||||
gbBorderColumnSkip = 48;
|
gbBorderColumnSkip = 48;
|
||||||
gbBorderRowSkip = 40;
|
gbBorderRowSkip = 40;
|
||||||
|
|
||||||
sdlInitVideo();
|
sdlInitVideo();
|
||||||
|
|
||||||
filterFunction = initFilter(filter, systemColorDepth, srcWidth);
|
filterFunction = initFilter(filter, systemColorDepth, srcWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool systemReadJoypads()
|
bool systemReadJoypads()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 systemReadJoypad(int which)
|
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()
|
||||||
{
|
{
|
||||||
return inputGetSensorX();
|
return inputGetSensorX();
|
||||||
}
|
}
|
||||||
|
|
||||||
int systemGetSensorY()
|
int systemGetSensorY()
|
||||||
{
|
{
|
||||||
return inputGetSensorY();
|
return inputGetSensorY();
|
||||||
|
}
|
||||||
|
|
||||||
|
int systemGetSensorZ()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
u8 systemGetSensorDarkness()
|
||||||
|
{
|
||||||
|
//return sensorDarkness;
|
||||||
}
|
}
|
||||||
|
|
||||||
SoundDriver * systemSoundInit()
|
SoundDriver * systemSoundInit()
|
||||||
|
|
|
@ -619,3 +619,4 @@ EPad inputGetDefaultJoypad()
|
||||||
{
|
{
|
||||||
return sdlDefaultJoypad;
|
return sdlDefaultJoypad;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue