aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec/pcsxmem_inline.c
diff options
context:
space:
mode:
authornotaz2011-10-24 23:13:09 +0300
committernotaz2011-10-30 23:48:08 +0200
commit19776aef6da17a49e95e1bc924b26bcf49713c75 (patch)
tree70dab76c0eee5e85e28f2c923e95bac9ebfa21e8 /libpcsxcore/new_dynarec/pcsxmem_inline.c
parent5b8c000f969c365d48418781d8f88f9c58d65611 (diff)
downloadpcsx_rearmed-19776aef6da17a49e95e1bc924b26bcf49713c75.tar.gz
pcsx_rearmed-19776aef6da17a49e95e1bc924b26bcf49713c75.tar.bz2
pcsx_rearmed-19776aef6da17a49e95e1bc924b26bcf49713c75.zip
drc: some debug code improvements
Diffstat (limited to 'libpcsxcore/new_dynarec/pcsxmem_inline.c')
-rw-r--r--libpcsxcore/new_dynarec/pcsxmem_inline.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libpcsxcore/new_dynarec/pcsxmem_inline.c b/libpcsxcore/new_dynarec/pcsxmem_inline.c
index 210ce0e..305931a 100644
--- a/libpcsxcore/new_dynarec/pcsxmem_inline.c
+++ b/libpcsxcore/new_dynarec/pcsxmem_inline.c
@@ -5,6 +5,8 @@
* See the COPYING file in the top-level directory.
*/
+#ifndef DRC_DBG
+
static int pcsx_direct_read(int type, u_int addr, int cc_adj, int cc, int rs, int rt)
{
if ((addr & 0xfffff000) == 0x1f801000) {
@@ -52,4 +54,13 @@ dont_care:
return 1;
}
+#else
+
+static int pcsx_direct_read(int type, u_int addr, int cc_adj, int cc, int rs, int rt)
+{
+ return 0;
+}
+
+#endif
+
// vim:shiftwidth=2:expandtab