From b5b43f94088a26ed9d4613eee45c2a79f18c6a1f Mon Sep 17 00:00:00 2001 From: "memberTwo.mb2" Date: Sun, 14 Dec 2008 13:55:12 +0000 Subject: [PATCH] Change PanicAlert for _dbg_assert_msg_ in case of PI_RESET_CODE (i122). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1530 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/PeripheralInterface.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/Core/Core/Src/HW/PeripheralInterface.cpp b/Source/Core/Core/Src/HW/PeripheralInterface.cpp index 88a2e5a66d..27ed62f40d 100644 --- a/Source/Core/Core/Src/HW/PeripheralInterface.cpp +++ b/Source/Core/Core/Src/HW/PeripheralInterface.cpp @@ -148,11 +148,7 @@ void CPeripheralInterface::Write32(const u32 _uValue, const u32 _iAddress) PanicAlert("The game wants to go to memory card manager. BIOS is being HLE:d - so we can't do that.\n"); break; default: - { - TCHAR szTemp[256]; - sprintf(szTemp, "The game wants to reset the machine. PI_RESET_CODE: (%08x)", _uValue); - PanicAlert(szTemp); - } + _dbg_assert_msg_(PERIPHERALINTERFACE,0,"The game wants to reset the machine. PI_RESET_CODE: (%08x)", _uValue); break; } }