mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
c0fa9b1e89
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>
13 lines
349 B
C
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; }
|