mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
Small warnings cleanup (#6671)
* Ignore more warnings These are intentional * Signed/unsigned mismatch when comparing * Explictly cast values * Intentionally discard a nodiscard value * Change ppu_tid to u32 * Do not use POSIX function name on Windows * Qt: Use horizontalAdvance instead of width * Change progress variables to u32
This commit is contained in:
parent
89a2d04f96
commit
f3ed26e9db
17 changed files with 45 additions and 39 deletions
|
@ -1680,7 +1680,7 @@ void spu_thread::do_mfc(bool wait)
|
|||
u32 fence = 0;
|
||||
|
||||
// Process enqueued commands
|
||||
std::remove_if(mfc_queue + 0, mfc_queue + mfc_size, [&](spu_mfc_cmd& args)
|
||||
static_cast<void>(std::remove_if(mfc_queue + 0, mfc_queue + mfc_size, [&](spu_mfc_cmd& args)
|
||||
{
|
||||
// Select tag bit in the tag mask or the stall mask
|
||||
const u32 mask = utils::rol32(1, args.tag);
|
||||
|
@ -1753,7 +1753,7 @@ void spu_thread::do_mfc(bool wait)
|
|||
|
||||
removed++;
|
||||
return true;
|
||||
});
|
||||
}));
|
||||
|
||||
mfc_size -= removed;
|
||||
mfc_barrier = barrier;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue