mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Warning fixes
This commit is contained in:
parent
a29cdc12b9
commit
c764a401a1
2 changed files with 3 additions and 4 deletions
|
@ -2361,7 +2361,9 @@ bool ppu_module<lv2_obj>::analyse(u32 lib_toc, u32 entry, const u32 sec_end, con
|
|||
}
|
||||
case ppu_itype::MTSPR:
|
||||
{
|
||||
switch (const u32 n = (op.spr >> 5) | ((op.spr & 0x1f) << 5))
|
||||
const u32 spr_idx = (op.spr >> 5) | ((op.spr & 0x1f) << 5);
|
||||
|
||||
switch (spr_idx)
|
||||
{
|
||||
case 0x001: // MTXER
|
||||
{
|
||||
|
@ -2459,7 +2461,6 @@ bool ppu_module<lv2_obj>::analyse(u32 lib_toc, u32 entry, const u32 sec_end, con
|
|||
const reg_state_t rb = get_reg(op.rb);
|
||||
|
||||
const bool is_ra = ra(is_const) && (ra(minv) >= start && ra(minv) < segs_end);
|
||||
const bool is_rb = rb(is_const) && (rb(minv) >= start && rb(minv) < segs_end);
|
||||
|
||||
if (ra(is_const) == rb(is_const))
|
||||
{
|
||||
|
|
|
@ -1209,8 +1209,6 @@ void spu_thread::dump_regs(std::string& ret, std::any& /*custom_data*/) const
|
|||
u32 saved_pc = umax;
|
||||
const u8* lsa_state_ptr = nullptr;
|
||||
|
||||
const u8* lsa_ptr = _ptr<u8>(ch_mfc_cmd.lsa);
|
||||
|
||||
// Load PC, GPRs and reservation data atomically
|
||||
// We may not load the entire context atomically, but there is importance their state being intact for debugging
|
||||
do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue