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;
gme_ = !std::strcmp(I_SongType(), "GME");
}
else
{
@ -181,18 +179,6 @@ void TuneManager::adjust_volume() const
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)
{
// The server is not sending updates. Don't resync

View file

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