Use bool for save file close handles

This commit is contained in:
notmatthewbeshay
2026-03-10 09:59:50 +11:00
parent 0db324debd
commit 2b3c688b44
7 changed files with 9 additions and 9 deletions

View File

@@ -892,13 +892,13 @@ BOOL ConsoleSaveFileSplit::readFile( FileEntry *file, LPVOID lpBuffer, DWORD nNu
return 1;
}
BOOL ConsoleSaveFileSplit::closeHandle( FileEntry *file )
bool ConsoleSaveFileSplit::closeHandle( FileEntry *file )
{
LockSaveAccess();
finalizeWrite();
ReleaseSaveAccess();
return TRUE;
return true;
}
// In this method, attempt to write any dirty region files, subject to maintaining a maximum write output rate. Writing is prioritised by time since the region was last written.