aldelaro5 / dolphin-memory-engine

A RAM search made specifically to search, monitor and edit the Dolphin emulator's emulated memory
MIT License
171 stars 39 forks source link

Treat failed save actions as cancel actions. #146

Closed cristian64 closed 6 months ago

cristian64 commented 6 months ago

Previously, if the user exited the file browser dialog without saving the file (voluntarily, or due to I/O error), DME would still exit (or wipe out the watch model; depending on the case), causing unrecoverable data loss.

Test plan:

Previous behavior: The watch list was wrongly cleared, without the user having saved it.

New behavior: The user gets back to DME, as if Cancel had been selected in the confirmation dialog.