2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

Initial fixNES integration

This commit is contained in:
Jack Andersen
2018-02-01 13:19:34 -10:00
parent c84845c9a5
commit 93fc2d8072
28 changed files with 1515 additions and 321 deletions

View File

@@ -23,7 +23,12 @@ void CRippleManager::SetTime(float)
void CRippleManager::Update(float dt)
{
for (CRipple& ripple : x4_ripples)
{
ripple.SetTime(ripple.GetTime() + dt);
if (ripple.GetTime() > 9999.f)
ripple.SetTime(9999.f);
}
}
float CRippleManager::GetLastRippleDeltaTime(TUniqueId rippler) const