Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquegemignani committed Mar 14, 2021
1 parent 98512a2 commit 5d7f81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Common/CommonUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ inline u32 dolphinAddrToOffset(u32 addr, u32 mem2_offset)

inline u32 offsetToDolphinAddr(u32 offset, u32 mem2_offset)
{
if (offset < 0 or offset >= 0x2000000)
if (offset < 0 || offset >= 0x2000000)
{
// MEM2, calculate correct address from MEM2 offset
offset += 0x10000000;
Expand Down

0 comments on commit 5d7f81d

Please sign in to comment.