Fix MSVC build

This commit is contained in:
twinaphex 2021-10-15 00:11:52 +02:00
parent b9500ff729
commit 70b337782d
2 changed files with 2 additions and 2 deletions

View File

@ -1590,7 +1590,7 @@ bool audio_driver_callback(void)
bool audio_driver_has_callback(void)
{
return audio_driver_st.callback.callback;
return audio_driver_st.callback.callback != NULL;
}
static INLINE bool audio_driver_alive(void)

View File

@ -9882,8 +9882,8 @@ static bool validate_game_options(
static bool validate_game_specific_options(char **output)
{
char game_options_path[PATH_MAX_LENGTH];
game_options_path[0] = '\0';
runloop_state_t *runloop_st = &runloop_state;
game_options_path[0] = '\0';
if (!validate_game_options(
runloop_st->system.info.library_name,