Merge pull request #10847 from Jamiras/cheevos_bsv

(cheevos) disable hardcore mode when playing bsv file
This commit is contained in:
Autechre 2020-06-13 17:04:52 +02:00 committed by GitHub
commit 8593b10bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22501,7 +22501,13 @@ static int16_t input_state(unsigned port, unsigned device,
{
int16_t bsv_result;
if (intfstream_read(p_rarch->bsv_movie_state_handle->file, &bsv_result, 2) == 2)
{
#ifdef HAVE_CHEEVOS
rcheevos_pause_hardcore();
#endif
return swap_if_big16(bsv_result);
}
p_rarch->bsv_movie_state.movie_end = true;
}