Skip to content

Commit 71654c8

Browse files
committed
Go back one screen after entering password
1 parent 737f2cc commit 71654c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ASM/c/file_select.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ void manage_password(z64_disp_buf_t* db, z64_menudata_t* menu_data) {
179179
extended->password[i] = buffer_password[i];
180180
}
181181
Sram_WriteSave(NULL, file);
182+
// Go back to main file select to avoid starting the game by error.
183+
menu_data->menu_transition++;
182184
return;
183185
} else {
184186
if (z64_game.common.input[0].pad_pressed.a) {

0 commit comments

Comments
 (0)