hexware-qemu/patches/9007-antidetect-hw-display.patch

26 lines
951 B
Diff
Raw Permalink Normal View History

2024-08-03 14:39:42 +03:00
diff -Naur --no-dereference a/hw/display/edid-generate.c b/hw/display/edid-generate.c
--- a/hw/display/edid-generate.c
+++ b/hw/display/edid-generate.c
@@ -394,10 +394,10 @@
/* =============== set defaults =============== */
if (!info->vendor || strlen(info->vendor) != 3) {
- info->vendor = "RHT";
+ info->vendor = "DEL";
}
if (!info->name) {
- info->name = "QEMU Monitor";
+ info->name = "DEL Monitor";
}
if (!info->prefx) {
info->prefx = 1280;
@@ -449,7 +449,7 @@
uint16_t vendor_id = ((((info->vendor[0] - '@') & 0x1f) << 10) |
(((info->vendor[1] - '@') & 0x1f) << 5) |
(((info->vendor[2] - '@') & 0x1f) << 0));
- uint16_t model_nr = 0x1234;
+ uint16_t model_nr = 0xA05F;
uint32_t serial_nr = info->serial ? atoi(info->serial) : 0;
stw_be_p(edid + 8, vendor_id);
stw_le_p(edid + 10, model_nr);