aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorRaphaƫl Zumer <rzumer@tebako.net>2021-05-16 11:18:24 -0400
committerGitHub <noreply@github.com>2021-05-16 17:18:24 +0200
commiteb7bedfc79d9c86ea4628dd12293d17d28dfcfef (patch)
treea9f5a715f6061710aca2fde93dcf5120411e822e /src/frontend
parent509107fb59bfcdeec8ce5b475e49326236b22038 (diff)
Remove outdated frontend solar sensor code (#1102)
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/qt_sdl/main.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index 63c8821..71ab896 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -382,23 +382,6 @@ void EmuThread::run()
if (Input::HotkeyPressed(HK_SwapScreens)) emit swapScreensToggle();
- /*if (GBACart::CartInserted && GBACart::HasSolarSensor)
- {
- if (Input::HotkeyPressed(HK_SolarSensorDecrease))
- {
- if (GBACart_SolarSensor::LightLevel > 0) GBACart_SolarSensor::LightLevel--;
- char msg[64];
- sprintf(msg, "Solar sensor level set to %d", GBACart_SolarSensor::LightLevel);
- OSD::AddMessage(0, msg);
- }
- if (Input::HotkeyPressed(HK_SolarSensorIncrease))
- {
- if (GBACart_SolarSensor::LightLevel < 10) GBACart_SolarSensor::LightLevel++;
- char msg[64];
- sprintf(msg, "Solar sensor level set to %d", GBACart_SolarSensor::LightLevel);
- OSD::AddMessage(0, msg);
- }
- }*/
if (Input::HotkeyPressed(HK_SolarSensorDecrease))
{
int level = GBACart::SetInput(GBACart::Input_SolarSensorDown, true);