#ifndef PSXC_H_ #define PSXC_H_ #include #define SP(cpu) ((cpu)->regs[29]) typedef struct { uint32_t regs[32]; uint32_t pc; } cpu_t; #endif