MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / test_get_function

Function test_get_function

LiveRecomp/live_recompiler_test.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73recomp_func_t* test_get_function(int32_t vram) {
74 if (vram == 0x80100000) {
75 return write1;
76 }
77 assert(false);
78 return nullptr;
79}
80
81void test_switch_error(const char* func, uint32_t vram, uint32_t jtbl) {
82 printf(" Switch-case out of bounds in %s at 0x%08X for jump table at 0x%08X\n", func, vram, jtbl);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected