Initial commit
This commit is contained in:
26
src/sm_cpu_infra.h
Normal file
26
src/sm_cpu_infra.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#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_
|
||||
Reference in New Issue
Block a user