Fixes Diablo 1 SPU bug properly and remove Diablo hack.
authorgameblabla <gameblabla@protonmail.com>
Sat, 21 Aug 2021 15:23:33 +0000 (17:23 +0200)
committergameblabla <gameblabla@protonmail.com>
Sat, 21 Aug 2021 15:23:33 +0000 (17:23 +0200)
commit9601ca6d16dcef59d123539f5e2af07e504ac329
treeaea7389694a2a7d7494eecb312a7315c45709f63
parent9e0fad6aaa0ca02dff050abb730688e0bba41ed3
Fixes Diablo 1 SPU bug properly and remove Diablo hack.

(Mostly) inspired by the fixes done in PCSX Redux :
https://github.com/grumpycoders/pcsx-redux/blob/93653ba5281487d3bed57371d7b64c32dfc669f0/src/spu/registers.cc#L504

It seems that there was an attempt to initially implement it
in PCSX Reloaded (hence the bIgnoreLoop in freeze.c) but it was never
implemented properly.

Co-authored-by: Nicolas Noble <nicolasnoble@users.noreply.github.com>
frontend/libretro.c
frontend/libretro_core_options.h
frontend/libretro_core_options_intl.h
frontend/main.c
frontend/menu.c
plugins/dfsound/externals.h
plugins/dfsound/registers.c
plugins/dfsound/spu.c
plugins/dfsound/spu_config.h