mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Fix bug in work_osd.c causing discrete sound to crash. [Tafoid, Haze,
Couriersud]
This commit is contained in:
parent
14e96b6f9d
commit
ac27a0991c
@ -76,7 +76,7 @@ static void spin_while(const volatile _PtrType * volatile ptr, const _PtrType va
|
||||
int spin = 10000;
|
||||
while (--spin)
|
||||
{
|
||||
if ((*ptr == val) ^ invert)
|
||||
if ((*ptr != val) ^ invert)
|
||||
return;
|
||||
}
|
||||
} while (((*ptr == val) ^ invert) && osd_ticks() < stopspin);
|
||||
|
Loading…
Reference in New Issue
Block a user