diff --git a/pcsx2/USB/USB.cpp b/pcsx2/USB/USB.cpp index 57ddcbca0c..31525fe606 100644 --- a/pcsx2/USB/USB.cpp +++ b/pcsx2/USB/USB.cpp @@ -621,7 +621,7 @@ void USBasync(u32 cycles) int cpu_physical_memory_rw(u32 addr, u8* buf, size_t len, int is_write) { // invalid address, reset and try again - if (addr + len >= 0x200000) + if ((u64)addr + len >= 0x200000) { if (qemu_ohci) ohci_soft_reset(qemu_ohci);