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());
// lock_menu->callback(DesktopLockMenuEventExit, lock_menu->context);
} else if(idx == DesktopLockMenuIndexDummy) {
DOLPHIN_DEED(getRandomDeed());
// DOLPHIN_DEED(getRandomDeed());
if((dummy_mode == false) && (event->type == InputTypeShort)) {
lock_menu->callback(DesktopLockMenuEventDummyModeOn, lock_menu->context);
} else if((dummy_mode == true) && (event->type == InputTypeShort)) {
@@ -185,4 +185,4 @@ void desktop_lock_menu_free(DesktopLockMenuView* lock_menu_view) {
view_free(lock_menu_view->view);
free(lock_menu_view);
}
}