Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
vbam-libretro
Commits
c7c6ad6a
Unverified
Commit
c7c6ad6a
authored
Feb 25, 2018
by
ZachBacon
Browse files
implemented the fix from nhdailey, should resolve #153. Will put up a
test build soon.
parent
66980934
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wx/opts.cpp
View file @
c7c6ad6a
...
@@ -479,6 +479,8 @@ void load_opts()
...
@@ -479,6 +479,8 @@ void load_opts()
opt_desc
&
opt
=
opts
[
i
];
opt_desc
&
opt
=
opts
[
i
];
if
(
opt
.
stropt
)
{
if
(
opt
.
stropt
)
{
//Fix provided by nhdailey
cfg
->
Read
(
opt
.
opt
,
opt
.
stropt
,
*
opt
.
stropt
);
opt
.
curstr
=
*
opt
.
stropt
;
opt
.
curstr
=
*
opt
.
stropt
;
}
else
if
(
!
opt
.
enumvals
.
empty
())
{
}
else
if
(
!
opt
.
enumvals
.
empty
())
{
auto
enum_opts
=
str_split
(
opt
.
enumvals
.
MakeLower
(),
wxT
(
"|"
));
auto
enum_opts
=
str_split
(
opt
.
enumvals
.
MakeLower
(),
wxT
(
"|"
));
...
...
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