diff options
author | bunnei <ericbunnie@gmail.com> | 2014-03-30 02:13:25 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-03-30 02:13:25 -0400 |
commit | 4fdeadb8e2f008122df9b2c532ae0661c0b545d3 (patch) | |
tree | 4b0dfebc47f7f3969c1a60e98bdad0891277bf21 | |
parent | 7c5d8f6dad86e58e3d9ce1ba3f6bfad1f4a810d6 (diff) |
replaced some error logs with debug asserts
-rw-r--r-- | src/core/src/arm/arminit.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/src/arm/arminit.cpp b/src/core/src/arm/arminit.cpp index d394be66..f48232ee 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); |