Second pass idLib integration.

This commit is contained in:
Justin Marshall
2026-08-08 19:30:03 -07:00
parent 55a14323f2
commit 1b718f17f6
114 changed files with 9696 additions and 331 deletions
@@ -0,0 +1,16 @@
#pragma once
#include <cstdint>
// All four recovered template instantiations occupy exactly 128 bytes. The
// Xbox cache machinery is opaque until its call sites are ported, but the
// generic declaration and storage contract are now available to PC headers.
template<typename elementType, int cacheLines, int associativity>
class idSoftwareCache {
public:
std::uint8_t storage[128];
};
static_assert(sizeof(idSoftwareCache<int, 1, 4>) == 128,
"Recovered idSoftwareCache ABI changed");