Add curlies around DISABLE/CONDITIONAL_DISABLE.

This commit is contained in:
Unknown W. Brackets committed 2013-02-15 08:35:33 -08:00
1 parent a1ed7d7c54
commit f6f2927526
4 files changed
+9 -12

No files matched your search

+2 -2
View File
@@ -32,9 +32,9 @@ using namespace MIPSAnalyst;
// All functions should have CONDITIONAL_DISABLE, so we can narrow things down to a file quickly.
// Currently known non working ones should have DISABLE.
//#define CONDITIONAL_DISABLE Comp_Generic(op); return;
//#define CONDITIONAL_DISABLE { Comp_Generic(op); return; }
#define CONDITIONAL_DISABLE ;
#define DISABLE Comp_Generic(op); return;
#define DISABLE { Comp_Generic(op); return; }
namespace MIPSComp
{
+2 -2
View File
@@ -34,9 +34,9 @@
// All functions should have CONDITIONAL_DISABLE, so we can narrow things down to a file quickly.
// Currently known non working ones should have DISABLE.
// #define CONDITIONAL_DISABLE Comp_Generic(op); return;
// #define CONDITIONAL_DISABLE { Comp_Generic(op); return; }
#define CONDITIONAL_DISABLE ;
#define DISABLE Comp_Generic(op); return;
#define DISABLE { Comp_Generic(op); return; }
namespace MIPSComp
{
+2 -2
View File
@@ -35,9 +35,9 @@
// All functions should have CONDITIONAL_DISABLE, so we can narrow things down to a file quickly.
// Currently known non working ones should have DISABLE.
// #define CONDITIONAL_DISABLE Comp_Generic(op); return;
// #define CONDITIONAL_DISABLE { Comp_Generic(op); return; }
#define CONDITIONAL_DISABLE ;
#define DISABLE Comp_Generic(op); return;
#define DISABLE { Comp_Generic(op); return; }
namespace MIPSComp
{
+3 -6
View File
@@ -28,9 +28,9 @@
// All functions should have CONDITIONAL_DISABLE, so we can narrow things down to a file quickly.
// Currently known non working ones should have DISABLE.
// #define CONDITIONAL_DISABLE Comp_Generic(op); return;
// #define CONDITIONAL_DISABLE { Comp_Generic(op); return; }
#define CONDITIONAL_DISABLE ;
#define DISABLE Comp_Generic(op); return;
#define DISABLE { Comp_Generic(op); return; }
#define _RS ((op>>21) & 0x1F)
@@ -202,8 +202,7 @@ void Jit::Comp_SV(u32 op) {
break;
default:
_dbg_assert_msg_(CPU,0,"Trying to interpret instruction that can't be interpreted");
break;
DISABLE;
}
}
@@ -381,8 +380,6 @@ void Jit::Comp_Mftv(u32 op) {
default:
DISABLE;
_dbg_assert_msg_(CPU,0,"Trying to interpret instruction that can't be interpreted");
break;
}
}