mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 07:27:59 -05:00
fix safe mode dialog randomly appearing
This commit is contained in:
parent
76db1268bf
commit
038788bf57
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue