From 1c83c69f7feaeaec0c347a4cb30ba09a72b6b28d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=9A=93?= Date: Tue, 3 Jun 2025 16:11:56 -0400 Subject: [PATCH] Remove references to `dupeFrame` in standalone builds --- src/display/graphics.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/display/graphics.cpp b/src/display/graphics.cpp index 03561ac8..df7389a9 100644 --- a/src/display/graphics.cpp +++ b/src/display/graphics.cpp @@ -438,7 +438,9 @@ struct Movie bool play() { +#ifdef MKXPZ_RETRO dupeFrame = true; +#endif // MKXPZ_RETRO if (baseTicks == (uint64_t)-1) { baseTicks = movieTicks(); @@ -520,7 +522,9 @@ struct Movie } THEORAPLAY_freeVideo(video); video = NULL; +#ifdef MKXPZ_RETRO dupeFrame = false; +#endif // MKXPZ_RETRO } else { #ifndef MKXPZ_RETRO // Next video frame not yet ready, let the CPU breathe