win32: restore rom info dialog colors

This commit is contained in:
OV2 2024-01-02 20:42:07 +01:00
parent 4dddce8b88
commit 56a5d3c31f
1 changed files with 4 additions and 0 deletions

4
port.h
View File

@ -124,6 +124,10 @@ typedef size_t pint;
#define S9xDisplayString DisplayStringFromBottom #define S9xDisplayString DisplayStringFromBottom
#ifdef __WIN32__ #ifdef __WIN32__
#ifndef SNES9X_QT
void SetInfoDlgColor(unsigned char, unsigned char, unsigned char);
#define SET_UI_COLOR(r,g,b) SetInfoDlgColor(r,g,b)
#endif
#ifndef snprintf #ifndef snprintf
#define snprintf _snprintf #define snprintf _snprintf
#endif #endif