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
Fmsx
Commits
98ea26f6
Unverified
Commit
98ea26f6
authored
Nov 16, 2021
by
Libretro-Admin
Committed by
GitHub
Nov 16, 2021
Browse files
Merge pull request #66 from cayce-msx/fmsx_simbdos
add fmsx_simbdos=No|Yes option
parents
7c5cdd10
69be471c
Pipeline
#66965
failed with stages
in 8 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libretro.c
View file @
98ea26f6
...
...
@@ -423,6 +423,7 @@ void retro_set_environment(retro_environment_t cb)
},
{
"fmsx_ram_pages"
,
"MSX Main Memory; Auto|64KB|128KB|256KB|512KB"
},
{
"fmsx_vram_pages"
,
"MSX Video Memory; Auto|32KB|64KB|128KB|192KB"
},
{
"fmsx_simbdos"
,
"Simulate DiskROM disk access calls; No|Yes"
},
{
NULL
,
NULL
},
};
...
...
@@ -582,6 +583,12 @@ static void check_variables(void)
Mode
|=
MSX_GUESSA
;
}
var
.
key
=
"fmsx_simbdos"
;
var
.
value
=
NULL
;
if
(
environ_cb
(
RETRO_ENVIRONMENT_GET_VARIABLE
,
&
var
)
&&
var
.
value
&&
strcmp
(
var
.
value
,
"Yes"
)
==
0
)
Mode
|=
MSX_PATCHBDOS
;
var
.
key
=
"fmsx_ram_pages"
;
var
.
value
=
NULL
;
...
...
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