From 99ae79f7f9b1fc643734f0c37a2ac82c9bddd0cb Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 20 Aug 2014 14:16:05 -0400 Subject: [PATCH] Core: Better assert messages for stx op --- Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp | 2 +- Source/Core/Core/PowerPC/JitILCommon/JitILBase_LoadStore.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp index 735b163bbf..c671010c9d 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp @@ -269,7 +269,7 @@ void Jit64::stX(UGeckoInstruction inst) accessSize = 8; break; default: - _assert_msg_(DYNA_REC, 0, "AWETKLJASDLKF"); + _assert_msg_(DYNA_REC, 0, "stX: Invalid access size."); return; } diff --git a/Source/Core/Core/PowerPC/JitILCommon/JitILBase_LoadStore.cpp b/Source/Core/Core/PowerPC/JitILCommon/JitILBase_LoadStore.cpp index ae087442aa..3801ac7ba7 100644 --- a/Source/Core/Core/PowerPC/JitILCommon/JitILBase_LoadStore.cpp +++ b/Source/Core/Core/PowerPC/JitILCommon/JitILBase_LoadStore.cpp @@ -179,7 +179,7 @@ void JitILBase::stX(UGeckoInstruction inst) ibuild.EmitStore8(value, addr); break; default: - _assert_msg_(DYNA_REC, 0, "AWETKLJASDLKF"); + _assert_msg_(DYNA_REC, 0, "stX: Invalid access size."); return; } } @@ -210,7 +210,7 @@ void JitILBase::stXx(UGeckoInstruction inst) ibuild.EmitStore8(value, addr); break; default: - _assert_msg_(DYNA_REC, 0, "AWETKLJASDLKF"); + _assert_msg_(DYNA_REC, 0, "stXx: Invalid store size."); return; } }