TuneManager: remove GME related code

This commit is contained in:
James R 2024-01-29 23:07:57 -08:00
parent 640ad6bc1e
commit bd62fe4e90
2 changed files with 0 additions and 16 deletions

View file

@ -97,8 +97,6 @@ void TuneManager::tick()
} }
tune->resume = true; tune->resume = true;
gme_ = !std::strcmp(I_SongType(), "GME");
} }
else else
{ {
@ -181,18 +179,6 @@ void TuneManager::adjust_volume() const
bool TuneManager::resync() bool TuneManager::resync()
{ {
if (gme_)
{
// This is dodging the problem. GME can be very slow
// for seeking, since it (probably) just emulates the
// entire song up to where its seeking.
//
// The time loss is not easily predictable, and it
// causes repeated resyncing, so just don't sync if
// it's GME.
return false;
}
if (hu_stopped) if (hu_stopped)
{ {
// The server is not sending updates. Don't resync // The server is not sending updates. Don't resync

View file

@ -106,8 +106,6 @@ private:
bool stop_credit_ = false; bool stop_credit_ = false;
bool gme_; // hack
int level_volume_ = 100; int level_volume_ = 100;
int old_level_volume_ = 100; int old_level_volume_ = 100;
bool volume_fade_ = false; bool volume_fade_ = false;