mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-08-18 01:15:59 +00:00
Fix SDL not using evdev
This commit is contained in:
parent
6d23e28676
commit
94bc353f0d
@ -91,10 +91,11 @@ static void stream(PSERVER_DATA server, PCONFIGURATION config, enum platform sys
|
||||
|
||||
LiStartConnection(server->address, &config->stream, &connection_callbacks, platform_get_video(system), platform_get_audio(system), context, 0, server->serverMajorVersion);
|
||||
|
||||
if (IS_EMBEDDED(system))
|
||||
if (IS_EMBEDDED(system)) {
|
||||
evdev_start();
|
||||
loop_main();
|
||||
evdev_stop();
|
||||
}
|
||||
#ifdef HAVE_SDL
|
||||
else if (system == SDL)
|
||||
sdl_loop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user