mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
SPU: fix some wierd typos (may be wrong, no idea)
This commit is contained in:
parent
105c694903
commit
a597368c46
@ -1197,7 +1197,7 @@ static void ppu_check_patch_spu_images(const ppu_module& mod, const ppu_segment&
|
||||
{
|
||||
// SPURS GUID pattern
|
||||
end = it;
|
||||
ppu_log.success("Found SPURS GUID Pattern for terminagtor at 0x%05x", end + seg.addr);
|
||||
ppu_log.success("Found SPURS GUID Pattern for terminator at 0x%05x", end + seg.addr);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -4068,9 +4068,9 @@ bool spu_thread::is_exec_code(u32 addr, std::span<const u8> ls_ptr, u32 base_add
|
||||
// Test the validity of a single instruction of the optional target
|
||||
// This function can't be too slow and is unlikely to improve results by a great deal
|
||||
const u32 op0 = read_from_ptr<be_t<u32>>(ls_ptr, route_pc - base_addr);
|
||||
const auto type0 = s_spu_itype.decode(op);
|
||||
const spu_itype::type type0 = s_spu_itype.decode(op0);
|
||||
|
||||
if (type == spu_itype::UNK || !op)
|
||||
if (type0 == spu_itype::UNK || !op0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -16,8 +16,8 @@ namespace
|
||||
constexpr u32 DS4_GYRO_RES_PER_DEG_S = 86; // technically this could be 1024, but keeping it at 86 keeps us within 16 bits of precision
|
||||
constexpr u32 DS4_FEATURE_REPORT_0x02_SIZE = 37;
|
||||
constexpr u32 DS4_FEATURE_REPORT_0x05_SIZE = 41;
|
||||
constexpr u32 DS4_FEATURE_REPORT_0x12_SIZE = 16;
|
||||
constexpr u32 DS4_FEATURE_REPORT_0x81_SIZE = 7;
|
||||
//constexpr u32 DS4_FEATURE_REPORT_0x12_SIZE = 16;
|
||||
//constexpr u32 DS4_FEATURE_REPORT_0x81_SIZE = 7;
|
||||
constexpr u32 DS4_FEATURE_REPORT_0xA3_SIZE = 49;
|
||||
constexpr u32 DS4_INPUT_REPORT_0x11_SIZE = 78;
|
||||
constexpr u32 DS4_OUTPUT_REPORT_0x05_SIZE = 32;
|
||||
|
Loading…
Reference in New Issue
Block a user