xfangfang / borealis

Hardware accelerated, Nintendo Switch inspired UI library for PC, Android, iOS, PSV, PS4 and Nintendo Switch
Apache License 2.0
31 stars 21 forks source link

Fix: Missing Switch defines for libretro #52

Closed ThisALV closed 8 months ago

ThisALV commented 8 months ago

libretro uses its own defines to detect Switch platform compared to other libraries that only use the __SWITCH__ define.

This fix adds SWITCH and HAVE_LIBNX defs to borealis build flags on Switch development so libretro can detect it.

xfangfang commented 8 months ago

Thanks for your contribution ~