mirror of
https://github.com/patchzyy/wiicompiled
synced 2026-10-21 13:54:55 -04:00
5e337e6ecf
Co-authored-by: DarthMDev <mgracer48@yahoo.com> Co-authored-by: rooklz <rookieb@muzo-works.com>
14 lines
468 B
C
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
|