mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-08-01 10:39:53 -06:00
Fix almost every warning (#2195)
Fix almost every warning as of Clang 19 * <codecvt> is deprecated, we can use QString's UTF-16 conversion instead * remove sem_timedwait implementation as we don't need it anymore * remove a useless shift that has its result discarded * change usages of deprecated sprintf to snprintf
This commit is contained in:

committed by
GitHub

parent
be26878b4c
commit
c41951d49c
@ -83,7 +83,7 @@ void Compiler::Comp_JumpTo(u32 addr, bool forceNonConstantCycles)
|
||||
// doesn't matter if we put garbage in the MSbs there
|
||||
if (addr & 0x2)
|
||||
{
|
||||
cpu9->CodeRead32(addr-2, true) >> 16;
|
||||
cpu9->CodeRead32(addr-2, true);
|
||||
cycles += cpu9->CodeCycles;
|
||||
cpu9->CodeRead32(addr+2, false);
|
||||
cycles += CurCPU->CodeCycles;
|
||||
@ -437,4 +437,4 @@ void Compiler::T_Comp_BL_Merged()
|
||||
Comp_JumpTo(target);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user