mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -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
|
#ifdef GEODE_IS_WINDOWS
|
||||||
bool safeModeCheck() {
|
bool safeModeCheck() {
|
||||||
// yes this is quite funny
|
// yes this is quite funny
|
||||||
if (GetAsyncKeyState(VK_SHIFT) == 0) {
|
if (!(GetAsyncKeyState(VK_SHIFT) & (1 << 15))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue