mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Warning fixes
Some checks are pending
Generate Translation Template / Generate Translation Template (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Waiting to run
Build RPCS3 / RPCS3 Windows (push) Waiting to run
Some checks are pending
Generate Translation Template / Generate Translation Template (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Waiting to run
Build RPCS3 / RPCS3 Windows (push) Waiting to run
This commit is contained in:
parent
dcc263ca5d
commit
ab269f6155
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:
|
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
|
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 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_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))
|
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;
|
u32 saved_pc = umax;
|
||||||
const u8* lsa_state_ptr = nullptr;
|
const u8* lsa_state_ptr = nullptr;
|
||||||
|
|
||||||
const u8* lsa_ptr = _ptr<u8>(ch_mfc_cmd.lsa);
|
|
||||||
|
|
||||||
// Load PC, GPRs and reservation data atomically
|
// 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
|
// We may not load the entire context atomically, but there is importance their state being intact for debugging
|
||||||
do
|
do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue