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()
{
#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