mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
Warning fixes, alignment checks
This commit is contained in:
1 parent
fba2489c79
commit
5260be6f69
7 files changed
+28
-9
No files matched your search
@@ -74,6 +74,7 @@ namespace MIPSCodeUtils
|
||||
}
|
||||
}
|
||||
|
||||
// As long as addr is aligned, this will only return aligned addresses.
|
||||
u32 GetSureBranchTarget(u32 addr) {
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr, true);
|
||||
if (op != 0) {
|
||||
@@ -130,6 +131,4 @@ namespace MIPSCodeUtils
|
||||
bool IsBranch(MIPSOpcode op) {
|
||||
return (MIPSGetInfo(op) & IS_CONDBRANCH) == IS_CONDBRANCH;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user