fixed XP exploit having to do with swapping NSFW / SFW modes

This commit is contained in:
jbohack
2022-12-25 17:45:20 -05:00
parent 0b3771f401
commit 7d4d46f2bc

View File

@@ -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)) {