Corrected syntax

This commit is contained in:
Kreeblah 2021-01-25 15:06:58 -08:00
parent 592fa7b83e
commit 01402abfa2

View File

@ -861,6 +861,8 @@ unsigned char* getNESHeaderForFileInfo(size_t prg_size, size_t chr_size, uint32_
i++;
} while(nesDb.available() && temp_char != 0 && temp_char != '\n');
i--;
if(temp_line[i] == '\n')
{
temp_line[i] = 0;