mirror of
https://github.com/open-goal/jak-project
synced 2026-08-16 21:28:00 -04:00
remove gd files, simplify fakeiso (#1053)
* remove gd files, simplify fakeiso * fix bug in decompiler mistakenly marking functions as asm
This commit is contained in:
@@ -88,7 +88,8 @@ void Function::analyze_prologue(const LinkedObjectFile& file) {
|
||||
|
||||
// storing s7 on the stack is done by interrupt handlers, which we probably don't want to
|
||||
// support
|
||||
if (instr.kind == InstructionKind::SD && instr.get_src(0).get_reg() == make_gpr(Reg::S7)) {
|
||||
if (instr.kind == InstructionKind::SD && instr.get_src(0).get_reg() == make_gpr(Reg::S7) &&
|
||||
instr.get_src(2).get_reg() == make_gpr(Reg::SP)) {
|
||||
lg::warn(
|
||||
"Function {} was flagged as asm due to this instruction: {}. Consider flagging as asm "
|
||||
"in config!",
|
||||
|
||||
Reference in New Issue
Block a user