Merge pull request #424 from death-droid/master

When scanning in 7z files make sure we are actually setting the rom file...
This commit is contained in:
zilmar 2015-04-30 10:36:45 +10:00
commit fdb2cc5c55
1 changed files with 3 additions and 0 deletions

View File

@ -751,6 +751,9 @@ void CRomBrowser::FillRomList ( strlist & FileList, const CPath & BaseDirectory,
RomInfo.InternalName[count + 2] ^= RomInfo.InternalName[count + 1];
RomInfo.InternalName[count + 1] ^= RomInfo.InternalName[count + 2];
}
RomInfo.RomSize = f->Size;
WriteTrace(TraceDebug,__FUNCTION__ ": 15");
RomInfo.InternalName[21] = '\0';
RomInfo.CartID[0] = *(RomData + 0x3F);