mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-26 16:59:35 -04:00
8f747334d6
fix: patching NOP things that code gen already know how to handle feat: added a bug on JAL/J/JAR code gen feat: enhanced tom file fix: fix memory layout for ps2 macros feat: added a lot of not working garbabe to runtime (fix later) feat: some code organization feat: added new tests feat: update readme
22 lines
651 B
C++
22 lines
651 B
C++
#ifndef PS2_STUBS_H
|
|
#define PS2_STUBS_H
|
|
|
|
#include "ps2_runtime.h"
|
|
#include "ps2_call_list.h"
|
|
#include <cstdint>
|
|
|
|
namespace ps2_stubs
|
|
{
|
|
#define PS2_DECLARE_STUB(name) void name(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
PS2_STUB_LIST(PS2_DECLARE_STUB)
|
|
#undef PS2_DECLARE_STUB
|
|
|
|
void syMalloc(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sndr_trans_func(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
|
|
void TODO(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void TODO_NAMED(const char *name, uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
}
|
|
|
|
#endif // PS2_STUBS_H
|