apply patch #174
This commit is contained in:
parent
07c08f03d2
commit
fedef6c842
|
@ -24,7 +24,7 @@ struct _KEY1
|
|||
{
|
||||
_KEY1(const u8 *inKeyBufPtr)
|
||||
{
|
||||
if (keyBuf) delete keyBuf;
|
||||
if (keyBuf) delete[] keyBuf;
|
||||
keyBuf = new u32 [0x412];
|
||||
memset(keyBuf, 0x00, 0x412 * sizeof(u32));
|
||||
memset(&keyCode[0], 0, sizeof(keyCode));
|
||||
|
@ -35,7 +35,7 @@ struct _KEY1
|
|||
{
|
||||
if (keyBuf)
|
||||
{
|
||||
delete keyBuf;
|
||||
delete[] keyBuf;
|
||||
keyBuf = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue