Merge pull request #12142 from crystalct/master

Add some PSL1GHT ifdefs
This commit is contained in:
Autechre 2021-03-13 22:42:31 +01:00 committed by GitHub
commit 032b96c772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6759,7 +6759,7 @@ static int generic_dropdown_box_list(size_t idx, unsigned lbl)
static int action_ok_video_resolution(const char *path, static int action_ok_video_resolution(const char *path,
const char *label, unsigned type, size_t idx, size_t entry_idx) const char *label, unsigned type, size_t idx, size_t entry_idx)
{ {
#if defined(GEKKO) #if defined(GEKKO) || !defined(__PSL1GHT__) && defined(__PS3__)
unsigned width = 0; unsigned width = 0;
unsigned height = 0; unsigned height = 0;
@ -6769,7 +6769,7 @@ static int action_ok_video_resolution(const char *path,
msg[0] = '\0'; msg[0] = '\0';
#if defined(_WIN32) #if defined(_WIN32) || !defined(__PSL1GHT__) && defined(__PS3__)
generic_action_ok_command(CMD_EVENT_REINIT); generic_action_ok_command(CMD_EVENT_REINIT);
#endif #endif
video_driver_set_video_mode(width, height, true); video_driver_set_video_mode(width, height, true);