fix const qualifier
This commit is contained in:
parent
2d17f52e86
commit
fe2d0eedb7
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue