First prototype of coroutine based UI

This commit is contained in:
krzosa
2025-12-28 16:12:22 +01:00
parent 06cb073832
commit 2acf2c189c
14 changed files with 138 additions and 89 deletions

View File

@@ -94,7 +94,7 @@ EM_JS(void, JS_Breakpoint, (), {
BREAK(); \
}
#define InvalidCodepath() Assert(!"invalid codepath")
#define ElseInvalidCodepath() else {InvalidCodepath()}
#define ElseInvalidCodepath() else {InvalidCodepath();}
#define KiB(x) ((x##ull) * 1024ull)
#define MiB(x) (KiB(x) * 1024ull)