mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1422 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
a0bc6d33bb
commit
98ff4fd12d
3 files changed
+10
-2
No files matched your search
@@ -290,7 +290,7 @@ microVUt(void) mVUtestCycles(mV) {
|
||||
// Recompiler
|
||||
//------------------------------------------------------------------
|
||||
|
||||
void* mVUcompile(microVU* mVU, u32 startPC, uptr pState) {
|
||||
microVUr(void*) mVUcompile(microVU* mVU, u32 startPC, uptr pState) {
|
||||
|
||||
using namespace x86Emitter;
|
||||
microBlock* pBlock = NULL;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
//------------------------------------------------------------------
|
||||
|
||||
// Generates the code for entering recompiled blocks
|
||||
microVUt(void) mVUdispatcherA(mV) {
|
||||
void mVUdispatcherA(mV) {
|
||||
mVU->startFunct = x86Ptr;
|
||||
|
||||
// __fastcall = The first two DWORD or smaller arguments are passed in ECX and EDX registers; all other arguments are passed right to left.
|
||||
|
||||
@@ -148,9 +148,17 @@ declareAllVariables
|
||||
#define mF int recPass
|
||||
#define mX mVU, recPass
|
||||
|
||||
// Recursive Inline
|
||||
#ifndef __LINUX__
|
||||
#define __recInline __forceinline
|
||||
#else
|
||||
#define __recInline inline
|
||||
#endif
|
||||
|
||||
// Function/Template Stuff
|
||||
#define mVUx (vuIndex ? µVU1 : µVU0)
|
||||
#define mVUop(opName) void opName (mP)
|
||||
#define microVUr(aType) __recInline aType
|
||||
#define microVUt(aType) __forceinline aType
|
||||
#define microVUx(aType) template<int vuIndex> aType
|
||||
#define microVUf(aType) template<int vuIndex> __forceinline aType
|
||||
|
||||
Reference in new issue
Block a user