From cf4d7152847736f1c162792132723de70c7f1c0f Mon Sep 17 00:00:00 2001 From: Eladash Date: Sun, 21 Jul 2019 04:53:07 +0400 Subject: [PATCH] typo fix (to squash) --- rpcs3/Emu/Cell/lv2/sys_rsx.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_rsx.cpp b/rpcs3/Emu/Cell/lv2/sys_rsx.cpp index 06e2b48abd..3cd09a11fb 100644 --- a/rpcs3/Emu/Cell/lv2/sys_rsx.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_rsx.cpp @@ -1,7 +1,6 @@ #include "stdafx.h" #include "sys_rsx.h" -#include #include "Emu/System.h" #include "Emu/Cell/PPUModule.h" #include "Emu/RSX/GSRender.h" @@ -229,7 +228,7 @@ error_code sys_rsx_context_iounmap(u32 context_id, u32 io, u32 size) while (io < end) { const u32 ea_entry = std::exchange(RSXIOMem.ea[io++].raw(), 0xFFFF); - if (ea_entry < 512) RSXIOMem.io[ea_entry].raw() = 0xFFFF; + if (ea_entry < 0xC00) RSXIOMem.io[ea_entry].raw() = 0xFFFF; } return CELL_OK;