Skip to content

Commit 5ee2176

Browse files
committed
Make date spam Switch type detection work in German.
1 parent b4af7dc commit 5ee2176

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SerialPrograms/Source/NintendoSwitch/Programs/DateSpam/NintendoSwitch2_HomeToDateTime.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ConsoleType settings_detect_console_type(
3939
detector.make_overlays(overlays);
4040

4141
ssf_do_nothing(context, 500ms);
42-
for (size_t c = 0; c < 5; c++){
42+
for (size_t c = 0; c < 6; c++){
4343
ssf_issue_scroll(context, SSF_SCROLL_DOWN, 200ms, 100ms, 100ms);
4444
}
4545
ssf_do_nothing(context, 500ms);
@@ -49,7 +49,7 @@ ConsoleType settings_detect_console_type(
4949
// snapshot->save("screenshot.png");
5050
size_t sliders = detector.detect(snapshot).size();
5151
switch (sliders){
52-
case 2:
52+
case 1:
5353
console.state().set_console_type(console, ConsoleType::Switch2_FW20_International);
5454
break;
5555
case 3:
@@ -66,7 +66,7 @@ ConsoleType settings_detect_console_type(
6666
console.log(std::string("Detected console type as: ") + ConsoleType_strings(console_type));
6767

6868
// Scroll back up.
69-
for (size_t c = 0; c < 6; c++){
69+
for (size_t c = 0; c < 7; c++){
7070
ssf_issue_scroll(context, SSF_SCROLL_UP, 200ms, 100ms, 100ms);
7171
}
7272
ssf_do_nothing(context, 500ms);

0 commit comments

Comments
 (0)