Use libretro.h instead of submodule

This allows releases to include the libretro.h header file required for
compiling. We also don't require any of the other header files the
submodule provided.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
This commit is contained in:
Mahyar Koshkouei 2018-01-07 20:30:10 +00:00
parent 0c4d58e326
commit 052a95b7bf
4 changed files with 2339 additions and 5 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "libretro-common"]
path = libretro-common
url = https://github.com/libretro/libretro-common.git

@ -1 +0,0 @@
Subproject commit 8dd21acbe42b23110536e04efceaba66e5c7d3df

2338
libretro.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
#include <mpv/client.h> #include <mpv/client.h>
#include <mpv/opengl_cb.h> #include <mpv/opengl_cb.h>
#include <libretro.h> #include "libretro.h"
static struct retro_hw_render_callback hw_render; static struct retro_hw_render_callback hw_render;