Merge pull request #12150 from crystalct/master

Add some PSL1GHT ifdefs
This commit is contained in:
Autechre 2021-03-15 00:46:57 +01:00 committed by GitHub
commit 60d29d3792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -485,7 +485,7 @@ static int action_start_video_resolution(
const char *path, 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, height = 0;
global_t *global = global_get_ptr();
@ -498,7 +498,7 @@ static int action_start_video_resolution(
msg[0] = '\0';
#if defined(_WIN32)
#if defined(_WIN32) || !defined(__PSL1GHT__) && !defined(__PS3__)
generic_action_ok_command(CMD_EVENT_REINIT);
#endif
video_driver_set_video_mode(width, height, true);