Small Logging Tweak
This commit is contained in:
parent
790e7918b1
commit
aa87488407
@ -15,7 +15,7 @@
|
||||
|
||||
+// g2h For Trampoline
|
||||
+static CPUState *_trampoline_g2h_cpu = NULL;
|
||||
+static void _trampoline_writer(uint32_t guest_addr, void *data, uint32_t size) {
|
||||
+static void _trampoline_writer(uint32_t guest_addr, const void *data, uint32_t size) {
|
||||
+ void *out = g2h(_trampoline_g2h_cpu, guest_addr);
|
||||
+ memcpy(out, data, size);
|
||||
+}
|
||||
@ -40,7 +40,7 @@
|
||||
+ }
|
||||
+ if (_trampoline == NULL) {
|
||||
+ // Failed To Load
|
||||
+ qemu_log_mask(LOG_UNIMP, "Unable To Load Media Layer Trampoline: %s\n", dlerror());
|
||||
+ qemu_log("Unable To Load Media Layer Trampoline: %s\n", dlerror());
|
||||
+ return -TARGET_ENOSYS;
|
||||
+ }
|
||||
+ // Call Trampoline
|
||||
|
Loading…
Reference in New Issue
Block a user