Remove references to dupeFrame in standalone builds

This commit is contained in:
刘皓 2025-06-03 16:11:56 -04:00
parent 784e62d1c5
commit 1c83c69f7f
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -438,7 +438,9 @@ struct Movie
bool play() bool play()
{ {
#ifdef MKXPZ_RETRO
dupeFrame = true; dupeFrame = true;
#endif // MKXPZ_RETRO
if (baseTicks == (uint64_t)-1) { if (baseTicks == (uint64_t)-1) {
baseTicks = movieTicks(); baseTicks = movieTicks();
@ -520,7 +522,9 @@ struct Movie
} }
THEORAPLAY_freeVideo(video); THEORAPLAY_freeVideo(video);
video = NULL; video = NULL;
#ifdef MKXPZ_RETRO
dupeFrame = false; dupeFrame = false;
#endif // MKXPZ_RETRO
} else { } else {
#ifndef MKXPZ_RETRO #ifndef MKXPZ_RETRO
// Next video frame not yet ready, let the CPU breathe // Next video frame not yet ready, let the CPU breathe