Commit a2b2b4fd authored by Jan Holthuis's avatar Jan Holthuis
Browse files

linux-dist: Fixed variable reference in Pandora's clean_exit

parent 1843fc3f
......@@ -152,8 +152,6 @@ void SetupInput()
#endif
}
extern bool KillTex;
void UpdateInputState(u32 port)
{
#if defined(TARGET_EMSCRIPTEN)
......@@ -248,9 +246,9 @@ void dc_run();
if (joystick_fd >= 0) { close(joystick_fd); }
for (int port = 0; port < 4 ; port++)
{
if (evdev_fd[port] >= 0)
if (controllers[port]->fd >= 0)
{
close(evdev_fd[port]);
close(controllers[port]->fd);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment