Skip to content

Commit 8159e21

Browse files
committed
Update __input_gamepad_set_type.gml
1 parent d3b254a commit 8159e21

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

scripts/__input_gamepad_set_type/__input_gamepad_set_type.gml

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ function __input_gamepad_set_type()
320320
if (__input_string_contains(__description, "JJ", "NeoGeo G1 Pro") && INPUT_ON_PC)
321321
{
322322
if (!__INPUT_SILENT) __input_trace("Overriding controller ", __index ," type to NeoGeo Mini");
323-
__description = "SNK NEOGEO Arcade Stick Pro";
323+
__description = "SNK NEOGEO Arcade Stick Pro";
324324
__raw_type = "CommunityNeoGeoMini";
325325
__guessed_type = false;
326326
}

scripts/input_any_pressed/input_any_pressed.gml

+7
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@
33

44
function input_any_pressed()
55
{
6+
__INPUT_GLOBAL_STATIC_LOCAL //Set static _global
7+
8+
if (_global.__cleared)
9+
{
10+
return false;
11+
}
12+
613
return input_source_detect_input(all, false);
714
}

0 commit comments

Comments
 (0)