mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 12:04:45 +00:00
clang
This commit is contained in:
parent
ac80849860
commit
3f1a85c969
1 changed files with 1 additions and 2 deletions
|
@ -149,8 +149,7 @@ void Translator::DS_MIN_U32(const GcnInst& inst) {
|
|||
void Translator::DS_ADD_U32(const GcnInst& inst) {
|
||||
const IR::U32 addr{GetSrc(inst.src[0])};
|
||||
const IR::U32 data{GetSrc(inst.src[1])};
|
||||
const IR::U32 offset = ir.Imm32(
|
||||
u32(inst.control.ds.offset0));
|
||||
const IR::U32 offset = ir.Imm32(u32(inst.control.ds.offset0));
|
||||
const IR::U32 addr_offset = ir.IAdd(addr, offset);
|
||||
const IR::U32 aligned_addr = ir.BitwiseAnd(addr_offset, ir.Imm32(~3));
|
||||
const IR::U32 old_value = IR::U32(ir.LoadShared(32, false, aligned_addr));
|
||||
|
|
Loading…
Add table
Reference in a new issue