mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 07:38:35 -07:00
fixed XP exploit having to do with swapping NSFW / SFW modes
This commit is contained in:
@@ -156,7 +156,7 @@ bool desktop_lock_menu_input_callback(InputEvent* event, void* context) {
|
|||||||
// DOLPHIN_DEED(getRandomDeed());
|
// DOLPHIN_DEED(getRandomDeed());
|
||||||
// lock_menu->callback(DesktopLockMenuEventExit, lock_menu->context);
|
// lock_menu->callback(DesktopLockMenuEventExit, lock_menu->context);
|
||||||
} else if(idx == DesktopLockMenuIndexDummy) {
|
} else if(idx == DesktopLockMenuIndexDummy) {
|
||||||
DOLPHIN_DEED(getRandomDeed());
|
// DOLPHIN_DEED(getRandomDeed());
|
||||||
if((dummy_mode == false) && (event->type == InputTypeShort)) {
|
if((dummy_mode == false) && (event->type == InputTypeShort)) {
|
||||||
lock_menu->callback(DesktopLockMenuEventDummyModeOn, lock_menu->context);
|
lock_menu->callback(DesktopLockMenuEventDummyModeOn, lock_menu->context);
|
||||||
} else if((dummy_mode == true) && (event->type == InputTypeShort)) {
|
} else if((dummy_mode == true) && (event->type == InputTypeShort)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user