offsetof() eliminated
OFFSET_32, SIZE_32, ALIGN_32 used
This commit is contained in:
Nekotekina 2016-01-14 18:03:08 +03:00
parent 83084467c6
commit 960668ecf1
22 changed files with 115 additions and 118 deletions

View file

@ -114,7 +114,7 @@ std::string FragmentProgramDecompiler::AddConst()
return name;
}
auto data = vm::ps3::ptr<u32>::make(m_addr + m_size + 4 * sizeof32(u32));
auto data = vm::ps3::ptr<u32>::make(m_addr + m_size + 4 * SIZE_32(u32));
m_offset = 2 * 4 * sizeof(u32);
u32 x = GetData(data[0]);