X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fnew_dynarec%2Fpcsxmem_inline.c;h=305931ae394c3b9bff68dd7b81318a1f4c2a0ce2;hp=210ce0edf80d20cb2baf0413f4d674a32f43c5af;hb=19776aef6da17a49e95e1bc924b26bcf49713c75;hpb=5b8c000f969c365d48418781d8f88f9c58d65611 diff --git a/libpcsxcore/new_dynarec/pcsxmem_inline.c b/libpcsxcore/new_dynarec/pcsxmem_inline.c index 210ce0ed..305931ae 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