fix const qualifier

This commit is contained in:
wrapper 2026-03-29 16:26:27 +07:00
parent 2d17f52e86
commit fe2d0eedb7

View file

@ -181,11 +181,11 @@ namespace Dynemu {
void MemoryReadBytes(u32 vaddr, u8 *output, u32 size);
/*
void MemoryReadBytes(u32 vaddr, const std::array<u8, N> &data)
void MemoryReadBytes(u32 vaddr, std::array<u8, N> &data)
Copy data from memory map to a single u8 pointer.
*/
template <std::size_t N>
void MemoryReadBytes(u32 vaddr, const std::array<u8, N> &data) {
void MemoryReadBytes(u32 vaddr, std::array<u8, N> &data) {
MemoryReadBytes(vaddr, data.data(), N);
};