Fix some warnings

This commit is contained in:
Tamás Bálint Misius
2025-01-17 20:55:44 +01:00
parent 8cde7a85ac
commit 48fb16292a
2 changed files with 1 additions and 2 deletions

View File

@@ -480,7 +480,6 @@ void EngineProcess()
engine.Tick();
{
auto drawLimit = ui::Engine::Ref().GetDrawingFrequencyLimit();
auto nowNs = uint64_t(SDL_GetTicks()) * UINT64_C(1'000'000);
auto effectiveDrawLimit = engine.GetEffectiveDrawCap();
if (!effectiveDrawLimit || drawSchedule.HasElapsed(nowNs))

View File

@@ -2444,7 +2444,7 @@ std::pair<bool, std::vector<char>> GameSave::serialiseOPS() const
}
if (part.type == PT_LSNS)
{
if (part.tmp >= 1 || part.tmp <= 3)
if (part.tmp >= 1 && part.tmp <= 3)
{
RESTRICTVERSION(95, 0);
}