shithub: zelda3

ref: 8d3028bd5f8daba83e0962da0690baf095643109
dir: /zelda_cpu_infra.h/

View raw version
#ifndef ZELDA3_ZELDA_CPU_INFRA_H_
#define ZELDA3_ZELDA_CPU_INFRA_H_
#include "types.h"

extern uint8 g_emulated_ram[0x20000];

uint8 *GetPtr(uint32 addr);

void RunEmulatedFuncSilent(uint32 pc, uint16 a, uint16 x, uint16 y, bool mf, bool xf, int b, int whatflags);
void RunEmulatedFunc(uint32 pc, uint16 a, uint16 x, uint16 y, bool mf, bool xf, int b, int whatflags);

bool EmuInitialize(uint8 *data, size_t size);

#endif  // ZELDA3_ZELDA_CPU_INFRA_H_