nesemu/gui/window.h

18 lines
372 B
C

//
// Created by william on 17/05/24.
//
#ifndef NES_EMULATOR_WINDOW_H
#define NES_EMULATOR_WINDOW_H
#include <SDL.h>
typedef struct nes_sdl_context {
SDL_Renderer *renderer;
SDL_Window *window;
} NesSdlContext;
NesSdlContext window_init(char *title, int width, int height, int scale);
void window_uninit(NesSdlContext context);
#endif //NES_EMULATOR_WINDOW_H