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
90bc79f2
Commit
90bc79f2
authored
Jun 16, 2018
by
retro-wertz
Browse files
Libretro: implement vbam logging using libretro logging api
parent
f4b88ba6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/libretro/libretro.cpp
View file @
90bc79f2
...
...
@@ -1042,3 +1042,15 @@ SoundDriver* systemSoundInit()
soundShutdown
();
return
new
SoundRetro
();
}
void
log
(
const
char
*
defaultMsg
,
...)
{
va_list
valist
;
char
buf
[
2048
];
va_start
(
valist
,
defaultMsg
);
vsnprintf
(
buf
,
2048
,
defaultMsg
,
valist
);
va_end
(
valist
);
if
(
log_cb
)
log_cb
(
RETRO_LOG_INFO
,
"%s"
,
buf
);
}
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