mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
TuneManager: remove GME related code
This commit is contained in:
parent
640ad6bc1e
commit
bd62fe4e90
2 changed files with 0 additions and 16 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue