Skip to content

Commit

Permalink
fix safe mode dialog randomly appearing
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Nov 10, 2024
1 parent 76db126 commit 038788b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/load.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void tryShowForwardCompat() {
#ifdef GEODE_IS_WINDOWS
bool safeModeCheck() {
// yes this is quite funny
if (GetAsyncKeyState(VK_SHIFT) == 0) {
if (!(GetAsyncKeyState(VK_SHIFT) & (1 << 15))) {
return false;
}

Expand Down

0 comments on commit 038788b

Please sign in to comment.