mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
Fix iso loading.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2219 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user