mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-21 12:29:51 +00:00
configure VGA resolution
This commit is contained in:
parent
a3bf065d6e
commit
2273388b06
@ -92,7 +92,7 @@ void Display::begin(colour_t bg, colour_t fg, orientation_t orient) {
|
||||
vga.end();
|
||||
init = true;
|
||||
vga.begin();
|
||||
vga.setResolution(VGA_480x300_75Hz);
|
||||
vga.setResolution(VGA_RESOLUTION);
|
||||
|
||||
canvas.setBrushColor(rgb(_bg));
|
||||
canvas.clear();
|
||||
|
@ -3,6 +3,10 @@
|
||||
|
||||
// Display
|
||||
#define USE_VGA
|
||||
#if !defined(VGA_RESOLUTION)
|
||||
#define VGA_RESOLUTION VGA_480x300_75Hz
|
||||
//#define VGA_RESOLUTION VGA_320x200_75HzRetro
|
||||
#endif
|
||||
|
||||
// PS/2 Keyboard
|
||||
#define USE_KBD
|
||||
|
Loading…
Reference in New Issue
Block a user