Small change to re0 fix trying to get it to work properly!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3218 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
death2droid 2009-05-13 21:20:19 +00:00
parent 9b7b44fff6
commit e1699988a6
1 changed files with 8 additions and 9 deletions

View File

@ -344,21 +344,20 @@ void CUCode_AX::MixAdd(short* _pBuffer, int _iSize)
int numupd = upd0 + upd1 + upd2 + upd3 + upd4;
if(numupd > 64) numupd = 64; // prevent crazy values
const u32 updaddr = (u32)(upd_hi << 16) | upd_lo;
const u16 updpar = 0;
const u16 upddata = 0;
int on = false, off = false;
for (int j = 0; j < numupd; j++)
{
if(!g_Config.m_EnableRE0Fix)
{
const u16 updpar = Memory_Read_U16(updaddr + j);
const u16 upddata = Memory_Read_U16(updaddr + j + 2);
}
else
{
const u16 updpar = Memory_Read_U16(updaddr + j);
const u16 upddata = Memory_Read_U16(updaddr + j + 2);
if(g_Config.m_EnableRE0Fix)
{
const u16 updpar = Memory_Read_U16(updaddr);
const u16 upddata = Memory_Read_U16(updaddr + 2);
}
else
{
// Do nothing for now
}