提交 92be0424 编写于 作者: Z Zihao Yu

device,vga: fix compile error when SHOW_SCREEN is not defined

上级 55f50862
......@@ -26,8 +26,10 @@
#define VGACTL_PORT 0x100 // Note that this is not the standard
#define VGACTL_MMIO 0xa1000100
#ifdef SHOW_SCREEN
static SDL_Renderer *renderer = NULL;
static SDL_Texture *texture = NULL;
#endif
static uint32_t (*vmem) [SCREEN_W] = NULL;
static uint32_t *vgactl_port_base = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册