diff mbox series

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

Message ID 20200302191409.GA4512@ls3530.fritz.box
State New
Headers show
Series hw/artist: Reduce default artist screen size to 800x600 pixel | expand

Commit Message

Helge Deller March 2, 2020, 7:14 p.m. UTC
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.

Signed-off-by: Helge Deller <deller@gmx.de>

Comments

Philippe Mathieu-Daudé March 2, 2020, 11:26 p.m. UTC | #1
On 3/2/20 8:14 PM, Helge Deller wrote:
> 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.
> 
> Signed-off-by: Helge Deller <deller@gmx.de>
> 
> diff --git a/hw/display/artist.c b/hw/display/artist.c
> index 65be9e3554..74cff24d7b 100644
> --- a/hw/display/artist.c
> +++ b/hw/display/artist.c
> @@ -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: Philippe Mathieu-Daudé <philmd@redhat.com>
diff mbox series

Patch

diff --git a/hw/display/artist.c b/hw/display/artist.c
index 65be9e3554..74cff24d7b 100644
--- a/hw/display/artist.c
+++ b/hw/display/artist.c
@@ -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(),
 };