Skip to content

Commit 6486f38

Browse files
committed
Only use LR pause in gen 2
1 parent 14f9827 commit 6486f38

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

3gx/sources/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ static bool is_paused = false;
1818

1919
void handle_freeze(bool isTopScreen)
2020
{
21-
if (host_is_just_pressed(KEY_START | KEY_SELECT) || host_is_just_pressed(KEY_L | KEY_R))
21+
u64 masked_title_id = get_title_id() & 0xfff000;
22+
bool is_gen_2 = masked_title_id == 0x172000 || masked_title_id == 0x173000;
23+
if (host_is_just_pressed(KEY_START | KEY_SELECT) || (is_gen_2 && host_is_just_pressed(KEY_L | KEY_R)))
2224
{
2325
is_paused = true;
2426
}

0 commit comments

Comments
 (0)