Open KR155E opened 1 year ago
I'm not sure what "loading the emulator widget" entails. I see the widget at the right side of the window all the time. At the moment, when I hit the Play button, if there is no ROM, the building process start, which is the expected behavior.
I am referring to the widget that is the actual emulator itself. Not the sidebar widget. Here's an example for a scenario that is currently not optimally handled:
I would simply close the tab. When I open a ROM, I don't think of it as a file, but as a running game; and a running game is an ephemeral thing. Not only that, I would close the emulator's tab even if the ROM exists because the it uses quite a bit of CPU and having it running automatically in a tab that may not be visible if I had tons of others before closing VES, it would be wasting resources until I launch the emulator again or find about it running already.
When loading the emulator widget, check if the ROM file (still) exists. If not, mark file as deleted? Close emulator? Show error message? TBD