mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 18:25:35 -04:00
5f62dedaa3
Runtime config parsing uses the physical alias key but does not link the recompiler patch implementation. Keep the dependency-free key in the C++17-compatible header and exercise it in the header smoke test.
14 lines
401 B
C++
14 lines
401 B
C++
#include "recompiler_patch.h"
|
|
|
|
#include <vector>
|
|
|
|
int main() {
|
|
std::vector<PSXRecompV4::RecompilerPatch> patches;
|
|
patches.push_back({"header-smoke", 0x80010000u, 0u, 0u, {}});
|
|
return patches.front().id == "header-smoke" &&
|
|
PSXRecompV4::recompiler_patch_address_key(
|
|
patches.front().address) == 0x00010000u
|
|
? 0
|
|
: 1;
|
|
}
|