diff options
author | notaz | 2011-02-26 23:56:06 +0200 |
---|---|---|
committer | notaz | 2011-03-01 01:06:37 +0200 |
commit | 009faf24e665b66283558234920faab03b781d6c (patch) | |
tree | 1327140cc33afa4de3deeaa63a6d1234426a42ae /libpcsxcore/new_dynarec/emu_if.c | |
parent | 17ed0d696a7a3649cc41dcf182e162c85002b33a (diff) | |
download | pcsx_rearmed-009faf24e665b66283558234920faab03b781d6c.tar.gz pcsx_rearmed-009faf24e665b66283558234920faab03b781d6c.tar.bz2 pcsx_rearmed-009faf24e665b66283558234920faab03b781d6c.zip |
gte_neon: hook into recompiler
Diffstat (limited to 'libpcsxcore/new_dynarec/emu_if.c')
-rw-r--r-- | libpcsxcore/new_dynarec/emu_if.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index b44feb3..f337b65 100644 --- a/libpcsxcore/new_dynarec/emu_if.c +++ b/libpcsxcore/new_dynarec/emu_if.c @@ -1,5 +1,5 @@ /* - * (C) Gražvydas "notaz" Ignotas, 2010 + * (C) Gražvydas "notaz" Ignotas, 2010-2011 * * This work is licensed under the terms of GNU GPL version 2 or later. * See the COPYING file in the top-level directory. @@ -14,6 +14,7 @@ #include "../cdrom.h" #include "../psxdma.h" #include "../mdec.h" +#include "../gte_neon.h" #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) @@ -163,7 +164,12 @@ static int ari64_init() for (i = 0; i < ARRAY_SIZE(gte_handlers); i++) if (psxCP2[i] != psxNULL) gte_handlers[i] = psxCP2[i]; - +#ifdef __arm__ + gte_handlers[0x01] = gteRTPS_neon; + gte_handlers[0x30] = gteRTPT_neon; + gte_handlers[0x12] = gteMVMVA_neon; + gte_handlers[0x06] = gteNCLIP_neon; +#endif psxH_ptr = psxH; return 0; |