Fix iso loading.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2219 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2009-11-19 02:39:29 +00:00
parent 91113d5e9a
commit cebefa6130
2 changed files with 3 additions and 3 deletions

View File

@ -356,7 +356,7 @@ int _isoReadBlockM(isoFile *iso, u8 *dst, uint lsn)
int isoReadBlock(isoFile *iso, u8 *dst, uint lsn)
{
uint ret;
int ret;
if (lsn > iso->blocks)
{
@ -373,7 +373,7 @@ int isoReadBlock(isoFile *iso, u8 *dst, uint lsn)
else
ret = _isoReadBlock(iso, dst, lsn);
if (ret < lsn) return -1;
if (ret < 0) return -1;
if (iso->type == ISOTYPE_CD)
{

View File

@ -54,7 +54,7 @@ void __fastcall vu0ExecMicro(u32 addr) {
VU0.VI[REG_VPU_STAT].UL&= ~0xAE;
// If an unsigned variable isn't -1? --arcum42
/*if (addr != -1) */VU0.VI[REG_TPC].UL = addr;
if (addr != (u32)-1) VU0.VI[REG_TPC].UL = addr;
_vuExecMicroDebug(VU0);
CpuVU0.ExecuteBlock();