From 262a806c638d525e8992ee36dc40554eb44649d3 Mon Sep 17 00:00:00 2001 From: sudonim1 Date: Sun, 30 May 2010 17:43:20 +0000 Subject: [PATCH] Little logic error in the HLE ioman code that arcum spotted. (It's in code that isn't reachable unless there's a bug in fd allocation so it won't affect anything.) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3129 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/IopBios.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/IopBios.cpp b/pcsx2/IopBios.cpp index a30c113234..759470d588 100644 --- a/pcsx2/IopBios.cpp +++ b/pcsx2/IopBios.cpp @@ -248,7 +248,7 @@ namespace ioman { else { v0 = allocfd(file); - if (v0 < 0) + if ((s32)v0 < 0) file->close(); }