mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-21 12:53:01 +00:00
haxm: Add hax_ram_block_removed notify handler
QEMU core will call this handler when a RAM block is removed (no surprises there), but it does _not_ check to see if this handler is non-NULL. Add a dummy handler for now.
This commit is contained in:
parent
5edc406e1b
commit
71a4c6ddd4
@ -310,8 +310,17 @@ static void hax_ram_block_added(RAMBlockNotifier *n, void *host, size_t size)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef XBOX
|
||||
static void hax_ram_block_removed(RAMBlockNotifier *n, void *host, size_t size)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
static struct RAMBlockNotifier hax_ram_notifier = {
|
||||
.ram_block_added = hax_ram_block_added,
|
||||
#ifdef XBOX
|
||||
.ram_block_removed = hax_ram_block_removed,
|
||||
#endif
|
||||
};
|
||||
|
||||
void hax_memory_init(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user