summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorj4ck.fr0st <j4ck.fr0st@gmail.com>2010-02-03 20:29:49 +0000
committerj4ck.fr0st <j4ck.fr0st@gmail.com>2010-02-03 20:29:49 +0000
commit43051ffe4100a8f59bd93dcb3002a3455a117018 (patch)
treef8b3ad4befcc79db200ae8ccac486f36c67a8631 /Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
parent8281564b5c0ffb124c89c8c055fd96ff448ac9d4 (diff)
some cleanup, housekeeping for error cases and increased a few buffer sizes that are overflown by its content.
Thanks to Fatalis for the initial patch and pointing us to cppcheck. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5004 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/OpcodeDecoding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
index f65f0565bb..8511b38864 100644
--- a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
@@ -176,7 +176,7 @@ bool FifoCommandRunnable()
{
SCPFifoStruct &fifo = CommandProcessor::fifo;
- char szTmp[256];
+ char szTmp[512];
// sprintf(szTmp, "Illegal command %02x (at %08x)",cmd_byte,g_pDataReader->GetPtr());
sprintf(szTmp, "Illegal command %02x\n"
"CPBase: 0x%08x\n"