Skip to contentSkip to conversation

hw/artist: Reduce default artist screen size to 800x600 pixel

PATCH In review Helge Deller 2 participants 2 messages Mar 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/artist: Reduce default artist screen size to 800x600 pixel

Reduce the default emulated screen size to 800x600 pixel instead of 1280x1024 pixel. With the bigger screen size the emulated graphic card isn't fully visible on my laptop display, and if people want bigger sizes it's possible to define it on the command line.

hw/display/artist.c +2 -2
index 65be9e3554..74cff24d7b 100644
@@ -1418,8 +1412,8 @@ static const VMStateDescription vmstate_artist = {
 };
 
 static Property artist_properties[] = {
-    DEFINE_PROP_UINT16("width",        ARTISTState, width, 1280),
-    DEFINE_PROP_UINT16("height",       ARTISTState, height, 1024),
+    DEFINE_PROP_UINT16("width",        ARTISTState, width, 800),
+    DEFINE_PROP_UINT16("height",       ARTISTState, height, 600),
     DEFINE_PROP_UINT16("depth",        ARTISTState, depth, 8),
     DEFINE_PROP_END_OF_LIST(),
 };
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Helge Deller

Reduce the default emulated screen size to 800x600 pixel instead of 1280x1024 pixel. With the bigger screen size the emulated graphic card isn't fully visible on my laptop display, and if people want bigger sizes it's possible to define it on the command line.

hw/display/artist.c +0 -0
index 65be9e3554..74cff24d7b 100644

hw/display/artist.c static const VMStateDescription vmstate_artist = { · line 1419

Quoted 10 lines
hw/display/artist.c +2 -2
@@ -1418,8 +1412,8 @@ static const VMStateDescription vmstate_artist = {
  };
 
  static Property artist_properties[] = {
-    DEFINE_PROP_UINT16("width",        ARTISTState, width, 1280),
-    DEFINE_PROP_UINT16("height",       ARTISTState, height, 1024),
+    DEFINE_PROP_UINT16("width",        ARTISTState, width, 800),
+    DEFINE_PROP_UINT16("height",       ARTISTState, height, 600),
      DEFINE_PROP_UINT16("depth",        ARTISTState, depth, 8),
      DEFINE_PROP_END_OF_LIST(),
  };