2024-05-01 12:58:15 -04:00
|
|
|
//
|
|
|
|
// Created by william on 5/1/24.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "../include/ppu.h"
|
|
|
|
#include "window.h"
|
|
|
|
|
|
|
|
#ifndef NES_EMULATOR_PPU_VIEW_H
|
|
|
|
#define NES_EMULATOR_PPU_VIEW_H
|
|
|
|
|
|
|
|
#define PPU_VIEW_HEIGHT 14
|
|
|
|
#define PPU_VIEW_WIDTH 22
|
|
|
|
|
|
|
|
typedef struct ppu_view {
|
|
|
|
Window *window;
|
|
|
|
} PpuView;
|
|
|
|
|
2024-05-06 20:23:44 -04:00
|
|
|
PpuView *ppv_init(int x, int y);
|
2024-05-01 12:58:15 -04:00
|
|
|
|
|
|
|
void ppv_uninit(PpuView *ppu_view);
|
|
|
|
|
|
|
|
#endif //NES_EMULATOR_PPU_VIEW_H
|