mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
Fix missing-braces warnings
This commit is contained in:
parent
dbece4d00f
commit
321f7e7197
4 changed files with 10 additions and 11 deletions
|
|
@ -448,7 +448,7 @@ error_code cellSyncQueueInitialize(vm::ptr<CellSyncQueue> queue, vm::ptr<u8> buf
|
|||
}
|
||||
|
||||
// clear sync var, write size, depth, buffer addr and sync
|
||||
queue->ctrl.store({ 0, 0 });
|
||||
queue->ctrl.store({});
|
||||
queue->size = size;
|
||||
queue->depth = depth;
|
||||
queue->buffer = buffer;
|
||||
|
|
@ -722,8 +722,7 @@ error_code cellSyncQueueClear(ppu_thread& ppu, vm::ptr<CellSyncQueue> queue)
|
|||
}
|
||||
}
|
||||
|
||||
queue->ctrl.exchange({ 0, 0 });
|
||||
|
||||
queue->ctrl.store({});
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue