mirror of
https://git.code.sf.net/p/fuse-emulator/fuse
synced 2026-01-27 01:41:34 +03:00
Multiple changes, fixes needed to make cross compiling for WII fork again: - Make sure GEKKO constant is set from configure. - Explicit defining of GEKKO constant removed from wiijoystick.c and wiimouse.c (as it is set from configure). - Function clock_gettime (wii only) has changed its signature, needing 2 parameters now. I made a best guess here and chose CLOCK_REALTIME as the first parameter. - In WII mode most of optional stuff is turned off. Sockets including. However some code was still requiring winsock2.h. Wrapped it into ifdef HAVE_SOCKETS. - compat_dir variable does not need WII specific type override. - Added missing key mappings based on build failure. Some keys cannot be mapped 1:1, so leaving them at the end. They will not be mapped. - Removing compatibility file dir.c for WII, as it has now standard POSIX dir related functions. - Updated github workflow file, fixed path to allow cross-compiling. Also added checks to make sure cross-compiling was active. - Installing missing packages bison, flex https://sourceforge.net/p/arki55-fuse-mod/tickets/11/