libretro / tyrquake

Libretro port of Tyrquake (Quake 1 engine)
GNU General Public License v2.0
42 stars 46 forks source link

WIIU: fix the build #104

Closed gblues closed 3 years ago

gblues commented 3 years ago

== DETAILS The build is broken for a couple of reasons:

  1. The wiiu target sets flags for GameCube/Wii that should not be set
  2. Even though retro_sleep() isn't actually called, its include is still present and that causes the build to fail on wiiu

The retro_sleep compile failure is kinda its own issue, but in this case we can sidestep it. The proper fix for this would be to update this core so it doesn't keep its own copy of libretro-common, but that's more work than I have time to complete.

Change summary:

  1. remove the GC/Wii flags so we don't try to include libogc headers
  2. remove retro_sleep() and go a little further and remove the Sys_Sleep() function that isn't actually called anywhere.

I have confirmed that it builds. I have not confirmed that it works.

inactive123 commented 3 years ago

This was resolved and discussed with gblues.