nesemu/debugger/cpu_view.h

28 lines
472 B
C
Raw Normal View History

2024-04-30 12:28:43 -04:00
//
// Created by william on 4/30/24.
//
#include "window.h"
#include "../include/types.h"
#include "../include/cpu.h"
2024-05-01 12:58:15 -04:00
#ifndef NESEMULATOR_CPU_VIEW_H
#define NESEMULATOR_CPU_VIEW_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.
*/
CpuView *cv_init(CPU *cpu, int x, int y);
void cv_uninit(CpuView *cpu_view);
2024-04-30 12:28:43 -04:00
#endif //NESEMULATOR_CPU_VIEW_H