mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
Fixed small bug which meant wasn't correctly clearing SCSP structures on initialisation.
This commit is contained in:
parent
a18c26025f
commit
e431b79f57
|
@ -557,7 +557,7 @@ bool SCSP_Init(int n)
|
|||
if(n==2)
|
||||
{
|
||||
SCSP=SCSPs+1;
|
||||
memset(SCSP,0,sizeof(SCSP));
|
||||
memset(SCSP,0,sizeof(_SCSP));
|
||||
SCSP->Master=0;
|
||||
HasSlaveSCSP=1;
|
||||
#ifdef USEDSP
|
||||
|
@ -566,7 +566,7 @@ bool SCSP_Init(int n)
|
|||
|
||||
}
|
||||
SCSP=SCSPs+0;
|
||||
memset(SCSP,0,sizeof(SCSP));
|
||||
memset(SCSP,0,sizeof(_SCSP));
|
||||
#ifdef USEDSP
|
||||
SCSPDSP_Init(&SCSP->DSP);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue