ITADN

Sound is not reversed when winding back action replay

#594Openmadebr 创建于 2026-03-08
M
madebrcommented
Reproducer: - start race - enter action replay - rewind This probably needs support in the miniaudio backend Apply the following patch to start hitting unimplemented functions: ```patch --- a/src/S3/s3sound.c +++ b/src/S3/s3sound.c @@ -432,6 +432,15 @@ int S3SyncSampleRate(tS3_channel* chan) { // FUNCTION: CARM95 0x004C946D int S3RegisterSampleFilters(tS3_sample_filter* filter1, tS3_sample_filter* filter2) { - STUB_ONCE(); + + if (filter1 != NULL) { + gS3_sample_filter_func = filter1; + } + if (filter2 != NULL) { + gS3_sample_filter_disable_func = filter2; + } else { + gS3_sample_filter_disable_func = filter1; + } + gS3_sample_filter_funcs_registered = filter1 != NULL; return 0; } ```
0 条评论