// // Created by william on 4/30/24. // #ifndef NESEMULATOR_CPU_VIEW_H #define NESEMULATOR_CPU_VIEW_H #include "window.h" #include "../include/types.h" #include "../include/cpu.h" #define CPU_VIEW_HEIGHT 14 #define CPU_VIEW_WIDTH 12 typedef struct cpu_view { Window *window; CPU *cpu; } CpuView; /** * Initializes a CPU view for a system RAM. * * @param interact * @param ram * @param x * @param y */ CpuView *cv_init(CPU *cpu, int x, int y); void cv_uninit(CpuView *cpu_view); #endif //NESEMULATOR_CPU_VIEW_H