Commit 4f2f023d authored by mtufan's avatar mtufan

puae 2.3.2

parent 6500aa23
...@@ -8,7 +8,8 @@ base=" --with-sdl --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-drvsnd ...@@ -8,7 +8,8 @@ base=" --with-sdl --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-drvsnd
cd32=" --enable-cd32 " cd32=" --enable-cd32 "
a600=" --enable-gayle " a600=" --enable-gayle "
scsi=" --enable-scsi-device --enable-ncr --enable-a2091 " scsi=" --enable-scsi-device --enable-ncr --enable-a2091 "
other=" --with-caps --enable-amax --enable-gccopt" other=" --with-caps --enable-amax --enable-gccopt "
debug="--enable-profiling"
scg=" --with-libscg-prefix=/opt/schily" scg=" --with-libscg-prefix=/opt/schily"
# #
# #
......
...@@ -254,8 +254,9 @@ static TCHAR *cfgfile_subst_path2 (const TCHAR *path, const TCHAR *subst, const ...@@ -254,8 +254,9 @@ static TCHAR *cfgfile_subst_path2 (const TCHAR *path, const TCHAR *subst, const
TCHAR *cfgfile_subst_path (const TCHAR *path, const TCHAR *subst, const TCHAR *file) TCHAR *cfgfile_subst_path (const TCHAR *path, const TCHAR *subst, const TCHAR *file)
{ {
TCHAR *s = cfgfile_subst_path2 (path, subst, file); TCHAR *s = cfgfile_subst_path2 (path, subst, file);
/* if (s) if (s)
return s; return s;
/*
s = target_expand_environment (file); s = target_expand_environment (file);
if (s) { if (s) {
TCHAR tmp[MAX_DPATH]; TCHAR tmp[MAX_DPATH];
...@@ -264,6 +265,7 @@ TCHAR *cfgfile_subst_path (const TCHAR *path, const TCHAR *subst, const TCHAR *f ...@@ -264,6 +265,7 @@ TCHAR *cfgfile_subst_path (const TCHAR *path, const TCHAR *subst, const TCHAR *f
fullpath (tmp, sizeof tmp / sizeof (TCHAR)); fullpath (tmp, sizeof tmp / sizeof (TCHAR));
s = my_strdup (tmp); s = my_strdup (tmp);
}*/ }*/
return file;
return s; return s;
} }
...@@ -646,11 +648,11 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type) ...@@ -646,11 +648,11 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type)
#ifdef DEBUGGER #ifdef DEBUGGER
cfgfile_write_bool (f, "use_debugger", p->start_debugger); cfgfile_write_bool (f, "use_debugger", p->start_debugger);
#endif #endif
cfgfile_write_rom (f, &p->path_rom, p->romfile, "kickstart_rom_file"); // cfgfile_write_rom (f, &p->path_rom, p->romfile, "kickstart_rom_file");
cfgfile_write_rom (f, &p->path_rom, p->romextfile, "kickstart_ext_rom_file"); // cfgfile_write_rom (f, &p->path_rom, p->romextfile, "kickstart_ext_rom_file");
if (p->romextfile2addr) { if (p->romextfile2addr) {
cfgfile_write (f, "kickstart_ext_rom_file2_address", "%x", p->romextfile2addr); cfgfile_write (f, "kickstart_ext_rom_file2_address", "%x", p->romextfile2addr);
cfgfile_write_rom (f, &p->path_rom, p->romextfile2, "kickstart_ext_rom_file2"); // cfgfile_write_rom (f, &p->path_rom, p->romextfile2, "kickstart_ext_rom_file2");
} }
if (p->romident[0]) if (p->romident[0])
cfgfile_dwrite_str (f, "kickstart_rom", p->romident); cfgfile_dwrite_str (f, "kickstart_rom", p->romident);
...@@ -671,9 +673,9 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type) ...@@ -671,9 +673,9 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type)
for (i = 0; i < 4; i++) { for (i = 0; i < 4; i++) {
_stprintf (tmp, "floppy%d", i); _stprintf (tmp, "floppy%d", i);
cfgfile_write_path (f, &p->path_floppy, tmp, p->floppyslots[i].df); cfgfile_write_path (f, &p->path_floppy, tmp, p->floppyslots[i].df);
#ifdef DRIVESOUND
_stprintf (tmp, "floppy%dtype", i); _stprintf (tmp, "floppy%dtype", i);
cfgfile_dwrite (f, tmp, "%d", p->floppyslots[i].dfxtype); cfgfile_dwrite (f, tmp, "%d", p->floppyslots[i].dfxtype);
#ifdef DRIVESOUND
_stprintf (tmp, "floppy%dsound", i); _stprintf (tmp, "floppy%dsound", i);
cfgfile_dwrite (f, tmp, "%d", p->floppyslots[i].dfxclick); cfgfile_dwrite (f, tmp, "%d", p->floppyslots[i].dfxclick);
if (p->floppyslots[i].dfxclick < 0 && p->floppyslots[i].dfxclickexternal[0]) { if (p->floppyslots[i].dfxclick < 0 && p->floppyslots[i].dfxclickexternal[0]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment