hw/m68k: Set graphic display dimensions generically

If a dimension is not set, have the machine init code
(q800_machine_init) set the default values.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20260216213121.47122-6-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé
2026-02-11 14:47:05 +01:00
parent 6c72922fe5
commit 7207a9c3a9
2 changed files with 6 additions and 6 deletions

View File

@@ -14,9 +14,9 @@ int graphic_width = 1024;
int graphic_height = 768;
int graphic_depth = 8;
#elif defined(TARGET_M68K)
int graphic_width = 800;
int graphic_height = 600;
int graphic_depth = 8;
int graphic_width;
int graphic_height;
int graphic_depth;
#else
int graphic_width = 800;
int graphic_height = 600;