Files
wiicompiled/runtime/include/guest_function_imports.h
T
patchzyy 5e337e6ecf add ntsc-u and ntsc-j support
Co-authored-by: DarthMDev <mgracer48@yahoo.com>
Co-authored-by: rooklz <rookieb@muzo-works.com>
2026-10-21 16:01:27 +02:00

14 lines
468 B
C

#pragma once
// Base translations the runtime calls directly, named by PAL identity. runtime/game binds each
// to the translated region's symbol.
// MKW_GUEST_FUNC(801A0620)(ctx);
#include "guest_abi/cpu_context.h"
#define MKW_GUEST_FUNC(pal) (*::mkw_guest_function_##pal)
#define MKW_GUEST_FUNCTION_IMPORT(pal, ntscU, ntscJ) extern "C" void (*const mkw_guest_function_##pal)(CpuContext*);
#include "guest_function_imports.inc"
#undef MKW_GUEST_FUNCTION_IMPORT