Commit MetaInfo

Revision81b6f9cf42579dfaa1c7f426bdfeeebf07e679d0 (tree)
Time2020-03-04 06:56:30
AuthorDavid Ludwig <dludwig@pobo...>
CommiterDavid Ludwig

Log Message

vjoy: delete all vjoys on joystick-subsystem shutdown

Change Summary

Incremental Difference

diff -r bd68618d767c -r 81b6f9cf4257 src/joystick/virtual/SDL_sysjoystick.c
--- a/src/joystick/virtual/SDL_sysjoystick.c Tue Mar 03 15:22:53 2020 -0500
+++ b/src/joystick/virtual/SDL_sysjoystick.c Tue Mar 03 16:56:30 2020 -0500
@@ -430,8 +430,9 @@
430430 static void
431431 VIRTUAL_JoystickQuit(void)
432432 {
433- printf("IMPLEMENT ME!!!: %s\n", __FUNCTION__);
434- SDL_Unsupported();
433+ while (g_VJoys) {
434+ VIRTUAL_FreeHWData(g_VJoys);
435+ }
435436 }
436437
437438
Show on old repository browser