dolphin/Source
Léo Lam 5021a13aa9
DSPHLE: Fix running and is_stream checks in AX HLE
A voice is considered running if and only if `running` equals 1,
not if `running` is not equal to 0.

This fixes https://bugs.dolphin-emu.org/issues/12508 because for some
reason *The Sims 2 - Castaway* sets `running` to 8 when a stream
finishes playing; previously our AX HLE would just loop the voice
and eventually crash after accessing invalid memory addresses.

Thanks to JMC47 and delroth's help, I've verified that this is the
correct check for the following ucodes:

GC:
* 0x3ad3b7ac
* 0x3daf59b9
* 0x4e8a8b21
* 0x07f88145
* 0xe2136399
* 0x3389a79e

Wii:
* 0x347112ba
* 0xfa450138
* 0xadbc06bd

And while I was fixing the running check, I noticed that the is_stream
field was also being handled incorrectly, so I've fixed that as well.
2021-07-14 19:21:35 +02:00
..
Android Android: Avoid crash on early panic alert 2021-07-08 10:37:36 +02:00
Core DSPHLE: Fix running and is_stream checks in AX HLE 2021-07-14 19:21:35 +02:00
DSPSpy treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DSPTool treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
PCH treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
UnitTests Merge pull request #9595 from Dentomologist/fix_vertex_loader_test_warnings 2021-07-06 11:50:23 +02:00
VSProps msvc: use external header feature solution-wide 2021-06-03 15:42:23 -07:00
.clang-format
CMakeLists.txt
dolphin-emu.sln