mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-11 08:40:02 +01:00
Refactoring:
* Added __fi and __ri, which are abbreviations for __forceinline and __releaseinline. * Added some static qualifiers to functions in mVU, MMI ops, and others where appropriate. * Removed some unnecessary __fastcall qualifiers (since GCC gets funny sometimes when you combine __fastcall and inlining). * Made _1mb, _16mb, _1gb values common to all emulation code (moved from newVif/mvu to Common.h) -- they're useful! :) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3624 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
dceb9a78bb
commit
8375b0a989
103 files changed
+798
-790
No files matched your search
@@ -36,7 +36,7 @@ static wxString GetTranslation( const wxChar* msg )
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
# define DEVASSERT_INLINE __noinline
|
||||
#else
|
||||
# define DEVASSERT_INLINE __forceinline
|
||||
# define DEVASSERT_INLINE __fi
|
||||
#endif
|
||||
|
||||
// Using a threadlocal assertion guard. Separate threads can assert at the same time.
|
||||
@@ -123,7 +123,7 @@ DEVASSERT_INLINE void pxOnAssert( const DiagnosticOrigin& origin, const wxChar*
|
||||
if( trapit ) { pxTrap(); }
|
||||
}
|
||||
|
||||
__forceinline void pxOnAssert( const DiagnosticOrigin& origin, const char* msg)
|
||||
__fi void pxOnAssert( const DiagnosticOrigin& origin, const char* msg)
|
||||
{
|
||||
pxOnAssert( origin, fromUTF8(msg) );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user