From fe2d0eedb77a5e42e1682ef8ff2d38b9f5b5a6ad Mon Sep 17 00:00:00 2001 From: wrapper Date: Sun, 29 Mar 2026 16:26:27 +0700 Subject: [PATCH] fix const qualifier --- include/dynemu/sys_emulator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dynemu/sys_emulator.hpp b/include/dynemu/sys_emulator.hpp index 2d1d30e..98e14df 100644 --- a/include/dynemu/sys_emulator.hpp +++ b/include/dynemu/sys_emulator.hpp @@ -181,11 +181,11 @@ namespace Dynemu { void MemoryReadBytes(u32 vaddr, u8 *output, u32 size); /* - void MemoryReadBytes(u32 vaddr, const std::array &data) + void MemoryReadBytes(u32 vaddr, std::array &data) Copy data from memory map to a single u8 pointer. */ template - void MemoryReadBytes(u32 vaddr, const std::array &data) { + void MemoryReadBytes(u32 vaddr, std::array &data) { MemoryReadBytes(vaddr, data.data(), N); };