I think it should be addr there, not address. Plus code-formatting.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6169 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st 2010-09-03 14:06:34 +00:00
parent 76a5ca84d1
commit c92ae1c915
1 changed files with 14 additions and 13 deletions

View File

@ -370,7 +370,7 @@ bool CompileAndRunDisplayList(u32 address, int size, CachedDisplayList *dl)
u32 addr = DataReadU32();
u32 count = DataReadU32();
ExecuteDisplayList(addr, count);
emitter.ABI_CallFunctionCC((void *)&ExecuteDisplayList, address, count);
emitter.ABI_CallFunctionCC((void *)&ExecuteDisplayList, addr, count);
}
break;
@ -419,7 +419,8 @@ bool CompileAndRunDisplayList(u32 address, int size, CachedDisplayList *dl)
memcpy(NewData,StartAddress,Vdatasize);
dl->Vdata[dl->BufferCount] = NewData;
dl->BufferCount++;
emitter.ABI_CallFunctionCCCP((void *)&VertexLoaderManager::RunCompiledVertices,cmd_byte & GX_VAT_MASK, (cmd_byte & GX_PRIMITIVE_MASK) >> GX_PRIMITIVE_SHIFT, numVertices, NewData);
emitter.ABI_CallFunctionCCCP((void *)&VertexLoaderManager::RunCompiledVertices,
cmd_byte & GX_VAT_MASK, (cmd_byte & GX_PRIMITIVE_MASK) >> GX_PRIMITIVE_SHIFT, numVertices, NewData);
}
}
else