Explorar o código

replaced some error logs with debug asserts

bunnei %!s(int64=12) %!d(string=hai) anos
pai
achega
4fdeadb8e2
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      src/core/src/arm/arminit.cpp

+ 2 - 4
src/core/src/arm/arminit.cpp

@@ -436,8 +436,7 @@ ARMul_DoProg (ARMul_State * state)
 		}
 
 		else {
-			//pc = ARMul_Emulate26 (state); Commented out /bunnei
-			ERROR_LOG(ARM11, "Unsupported ARM 26-bit Mode!");
+			_dbg_assert_msg_(ARM11, false, "Unsupported ARM 26-bit Mode!");
 		}
 		//chy 2006-02-22, should test debugmode first
 		//chy 2006-04-14, put below codes in ARMul_Emulate
@@ -491,8 +490,7 @@ ARMul_DoInstr (ARMul_State * state)
 	}
 
 	else {
-		//pc = ARMul_Emulate26 (state); Commented out /bunnei
-		ERROR_LOG(ARM11, "Unsupported ARM 26-bit Mode!");
+		_dbg_assert_msg_(ARM11, false, "Unsupported ARM 26-bit Mode!");
 	}
 
 	return (pc);