Ensure SMDB actually reads (fixes #31)

This commit is contained in:
Matt Nadareski
2020-11-11 11:36:09 -08:00
parent fcb2814136
commit 36ddcc54dd

View File

@@ -45,6 +45,14 @@ namespace SabreTools.Library.DatFiles
{
try
{
// If we can't read the next line, break
if (!svr.ReadNextLine())
break;
// If the line returns null somehow, skip
if (svr.Line == null)
continue;
/*
The gameinfo order is as follows
0 - SHA-256