mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
Apply some Clang-Tidy fixes
This commit is contained in:
parent
c0fbf3091e
commit
93552a5958
34 changed files with 59 additions and 59 deletions
|
|
@ -1528,7 +1528,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
|||
auto ppu = idm::make_ptr<named_thread<ppu_thread>>("PPU[0x1000000] Thread (main_thread)", p, "main_thread", primary_prio, 1);
|
||||
|
||||
// Write initial data (exitspawn)
|
||||
if (Emu.data.size())
|
||||
if (!Emu.data.empty())
|
||||
{
|
||||
std::memcpy(vm::base(ppu->stack_addr + ppu->stack_size - ::size32(Emu.data)), Emu.data.data(), Emu.data.size());
|
||||
ppu->gpr[1] -= Emu.data.size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue