mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Emscripten port
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "PLQDraw.h"
|
||||
#include "RectUtils.h"
|
||||
#include "RandomNumberGenerator.h"
|
||||
#include "PLSysCalls.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -166,6 +167,7 @@ void WipeScreenOn (short direction, Rect *theRect)
|
||||
|
||||
mainWindow->GetDrawSurface()->m_port.SetDirty(PortabilityLayer::QDPortDirtyFlag_Contents);
|
||||
|
||||
PL_ASYNCIFY_PARANOID_DISARM_FOR_SCOPE();
|
||||
Delay(1, nullptr);
|
||||
}
|
||||
}
|
||||
@@ -229,7 +231,10 @@ void DissolveScreenOn(Rect *theRect)
|
||||
|
||||
graf->m_port.SetDirty(PortabilityLayer::QDPortDirtyFlag_Contents);
|
||||
|
||||
Delay(1, nullptr);
|
||||
{
|
||||
PL_ASYNCIFY_PARANOID_DISARM_FOR_SCOPE();
|
||||
Delay(1, nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
graf->m_port.SetDirty(PortabilityLayer::QDPortDirtyFlag_Contents);
|
||||
|
Reference in New Issue
Block a user