mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 23:45:35 +00:00
aed5df31b7
There is no need to make sure that the memory is zeroed after the allocation if we also immediatly fill the whole buffer afterwards with memcpy(). Thus g_new0 should be g_new instead. But since we are also doing a memcpy() here, we can also simply replace both with g_memdup() instead. Backports commit a337f295defad7eb977da4d6317cf70f7f2fa4b4 from qemu |
||
---|---|---|
.. | ||
asi.h | ||
cc_helper.c | ||
cpu-qom.h | ||
cpu.c | ||
cpu.h | ||
fop_helper.c | ||
helper.c | ||
helper.h | ||
int32_helper.c | ||
int64_helper.c | ||
ldst_helper.c | ||
Makefile.objs | ||
mmu_helper.c | ||
TODO | ||
translate.c | ||
unicorn.c | ||
unicorn.h | ||
unicorn64.c | ||
vis_helper.c | ||
win_helper.c |