Re: [hatari-devel] Hatari memory snapshot handling issues

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 11/22/20 10:59 AM, Nicolas Pomarède wrote:
Le 22/11/2020 à 00:28, Eero Tamminen a écrit :
....
I can see the same wrong error message with
Hatari v2.2.0 for Hatari Git snapshots though, and
when looking at the current sources, it's still
wrong there:
                         Log_AlertDlg(LOG_ERROR,
                                      "Unable to restore Hatari memory state.\n"                                       "Given state file is compatible only with\n"                                       "Hatari version " VERSION_STRING ".");


Error should be either:
  "Given state file is compatible only with
   Hatari version %s", VersionString
or:
  "This hatari version supports only
   state files with version " VERSION_STRING

indeed, 1st error would be more correct,  the message should use VersionString of the non-loading state file, so the user can know which older hatari version to use if he really wants to load the memstate.

IMHO this should be fixed before release because
new release requires newer snapshot version i.e.
users will be bumping to this when they upgrade.

(Version independent state handling has been
in the TODO list for a long time, it's a bit
unfortunate that there has always been something
more important to fix/do before that. Maybe some
user gets motivated enough to contribute that,
or provide state file converter...)


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/