Emscripten port

This commit is contained in:
elasota
2021-03-29 21:41:11 -04:00
parent 9ba0e9f13d
commit 6fb45f480b
92 changed files with 15731 additions and 300 deletions

View File

@@ -16,7 +16,7 @@
#include "RectUtils.h"
#include "Room.h"
#include "RubberBands.h"
#include "PLSysCalls.h"
#define kMaxGarbageRects 48
@@ -739,6 +739,7 @@ void RenderFrame (void)
while (TickCount() < nextFrame)
{
PL_ASYNCIFY_PARANOID_DISARM_FOR_SCOPE();
Delay(1, nullptr);
}
nextFrame = TickCount() + kTicksPerFrame;