From d8f2e2d88a0f951388b894e3edea0d44a54727dd Mon Sep 17 00:00:00 2001 From: Sunguk Lee Date: Mon, 26 Sep 2016 14:39:36 +0900 Subject: [PATCH] Fix build error about undefined reference to `deinit_vita_mmap' ``` frontend/libretro.o: In function `retro_deinit': libretro.c:(.text+0x3769): undefined reference to `deinit_vita_mmap' collect2: error: ld returned 1 exit status make: *** [pcsx_rearmed_libretro.so] Error 1 ``` Introduced #68 --- frontend/libretro.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/libretro.c b/frontend/libretro.c index 55940628..2efccfac 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1658,8 +1658,10 @@ void retro_deinit(void) free(vout_buf); #endif vout_buf = NULL; - + +#ifdef VITA deinit_vita_mmap(); +#endif } #ifdef VITA -- 2.39.5