Fixes Diablo 1 SPU bug properly and remove Diablo hack. (#191)
authorgameblabla <gameblabla@users.noreply.github.com>
Sun, 22 Aug 2021 21:50:09 +0000 (21:50 +0000)
committerGitHub <noreply@github.com>
Sun, 22 Aug 2021 21:50:09 +0000 (00:50 +0300)
commit16f3ca666fb090dcb9ac0b399b767e4ed0aabece
tree0fdb342c46b6c1d0cbdfbed8c5875ced72173f5d
parentdd79da89fc4ddf020bb6f8d8c8a733429249bab3
Fixes Diablo 1 SPU bug properly and remove Diablo hack. (#191)

(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/main.c
frontend/menu.c
maemo/main.c
plugins/dfsound/externals.h
plugins/dfsound/registers.c
plugins/dfsound/spu.c
plugins/dfsound/spu_config.h