summaryrefslogtreecommitdiff
path: root/libpcsxcore/ppc
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-10-06 16:51:35 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-10-06 16:51:35 +0000
commit0d1bc99a99024e561d48d9acf73a96503e3c91c5 (patch)
tree8bef6d1a72904a422fb5f589c78bca76099f1ed5 /libpcsxcore/ppc
parent609b09af544e8adf4f1a841f77cfe3c1203173f4 (diff)
downloadpcsxr-0d1bc99a99024e561d48d9acf73a96503e3c91c5.tar.gz
* GTE;
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87357 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/ppc')
-rw-r--r--libpcsxcore/ppc/pGte.h38
1 files changed, 14 insertions, 24 deletions
diff --git a/libpcsxcore/ppc/pGte.h b/libpcsxcore/ppc/pGte.h
index 51b4db45..26f21e71 100644
--- a/libpcsxcore/ppc/pGte.h
+++ b/libpcsxcore/ppc/pGte.h
@@ -46,44 +46,34 @@ static void rec##f() { \
cop2readypc = pc + psxCP2time[_fFunct_(psxRegs.code)]<<2; \
}
-#define CP2_FUNCNC(f) \
-void gte##f(); \
-static void rec##f() { \
- if (pc < cop2readypc) idlecyclecount += (cop2readypc - pc)>>2; \
- iFlushRegs(0); \
- CALLFunc ((u32)gte##f); \
-/* branch = 2; */\
- cop2readypc = pc + psxCP2time[_fFunct_(psxRegs.code)]; \
-}
-
CP2_FUNC(MFC2);
CP2_FUNC(MTC2);
CP2_FUNC(CFC2);
CP2_FUNC(CTC2);
CP2_FUNC(LWC2);
CP2_FUNC(SWC2);
-CP2_FUNCNC(RTPS);
+CP2_FUNC(RTPS);
CP2_FUNC(OP);
-CP2_FUNCNC(NCLIP);
+CP2_FUNC(NCLIP);
CP2_FUNC(DPCS);
CP2_FUNC(INTPL);
CP2_FUNC(MVMVA);
-CP2_FUNCNC(NCDS);
-CP2_FUNCNC(NCDT);
-CP2_FUNCNC(CDP);
-CP2_FUNCNC(NCCS);
-CP2_FUNCNC(CC);
-CP2_FUNCNC(NCS);
-CP2_FUNCNC(NCT);
+CP2_FUNC(NCDS);
+CP2_FUNC(NCDT);
+CP2_FUNC(CDP);
+CP2_FUNC(NCCS);
+CP2_FUNC(CC);
+CP2_FUNC(NCS);
+CP2_FUNC(NCT);
CP2_FUNC(SQR);
CP2_FUNC(DCPL);
-CP2_FUNCNC(DPCT);
-CP2_FUNCNC(AVSZ3);
-CP2_FUNCNC(AVSZ4);
-CP2_FUNCNC(RTPT);
+CP2_FUNC(DPCT);
+CP2_FUNC(AVSZ3);
+CP2_FUNC(AVSZ4);
+CP2_FUNC(RTPT);
CP2_FUNC(GPF);
CP2_FUNC(GPL);
-CP2_FUNCNC(NCCT);
+CP2_FUNC(NCCT);
#ifdef __cplusplus
}