lightrec: hack to fix a wrong assumption
[pcsx_rearmed.git] / deps / lightrec / optimizer.h
index c829028..825042d 100644 (file)
@@ -14,6 +14,7 @@ struct opcode;
 _Bool opcode_reads_register(union code op, u8 reg);
 _Bool opcode_writes_register(union code op, u8 reg);
 _Bool has_delay_slot(union code op);
+_Bool is_delay_slot(const struct opcode *list, unsigned int offset);
 _Bool load_in_delay_slot(union code op);
 _Bool opcode_is_io(union code op);
 _Bool is_unconditional_jump(union code c);