Started implementing the debugger.
This commit is contained in:
20
vdp.cpp
20
vdp.cpp
@@ -22,19 +22,19 @@ struct t_sprite {
|
||||
Uint8 col = 1;
|
||||
};
|
||||
|
||||
SDL_Window* sdlWindow = NULL;
|
||||
SDL_Renderer* sdlRenderer = NULL;
|
||||
SDL_Texture* sdlTexture = NULL;
|
||||
SDL_Rect src, dst;
|
||||
const Uint8* keys = nullptr;
|
||||
Uint8 just_pressed = SDL_SCANCODE_UNKNOWN;
|
||||
static SDL_Window* sdlWindow = NULL;
|
||||
static SDL_Renderer* sdlRenderer = NULL;
|
||||
static SDL_Texture* sdlTexture = NULL;
|
||||
static SDL_Rect src, dst;
|
||||
static const Uint8* keys = nullptr;
|
||||
static Uint8 just_pressed = SDL_SCANCODE_UNKNOWN;
|
||||
|
||||
t_sprite sprites[32];
|
||||
static t_sprite sprites[32];
|
||||
|
||||
Uint8 screen_map[16 * 12];
|
||||
Uint8 screen_color[16 * 12];
|
||||
static Uint8 screen_map[16 * 12];
|
||||
static Uint8 screen_color[16 * 12];
|
||||
//Uint8 char_map[256 * 8];
|
||||
Uint8 screen_buffer[128 * 96 * 4];
|
||||
static Uint8 screen_buffer[128 * 96 * 4];
|
||||
static Uint8 cursor_x = 0;
|
||||
static Uint8 cursor_y = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user