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
Stella
Commits
f3364379
Commit
f3364379
authored
Jan 08, 2021
by
thrust26
Browse files
Merge branch 'master' of
https://github.com/stella-emu/stella
parents
2ec5506c
9bd2f3e4
Pipeline
#9671
passed with stages
in 1 minute and 59 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/common/bspf.hxx
View file @
f3364379
...
...
@@ -244,7 +244,7 @@ namespace BSPF
// starting from 'startpos' in the first string
static
size_t
findIgnoreCase
(
string_view
s1
,
string_view
s2
,
size_t
startpos
=
0
)
{
auto
pos
=
std
::
search
(
s1
.
cbegin
()
+
startpos
,
s1
.
cend
(),
const
auto
*
pos
=
std
::
search
(
s1
.
cbegin
()
+
startpos
,
s1
.
cend
(),
s2
.
cbegin
(),
s2
.
cend
(),
[](
char
ch1
,
char
ch2
)
{
return
toupper
(
uInt8
(
ch1
))
==
toupper
(
uInt8
(
ch2
));
});
...
...
src/common/repository/sqlite/StellaDb.cxx
View file @
f3364379
...
...
@@ -77,6 +77,7 @@ void StellaDb::initialize()
mySettingsRepository
=
make_unique
<
KeyValueRepositoryNoop
>
();
myPropertyRepository
=
make_unique
<
CompositeKeyValueRepositoryNoop
>
();
myHighscoreRepository
=
make_unique
<
CompositeKeyValueRepositoryNoop
>
();
myDb
.
reset
();
myPropertyRepositoryHost
.
reset
();
...
...
src/gui/LauncherDialog.cxx
View file @
f3364379
...
...
@@ -410,7 +410,8 @@ void LauncherDialog::loadConfig()
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void
LauncherDialog
::
saveConfig
()
{
instance
().
settings
().
setValue
(
"launchersubdirs"
,
mySubDirs
->
getState
());
if
(
mySubDirs
)
instance
().
settings
().
setValue
(
"launchersubdirs"
,
mySubDirs
->
getState
());
if
(
instance
().
settings
().
getBool
(
"followlauncher"
))
instance
().
settings
().
setValue
(
"romdir"
,
myList
->
currentDir
().
getShortPath
());
}
...
...
src/unix/r77/OSystemR77.cxx
View file @
f3364379
...
...
@@ -21,5 +21,5 @@
void
OSystemR77
::
getBaseDirectories
(
string
&
basedir
,
string
&
homeDir
,
bool
,
const
string
&
)
{
basedir
=
homeDir
=
"/mnt/stella"
;
basedir
=
homeDir
=
"/mnt/stella
/
"
;
}
src/unix/r77/SettingsR77.cxx
View file @
f3364379
...
...
@@ -76,9 +76,11 @@ SettingsR77::SettingsR77()
setPermanent
(
"dejitter.base"
,
"2"
);
setPermanent
(
"dejitter.diff"
,
"6"
);
/*
setPermanent("joymap",
string() +
"128^i2c_controller|4 17 18 15 16 31 31 35 35 121 122 112 113 0 0 0 0|8 19 20 100 99 103 0 0 0 120 123 127 126 0 124 0 0|" +
"0^i2c_controller #2|4 24 25 22 23 39 39 43 43 121 122 112 113 0 0 0 0|8 26 27 100 99 103 110 0 0 120 123 127 126 0 124 0 0|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