nesemu/gui/window.h

18 lines
372 B
C
Raw Normal View History

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