Skip to content

Commit 54b650f

Browse files
committed
Reset view aspect in window_init()
1 parent 0f03386 commit 54b650f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/osd/libretro/window.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,9 @@ int retro_window_info::window_init()
401401
// reset sound timer (set in `sound_manager::update` to `retro_fps`)
402402
sound_timer = 0;
403403

404+
// reset machine aspect (set in `retro_window_info::update()`)
405+
view_aspect = 1;
406+
404407
// handle error conditions
405408
if (result == 1)
406409
goto error;

0 commit comments

Comments
 (0)