aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec/linkage_offsets.h
diff options
context:
space:
mode:
authornotaz2013-03-31 19:17:34 +0300
committernotaz2013-04-01 01:20:16 +0300
commitc6d5790c709c4efcc01718fbe99572af550d3dff (patch)
tree3d403cc502bcc490c6f1e277ce76c8bb1c47bcb2 /libpcsxcore/new_dynarec/linkage_offsets.h
parentb1f89e6f247c9b11c745cc1a7201cce5fb4fe08f (diff)
downloadpcsx_rearmed-c6d5790c709c4efcc01718fbe99572af550d3dff.tar.gz
pcsx_rearmed-c6d5790c709c4efcc01718fbe99572af550d3dff.tar.bz2
pcsx_rearmed-c6d5790c709c4efcc01718fbe99572af550d3dff.zip
gte_neon: access scratch_buf through drc context
Diffstat (limited to 'libpcsxcore/new_dynarec/linkage_offsets.h')
-rw-r--r--libpcsxcore/new_dynarec/linkage_offsets.h7
1 files changed, 5 insertions, 2 deletions
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)