- [Psy-X] misc SPU changes

This commit is contained in:
Ilya Shurumov 2021-04-09 14:11:12 +06:00
parent 5136df8624
commit 8061f27206

View File

@ -442,13 +442,19 @@ long SpuSetTransferMode(long mode)
unsigned long SpuSetTransferStartAddr(unsigned long addr)
{
s_SpuMemory.writeptr = s_SpuMemory.samplemem + addr;
return 0;
if(addr > SPU_MEMSIZE)
return 0;
if (addr < 0x1010)
return 0;
return 1;
}
long SpuIsTransferCompleted(long flag)
{
PSYX_UNIMPLEMENTED();
return 0;
return 1;
}
void SpuStart()