plastic icon indicating copy to clipboard operation
plastic copied to clipboard

Potential File System Inconsistencies

Open silverhadch opened this issue 1 year ago • 0 comments

The code doesn't handle the case where the save state directory or files might be deleted or corrupted between get_present_save_states and file operations. If a file disappears between these calls, it could cause unexpected panics when trying to open non-existent files.

Add more robust file existence checks right before performing file operations.

silverhadch avatar Oct 22 '24 19:10 silverhadch