gpu_neon: some hack to enhanced mode
[pcsx_rearmed.git] / deps / lightrec / lightrec-private.h
index 12e953a..1f8e10b 100644 (file)
@@ -156,6 +156,7 @@ struct lightrec_cstate {
 struct lightrec_state {
        struct lightrec_registers regs;
        u32 temp_reg;
+       u32 curr_pc;
        u32 next_pc;
        uintptr_t wrapper_regs[NUM_TEMPS];
        u8 in_delay_slot_n;
@@ -360,4 +361,9 @@ get_delay_slot(const struct opcode *list, u16 i)
        return op_flag_no_ds(list[i].flags) ? &list[i - 1] : &list[i + 1];
 }
 
+static inline _Bool lightrec_store_next_pc(void)
+{
+       return NUM_REGS + NUM_TEMPS <= 4;
+}
+
 #endif /* __LIGHTREC_PRIVATE_H__ */