Skip to content

Commit

Permalink
Can do an unchecked GetPointer here
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jan 1, 2023
1 parent aa80659 commit 91b7bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/MemMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ inline void MemcpyUnchecked(const u32 to_address, const void *from_data, const u
}

inline void MemcpyUnchecked(const u32 to_address, const u32 from_address, const u32 len) {
MemcpyUnchecked(GetPointerWrite(to_address), from_address, len);
MemcpyUnchecked(GetPointerWriteUnchecked(to_address), from_address, len);
}

inline bool IsValidAddress(const u32 address) {
Expand Down

0 comments on commit 91b7bf9

Please sign in to comment.