devkitPro / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
11 stars 12 forks source link

[joystick] Fix build for GameCube #78

Closed mardy closed 2 weeks ago

mardy commented 2 weeks ago

The previous commit had an error where a variable defined for the Wii only was used without preprocessor protection.

Create a small macro to fix the problem without hurting code readability.