Skip to content

Commit

Permalink
win32: restore rom info dialog colors
Browse files Browse the repository at this point in the history
  • Loading branch information
OV2 committed Jan 2, 2024
1 parent 4dddce8 commit 56a5d3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions port.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ typedef size_t pint;

#define S9xDisplayString DisplayStringFromBottom
#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
#define snprintf _snprintf
#endif
Expand Down

2 comments on commit 56a5d3c

@OV2
Copy link
Collaborator Author

@OV2 OV2 commented on 56a5d3c Jan 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bearoso I hope that is the correct define for the QT port. How are you building it in windows? Through msys2?

@bearoso
Copy link
Collaborator

@bearoso bearoso commented on 56a5d3c Jan 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Qt port currently builds on Windows with MSYS2 with the clang64 toolchain. This shouldn't break it, but don't worry if it does.

Please sign in to comment.