refactor: support multiple variants for games in zonecode

This commit is contained in:
Jan Laupetin committed 2026-10-22 20:01:00 +02:00
1 parent 5abb04555a
commit 7c957c16a2
61 files changed
+411 -288

No files matched your search

@@ -0,0 +1,19 @@
#include "WordSize.h"
#include <cassert>
unsigned GetPointerSizeForWordSize(const WordSize wordSize)
{
switch (wordSize)
{
case WordSize::BITS_32:
return sizeof(uint32_t);
case WordSize::BITS_64:
return sizeof(uint64_t);
default:
assert(false);
return sizeof(uint32_t);
}
}