mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-09-12 20:37:51 +02:00
Previously we were just copying the data whole-sale, even if the length was less than the total data size. This effectively makes the actual_data vector useless, which is likely not intended. Instead, amend this to only copy the given length amount of data. At the same time, we can avoid zeroing out the data before using it by passing iterators to the constructor instead of a size. |
||
---|---|---|
.. | ||
kernel | ||
service | ||
config_mem.cpp | ||
config_mem.h | ||
ipc_helpers.h | ||
ipc.h | ||
lock.cpp | ||
lock.h | ||
result.h | ||
romfs.cpp | ||
romfs.h | ||
shared_page.cpp | ||
shared_page.h |