From 4fdeadb8e2f008122df9b2c532ae0661c0b545d3 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 30 Mar 2014 02:13:25 -0400 Subject: replaced some error logs with debug asserts --- src/core/src/arm/arminit.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/src/arm/arminit.cpp b/src/core/src/arm/arminit.cpp index d394be66c..f48232eec 100644 --- a/src/core/src/arm/arminit.cpp +++ b/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); -- cgit v1.2.3