[uae] Re: WIP4 was rather buggy...

  • From: Mustafa TUFAN <mustafa.tufan@xxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 16 Jul 2007 21:47:28 +0300

btw, while you're at savestates;
i don't know if wip4 already has this feature but (pspuae/uae2x) saves the current configuration along with the savestate file so that loading a state resumes where you left (configuration wise)

from uae2x:
...
   getcwd(launchDir, 256);
   seciliolan = 1;
...
           //save
           char *tmpc = (char *)calloc(1,256);
           strcpy(tmpc, launchDir);
           strcat(tmpc, "/savestates/");
           sprintf(tmp,"save%d.cfg", seciliolan);
           strcat(tmpc, tmp);
           cfgfile_save (&currprefs, tmpc, 0);
           free(tmpc);

           char *tmps = (char *)calloc(1,256);
           strcpy(tmps, launchDir);
           strcat(tmps, "/savestates/");
           sprintf(tmp,"save%d.asf", seciliolan);
           strcat(tmps, tmp);
           sprintf(savestate_fname,tmps);

           savestate_initsave (tmps, 2);
           save_state(tmps, "uae2x");
           free(tmps);

-GnoStiC.

Richard Drummond wrote:
I still need to look at and fix Hubert's hard disk problem in OS4.0 and Daniel's problem with saved states.

Other related posts: