Fix audio stop of fullscreen

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
This commit is contained in:
Mahyar Koshkouei 2018-01-02 15:31:55 +00:00
parent a376bc5cb8
commit 21653173ed
1 changed files with 1 additions and 1 deletions

View File

@ -42,6 +42,7 @@ void retro_init(void)
void retro_deinit(void) void retro_deinit(void)
{ {
mpv_terminate_destroy(mpv);
return; return;
} }
@ -170,7 +171,6 @@ static void context_destroy(void)
filepath = NULL; filepath = NULL;
mpv_opengl_cb_uninit_gl(mpv_gl); mpv_opengl_cb_uninit_gl(mpv_gl);
mpv_terminate_destroy(mpv);
log_cb(RETRO_LOG_INFO, "Context destroyed.\n"); log_cb(RETRO_LOG_INFO, "Context destroyed.\n");
} }