From c6d5790c709c4efcc01718fbe99572af550d3dff Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 31 Mar 2013 19:17:34 +0300 Subject: gte_neon: access scratch_buf through drc context --- libpcsxcore/new_dynarec/linkage_offsets.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libpcsxcore/new_dynarec/linkage_offsets.h') diff --git a/libpcsxcore/new_dynarec/linkage_offsets.h b/libpcsxcore/new_dynarec/linkage_offsets.h index 55ceb42..f7e1911 100644 --- a/libpcsxcore/new_dynarec/linkage_offsets.h +++ b/libpcsxcore/new_dynarec/linkage_offsets.h @@ -29,10 +29,13 @@ #define LO_inv_code_start (LO_zeromem_ptr + 4) #define LO_inv_code_end (LO_inv_code_start + 4) #define LO_branch_target (LO_inv_code_end + 4) -#define LO_align0 (LO_branch_target + 4) -#define LO_mini_ht (LO_align0 + 16) +#define LO_scratch_buf_ptr (LO_branch_target + 4) +#define LO_align0 (LO_scratch_buf_ptr + 4) +#define LO_mini_ht (LO_align0 + 12) #define LO_restore_candidate (LO_mini_ht + 256) #define LO_dynarec_local_size (LO_restore_candidate + 512) #define LO_FCR0 (LO_align0) #define LO_FCR31 (LO_align0) + +#define LO_cop2_to_scratch_buf (LO_scratch_buf_ptr - LO_reg_cop2d) -- cgit v1.2.3