Files
sm-vita/src/sm_cpu_infra.h
2023-03-05 22:06:32 +01:00

26 lines
480 B
C

#ifndef SM_CPU_INFRA_H_
#define SM_CPU_INFRA_H_
#include "types.h"
#include "snes/cpu.h"
#include "snes/snes.h"
typedef struct Snes Snes;
extern Snes *g_snes;
extern bool g_fail;
typedef struct Snes Snes;
Snes *SnesInit(const char *filename);
int RunAsmCode(uint32 pc, uint16 a, uint16 x, uint16 y, int flags);
bool ProcessHook(uint32 v);
void Call(uint32 addr);
void RunOneFrameOfGame();
void ClearUnusedOam();
void RunOneFrameOfGame_Both();
#endif // SM_CPU_INFRA_H_