mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-02-16 17:35:39 +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)
|
if(n==2)
|
||||||
{
|
{
|
||||||
SCSP=SCSPs+1;
|
SCSP=SCSPs+1;
|
||||||
memset(SCSP,0,sizeof(SCSP));
|
memset(SCSP,0,sizeof(_SCSP));
|
||||||
SCSP->Master=0;
|
SCSP->Master=0;
|
||||||
HasSlaveSCSP=1;
|
HasSlaveSCSP=1;
|
||||||
#ifdef USEDSP
|
#ifdef USEDSP
|
||||||
|
@ -566,7 +566,7 @@ bool SCSP_Init(int n)
|
||||||
|
|
||||||
}
|
}
|
||||||
SCSP=SCSPs+0;
|
SCSP=SCSPs+0;
|
||||||
memset(SCSP,0,sizeof(SCSP));
|
memset(SCSP,0,sizeof(_SCSP));
|
||||||
#ifdef USEDSP
|
#ifdef USEDSP
|
||||||
SCSPDSP_Init(&SCSP->DSP);
|
SCSPDSP_Init(&SCSP->DSP);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue