mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-26 01:40:24 +00:00
Fix crash executing the sascore test.
This commit is contained in:
parent
adf461802d
commit
2cb2601456
@ -88,6 +88,11 @@ void VagDecoder::GetSamples(s16 *outSamples, int numSamples) {
|
||||
return;
|
||||
}
|
||||
u8 *readp = Memory::GetPointer(read_);
|
||||
if (!readp)
|
||||
{
|
||||
WARN_LOG(HLE, "Bad VAG samples address?");
|
||||
return;
|
||||
}
|
||||
u8 *origp = readp;
|
||||
for (int i = 0; i < numSamples; i++) {
|
||||
if (curSample == 28) {
|
||||
|
Loading…
Reference in New Issue
Block a user