win32: fix libretro build

This commit is contained in:
OV2 2024-01-03 00:20:56 +01:00
parent 56a5d3c31f
commit 652adc81a4

3
port.h
View File

@ -32,6 +32,7 @@
#define RIGHTSHIFT_int16_IS_SAR #define RIGHTSHIFT_int16_IS_SAR
#define RIGHTSHIFT_int32_IS_SAR #define RIGHTSHIFT_int32_IS_SAR
#ifndef __LIBRETRO__ #ifndef __LIBRETRO__
#endif //__LIBRETRO__ #endif //__LIBRETRO__
#endif #endif
@ -124,7 +125,7 @@ typedef size_t pint;
#define S9xDisplayString DisplayStringFromBottom #define S9xDisplayString DisplayStringFromBottom
#ifdef __WIN32__ #ifdef __WIN32__
#ifndef SNES9X_QT #if !defined(SNES9X_QT) && !defined(__LIBRETRO__)
void SetInfoDlgColor(unsigned char, unsigned char, unsigned char); void SetInfoDlgColor(unsigned char, unsigned char, unsigned char);
#define SET_UI_COLOR(r,g,b) SetInfoDlgColor(r,g,b) #define SET_UI_COLOR(r,g,b) SetInfoDlgColor(r,g,b)
#endif #endif