Fixed the GDB reg write command from going out of bounds.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1287 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
e997f69808
commit
43c14fc2e9
|
@ -3317,7 +3317,7 @@ void remoteWriteRegister(char *p)
|
|||
|
||||
int i = 0;
|
||||
|
||||
while(c != '#') {
|
||||
while(i < 4) {
|
||||
u8 b = 0;
|
||||
if(c <= '9')
|
||||
b = (c - '0') << 4;
|
||||
|
|
Loading…
Reference in New Issue