From 4cd68ddfbea53a287a18fb52ebf56086ea4d5f36 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Wed, 1 Nov 2023 03:53:59 +0100 Subject: [PATCH] (Video processor) C89 buildfix --- cores/libretro-video-processor/video_processor_v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/libretro-video-processor/video_processor_v4l2.c b/cores/libretro-video-processor/video_processor_v4l2.c index af6552c9a613..1eab78feed60 100644 --- a/cores/libretro-video-processor/video_processor_v4l2.c +++ b/cores/libretro-video-processor/video_processor_v4l2.c @@ -270,6 +270,7 @@ enumerate_audio_devices(char *buf, size_t buflen) RETRO_API void VIDEOPROC_CORE_PREFIX(retro_set_environment)(retro_environment_t cb) { + bool no_content = true; char video_devices[ENVVAR_BUFLEN]; char audio_devices[ENVVAR_BUFLEN]; struct retro_variable envvars[] = { @@ -283,7 +284,6 @@ RETRO_API void VIDEOPROC_CORE_PREFIX(retro_set_environment)(retro_environment_t VIDEOPROC_CORE_PREFIX(environment_cb) = cb; - bool no_content = true; cb(RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME, &no_content); /* Allows retroarch to seed the previous values */