From: Sunguk Lee Date: Mon, 26 Sep 2016 05:39:36 +0000 (+0900) Subject: Fix build error about undefined reference to `deinit_vita_mmap' X-Git-Tag: r24l~828^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8f2e2d88a0f951388b894e3edea0d44a54727dd;p=pcsx_rearmed.git 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 --- 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