mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Skip nop padding between functions.
Fixes graphical artifacts in Final Fantasy Tactics, recognizing memset and memcpy.
This commit is contained in:
parent
f801123849
commit
0550b9372a
@ -836,6 +836,10 @@ skip:
|
||||
if ((op & 0xFFFF8000) == 0x27BD0000) {
|
||||
decreasedSp = false;
|
||||
}
|
||||
if (op == MIPS_MAKE_NOP() && currentFunction.start == addr) {
|
||||
// Skip nop padding at the beginning of functions (alignment?)
|
||||
currentFunction.start += 4;
|
||||
}
|
||||
|
||||
if (looking) {
|
||||
if (addr >= furthestBranch) {
|
||||
|
Loading…
Reference in New Issue
Block a user