Win32 fix & elf loading fix

Fixed compilation error for x86 version. Fixed issue with ELF loading.
This commit is contained in:
Nekotekina 2013-12-15 01:59:37 +04:00
parent 01a274a1db
commit c3d2cd344f
3 changed files with 8 additions and 4 deletions

View File

@ -148,8 +148,8 @@ struct DMAC
u64 ls_offset;
u32 queue_pos;
u32 proxy_pos;
u32 queue_lock;
u32 proxy_lock;
long queue_lock;
long proxy_lock;
u32 Cmd(u32 cmd, u32 tag, u32 lsa, u64 ea, u32 size)
{

View File

@ -265,7 +265,7 @@ public:
private:
u32 m_value[max_count];
u32 m_index;
u32 m_lock;
long m_lock;
public:

View File

@ -30,7 +30,11 @@ u32 vfsDevice::CmpPs3Path(const wxString& ps3_path)
for(u32 i=0; i<lim; ++i, ++ret)
{
if(m_ps3_path[i] != ps3_path[i]) break;
if(m_ps3_path[i] != ps3_path[i])
{
ret = 0;
break;
}
}
return ret;