Files
psxrecomp/runtime/tests/overlay_posix_fixture.c
Matthew Stanley c0fa9b1e89 overlay: load cached exports on POSIX
Port Douglas Vanderveer's manifest-driven macOS/Linux overlay discovery onto the current cache index and exact-dispatch loader. Validate both filename key fields, preserve ABI cleanup and rescan idempotence, and cover the POSIX primitives with a real shared-library fixture.

Co-authored-by: douglasjv <vanderveerdouglas@gmail.com>
2026-07-13 21:52:25 -07:00

13 lines
349 B
C

#include <stdint.h>
#if defined(__GNUC__)
#define EXPORT __attribute__((visibility("default")))
#else
#define EXPORT
#endif
EXPORT int overlay_abi(void) { return 0x12345678; }
EXPORT void overlay_init(const void *callbacks) { (void)callbacks; }
EXPORT void overlay_flush_cycles(void) {}
EXPORT uint32_t func_80012345(void) { return 0xC0DEF00Du; }