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
beetle-saturn-libretro
Commits
b27dec37
Commit
b27dec37
authored
Aug 13, 2016
by
Libretro-Admin
Browse files
Change some core option names
parent
dc74d5a4
Changes
1
Show whitespace changes
Inline
Side-by-side
libretro.cpp
View file @
b27dec37
...
...
@@ -2126,7 +2126,7 @@ static void check_variables(bool startup)
{
}
var
.
key
=
"beetle_
psx
_cdimagecache"
;
var
.
key
=
"beetle_
saturn
_cdimagecache"
;
if
(
environ_cb
(
RETRO_ENVIRONMENT_GET_VARIABLE
,
&
var
)
&&
var
.
value
)
{
...
...
@@ -2141,28 +2141,28 @@ static void check_variables(bool startup)
}
}
var
.
key
=
"beetle_
psx
_initial_scanline"
;
var
.
key
=
"beetle_
saturn
_initial_scanline"
;
if
(
environ_cb
(
RETRO_ENVIRONMENT_GET_VARIABLE
,
&
var
)
&&
var
.
value
)
{
setting_initial_scanline
=
atoi
(
var
.
value
);
}
var
.
key
=
"beetle_
psx
_last_scanline"
;
var
.
key
=
"beetle_
saturn
_last_scanline"
;
if
(
environ_cb
(
RETRO_ENVIRONMENT_GET_VARIABLE
,
&
var
)
&&
var
.
value
)
{
setting_last_scanline
=
atoi
(
var
.
value
);
}
var
.
key
=
"beetle_
psx
_initial_scanline_pal"
;
var
.
key
=
"beetle_
saturn
_initial_scanline_pal"
;
if
(
environ_cb
(
RETRO_ENVIRONMENT_GET_VARIABLE
,
&
var
)
&&
var
.
value
)
{
setting_initial_scanline_pal
=
atoi
(
var
.
value
);
}
var
.
key
=
"beetle_
psx
_last_scanline_pal"
;
var
.
key
=
"beetle_
saturn
_last_scanline_pal"
;
if
(
environ_cb
(
RETRO_ENVIRONMENT_GET_VARIABLE
,
&
var
)
&&
var
.
value
)
{
...
...
@@ -2861,11 +2861,11 @@ void retro_set_environment(retro_environment_t cb)
environ_cb
=
cb
;
static
const
struct
retro_variable
vars
[]
=
{
{
"beetle_
psx
_cdimagecache"
,
"CD Image Cache (restart); disabled|enabled"
},
{
"beetle_
psx
_initial_scanline"
,
"Initial scanline; 0|1|2|3|4|5|6|7|8|9|10|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40"
},
{
"beetle_
psx
_initial_scanline_pal"
,
"Initial scanline PAL; 0|1|2|3|4|5|6|7|8|9|10|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40"
},
{
"beetle_
psx
_last_scanline"
,
"Last scanline; 239|238|237|236|235|234|232|231|230|229|228|227|226|225|224|223|222|221|220|219|218|217|216|215|214|213|212|211|210"
},
{
"beetle_
psx
_last_scanline_pal"
,
"Last scanline PAL; 287|286|285|284|283|283|282|281|280|279|278|277|276|275|274|273|272|271|270|269|268|267|266|265|264|263|262|261|260"
},
{
"beetle_
saturn
_cdimagecache"
,
"CD Image Cache (restart); disabled|enabled"
},
{
"beetle_
saturn
_initial_scanline"
,
"Initial scanline; 0|1|2|3|4|5|6|7|8|9|10|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40"
},
{
"beetle_
saturn
_initial_scanline_pal"
,
"Initial scanline PAL; 0|1|2|3|4|5|6|7|8|9|10|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40"
},
{
"beetle_
saturn
_last_scanline"
,
"Last scanline; 239|238|237|236|235|234|232|231|230|229|228|227|226|225|224|223|222|221|220|219|218|217|216|215|214|213|212|211|210"
},
{
"beetle_
saturn
_last_scanline_pal"
,
"Last scanline PAL; 287|286|285|284|283|283|282|281|280|279|278|277|276|275|274|273|272|271|270|269|268|267|266|265|264|263|262|261|260"
},
{
NULL
,
NULL
},
};
static
const
struct
retro_controller_description
pads
[]
=
{
...
...
@@ -3000,7 +3000,7 @@ const char *MDFN_MakeFName(MakeFName_Type type, int id1, const char *cd1)
snprintf
(
fullpath
,
sizeof
(
fullpath
),
"%s%c%s.%s"
,
retro_save_directory
,
retro_slash
,
(
!
shared_memorycards
)
?
retro_cd_base_name
:
"mednafen_
psx
_libretro_shared"
,
(
!
shared_memorycards
)
?
retro_cd_base_name
:
"mednafen_
saturn
_libretro_shared"
,
cd1
);
break
;
case
MDFNMKF_FIRMWARE
:
...
...
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