mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 23:18:58 +02:00
qemu: set haiku native display as default (#11479)
(instead of broken SDL display)
This commit is contained in:
@@ -1543,3 +1543,41 @@ index 46f99de..c9478ee 100644
|
|||||||
--
|
--
|
||||||
2.43.2
|
2.43.2
|
||||||
|
|
||||||
|
|
||||||
|
From eafef1273d843bdf3bcc9b9df1efab2132771c16 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Daniel Martin <dalmemail@gmail.com>
|
||||||
|
Date: Wed, 18 Dec 2024 23:03:19 +0000
|
||||||
|
Subject: [PATCH 1/1] Set Haiku native video backend as default (instead of
|
||||||
|
broken SDL)
|
||||||
|
|
||||||
|
---
|
||||||
|
ui/console.c | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/ui/console.c b/ui/console.c
|
||||||
|
index bf60b55..684d436 100644
|
||||||
|
--- a/ui/console.c
|
||||||
|
+++ b/ui/console.c
|
||||||
|
@@ -1615,6 +1615,9 @@ void qemu_display_register(QemuDisplay *ui)
|
||||||
|
bool qemu_display_find_default(DisplayOptions *opts)
|
||||||
|
{
|
||||||
|
static DisplayType prio[] = {
|
||||||
|
+#if defined(CONFIG_HAIKU)
|
||||||
|
+ DISPLAY_TYPE_HAIKU,
|
||||||
|
+#endif
|
||||||
|
#if defined(CONFIG_GTK)
|
||||||
|
DISPLAY_TYPE_GTK,
|
||||||
|
#endif
|
||||||
|
@@ -1623,9 +1626,6 @@ bool qemu_display_find_default(DisplayOptions *opts)
|
||||||
|
#endif
|
||||||
|
#if defined(CONFIG_COCOA)
|
||||||
|
DISPLAY_TYPE_COCOA
|
||||||
|
-#endif
|
||||||
|
-#if defined(CONFIG_HAIKU)
|
||||||
|
- DISPLAY_TYPE_HAIKU
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
int i;
|
||||||
|
--
|
||||||
|
2.45.2
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ achieves very good performance."
|
|||||||
HOMEPAGE="https://www.qemu.org/"
|
HOMEPAGE="https://www.qemu.org/"
|
||||||
COPYRIGHT="2003-2024 Fabrice Bellard"
|
COPYRIGHT="2003-2024 Fabrice Bellard"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="https://download.qemu.org/qemu-$portVersion.tar.xz"
|
SOURCE_URI="https://download.qemu.org/qemu-$portVersion.tar.xz"
|
||||||
CHECKSUM_SHA256="847346c1b82c1a54b2c38f6edbd85549edeb17430b7d4d3da12620e2962bc4f3"
|
CHECKSUM_SHA256="847346c1b82c1a54b2c38f6edbd85549edeb17430b7d4d3da12620e2962bc4f3"
|
||||||
SOURCE_DIR="qemu-$portVersion"
|
SOURCE_DIR="qemu-$portVersion"
|
||||||
|
|||||||
Reference in New Issue
Block a user