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
bk-emulator
Commits
5258231c
Commit
5258231c
authored
Nov 01, 2019
by
Vladimir Serbinenko
Browse files
Support loading autorunning games
parent
f7eada12
Changes
1
Hide whitespace changes
Inline
Side-by-side
standalone.c
View file @
5258231c
...
...
@@ -217,10 +217,13 @@ by the environment variable BK_PATH.\n"), romdir );
run
(
1
);
/* go for it */
if
(
hasgame
==
1
)
{
extern
ui_load
(
const
char
*
);
ui_load
(
game_path
);
ui_start
(
"1000"
,
1
);
FILE
*
f
=
fopen
(
game_path
,
"r"
);
hasgame
=
0
;
if
(
!
f
)
{
perror
(
"Error opening file"
);
continue
;
}
load_and_run
(
f
);
}
else
if
(
hasexit
==
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