Update antidetect qemu patch
This commit is contained in:
parent
9d989ede03
commit
d4ffce104b
@ -16,14 +16,14 @@ diff -Naur --no-dereference a/hw/ide/core.c b/hw/ide/core.c
|
|||||||
--- a/hw/ide/core.c
|
--- a/hw/ide/core.c
|
||||||
+++ b/hw/ide/core.c
|
+++ b/hw/ide/core.c
|
||||||
@@ -2627,20 +2627,20 @@
|
@@ -2627,20 +2627,20 @@
|
||||||
pstrcpy(s->drive_serial_str, sizeof(s->drive_serial_str), serial);
|
pstrcpy(s->drive_serial_str, sizeof(s->drive_serial_str), dev->serial);
|
||||||
} else {
|
} else {
|
||||||
snprintf(s->drive_serial_str, sizeof(s->drive_serial_str),
|
snprintf(s->drive_serial_str, sizeof(s->drive_serial_str),
|
||||||
- "QM%05d", s->drive_serial);
|
- "QM%05d", s->drive_serial);
|
||||||
+ "ASUS%05d", s->drive_serial);
|
+ "ASUS%05d", s->drive_serial);
|
||||||
}
|
}
|
||||||
if (model) {
|
if (dev->model) {
|
||||||
pstrcpy(s->drive_model_str, sizeof(s->drive_model_str), model);
|
pstrcpy(s->drive_model_str, sizeof(s->drive_model_str), dev->model);
|
||||||
} else {
|
} else {
|
||||||
switch (kind) {
|
switch (kind) {
|
||||||
case IDE_CD:
|
case IDE_CD:
|
||||||
|
Loading…
Reference in New Issue
Block a user