Use alignment for ReadDataU32XN. Revert james temp fix.

Should provide some form of a speedup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6812 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
xsacha
2011-01-11 04:54:35 +00:00
parent d78be40be9
commit 3f5d1afc6a
4 changed files with 24 additions and 29 deletions

View File

@ -364,8 +364,7 @@ static void DecodeSemiNop()
u32 Cmd2 = DataReadU32();
int transfer_size = ((Cmd2 >> 16) & 15) + 1;
u32 address = Cmd2 & 0xFFFF;
// TODO - speed this up. pshufb?
u32 data_buffer[16];
GC_ALIGNED128(u32 data_buffer[16]);
DataReadU32xFuncs[transfer_size-1](data_buffer);
LoadXFReg(transfer_size, address, data_buffer);
INCSTAT(stats.thisFrame.numXFLoads);