From 09beb93a9a46982cb7f496ca9550bf1edfc76eb6 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Mon, 29 Apr 2019 19:41:50 +0000 Subject: games/moonlight-embedded: Update to 2.4.8 Changes: https://github.com/irtimmer/moonlight-embedded/releases/tag/v2.4.8 --- games/moonlight-embedded/files/patch-src_main.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'games/moonlight-embedded/files/patch-src_main.c') diff --git a/games/moonlight-embedded/files/patch-src_main.c b/games/moonlight-embedded/files/patch-src_main.c index 7f9da0fedbef..d7343992a11f 100644 --- a/games/moonlight-embedded/files/patch-src_main.c +++ b/games/moonlight-embedded/files/patch-src_main.c @@ -1,4 +1,4 @@ ---- src/main.c.orig 2018-08-11 15:43:13 UTC +--- src/main.c.orig 2019-04-29 17:09:45 UTC +++ src/main.c @@ -91,7 +91,6 @@ static void stream(PSERVER_DATA server, PCONFIGURATION } @@ -8,7 +8,13 @@ #ifdef HAVE_SDL gamepads += sdl_gamepads; #endif -@@ -124,13 +123,8 @@ static void stream(PSERVER_DATA server, PCONFIGURATION +@@ -121,19 +120,11 @@ static void stream(PSERVER_DATA server, PCONFIGURATION + connection_debug = true; + } + +- if (IS_EMBEDDED(system)) +- loop_init(); +- platform_start(system); LiStartConnection(&server->serverInfo, &config->stream, &connection_callbacks, platform_get_video(system), platform_get_audio(system, config->audio_device), NULL, drFlags, config->audio_device, 0); @@ -23,15 +29,15 @@ sdl_loop(); #endif -@@ -172,7 +166,6 @@ static void help() { +@@ -182,7 +173,6 @@ static void help() { printf("\t-surround\t\tStream 5.1 surround sound (requires GFE 2.7)\n"); printf("\t-keydir \tLoad encryption keys from directory\n"); printf("\t-mapping \t\tUse as gamepad mappings configuration file\n"); - printf("\t-platform \tSpecify system used for audio, video and input: pi/imx/aml/rk/x11/x11_vdpau/sdl/fake (default auto)\n"); printf("\t-unsupported\t\tTry streaming if GFE version or options are unsupported\n"); + printf("\t-quitappafter\t\tSend quit app request to remote after quitting session\n"); #if defined(HAVE_SDL) || defined(HAVE_X11) - printf("\n WM options (SDL and X11 only)\n\n"); -@@ -210,8 +203,6 @@ int main(int argc, char* argv[]) { +@@ -221,8 +211,6 @@ int main(int argc, char* argv[]) { exit(-1); } @@ -40,7 +46,7 @@ exit(0); } -@@ -222,12 +213,8 @@ int main(int argc, char* argv[]) { +@@ -233,12 +221,8 @@ int main(int argc, char* argv[]) { exit(-1); } config.address[0] = 0; @@ -55,7 +61,7 @@ } char host_config_file[128]; -@@ -277,38 +264,8 @@ int main(int argc, char* argv[]) { +@@ -288,39 +272,8 @@ int main(int argc, char* argv[]) { } config.stream.supportsHevc = config.codec != CODEC_H264 && (config.codec == CODEC_HEVC || platform_supports_hevc(system)); @@ -85,6 +91,7 @@ - - udev_init(!inputAdded, mappings, config.debug_level > 0); - evdev_init(); +- rumble_handler = evdev_rumble; - #ifdef HAVE_LIBCEC - cec_init(); - #endif /* HAVE_LIBCEC */ -- cgit v1.2.3