mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-26 04:51:52 +01:00
Corrected syntax
This commit is contained in:
parent
592fa7b83e
commit
01402abfa2
@ -861,6 +861,8 @@ unsigned char* getNESHeaderForFileInfo(size_t prg_size, size_t chr_size, uint32_
|
|||||||
i++;
|
i++;
|
||||||
} while(nesDb.available() && temp_char != 0 && temp_char != '\n');
|
} while(nesDb.available() && temp_char != 0 && temp_char != '\n');
|
||||||
|
|
||||||
|
i--;
|
||||||
|
|
||||||
if(temp_line[i] == '\n')
|
if(temp_line[i] == '\n')
|
||||||
{
|
{
|
||||||
temp_line[i] = 0;
|
temp_line[i] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user