mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Enable -Wstrict-aliasing=1 (GCC)
Fixed partially.
This commit is contained in:
parent
3990e2d3e6
commit
a4fdbf0a88
34 changed files with 141 additions and 81 deletions
|
|
@ -13,7 +13,9 @@ const spu_decoder<spu_iflag> s_spu_iflag;
|
|||
u32 SPUDisAsm::disasm(u32 pc)
|
||||
{
|
||||
dump_pc = pc;
|
||||
m_op = *reinterpret_cast<const atomic_be_t<u32>*>(m_offset + pc);
|
||||
be_t<u32> op;
|
||||
std::memcpy(&op, m_offset + pc, 4);
|
||||
m_op = op;
|
||||
(this->*(s_spu_disasm.decode(m_op)))({ m_op });
|
||||
return 4;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue