Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PUAE
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
PUAE
Commits
4f2f023d
Commit
4f2f023d
authored
Jul 21, 2011
by
mtufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
puae 2.3.2
parent
6500aa23
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
build_macos_cocoa_scsi.sh
build_macos_cocoa_scsi.sh
+2
-1
cfgfile.c
src/cfgfile.c
+8
-6
No files found.
build_macos_cocoa_scsi.sh
View file @
4f2f023d
...
@@ -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"
#
#
#
#
...
...
src/cfgfile.c
View file @
4f2f023d
...
@@ -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
])
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment