From 21653173edf20f907a3cac9290fb3e8ebb944649 Mon Sep 17 00:00:00 2001 From: Mahyar Koshkouei Date: Tue, 2 Jan 2018 15:31:55 +0000 Subject: [PATCH] Fix audio stop of fullscreen Signed-off-by: Mahyar Koshkouei --- mpv-libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpv-libretro.c b/mpv-libretro.c index 5ded32c..dd80adb 100644 --- a/mpv-libretro.c +++ b/mpv-libretro.c @@ -42,6 +42,7 @@ void retro_init(void) void retro_deinit(void) { + mpv_terminate_destroy(mpv); return; } @@ -170,7 +171,6 @@ static void context_destroy(void) filepath = NULL; mpv_opengl_cb_uninit_gl(mpv_gl); - mpv_terminate_destroy(mpv); log_cb(RETRO_LOG_INFO, "Context destroyed.\n"); }