mirror of https://github.com/bsnes-emu/bsnes.git
57 lines
1.3 KiB
C++
Executable File
57 lines
1.3 KiB
C++
Executable File
#ifdef DSP1_CPP
|
|
|
|
void DSP1::serialize(serializer &s) {
|
|
dsp1.serialize(s);
|
|
}
|
|
|
|
void Dsp1::serialize(serializer &s) {
|
|
for(unsigned i = 0; i < 3; i++) {
|
|
s.array(shared.MatrixA[i]);
|
|
s.array(shared.MatrixB[i]);
|
|
s.array(shared.MatrixC[i]);
|
|
}
|
|
|
|
s.integer(shared.CentreX);
|
|
s.integer(shared.CentreY);
|
|
s.integer(shared.CentreZ);
|
|
s.integer(shared.CentreZ_C);
|
|
s.integer(shared.CentreZ_E);
|
|
s.integer(shared.VOffset);
|
|
s.integer(shared.Les);
|
|
s.integer(shared.C_Les);
|
|
s.integer(shared.E_Les);
|
|
s.integer(shared.SinAas);
|
|
s.integer(shared.CosAas);
|
|
s.integer(shared.SinAzs);
|
|
s.integer(shared.CosAzs);
|
|
s.integer(shared.SinAZS);
|
|
s.integer(shared.CosAZS);
|
|
s.integer(shared.SecAZS_C1);
|
|
s.integer(shared.SecAZS_E1);
|
|
s.integer(shared.SecAZS_C2);
|
|
s.integer(shared.SecAZS_E2);
|
|
s.integer(shared.Nx);
|
|
s.integer(shared.Ny);
|
|
s.integer(shared.Nz);
|
|
s.integer(shared.Gx);
|
|
s.integer(shared.Gy);
|
|
s.integer(shared.Gz);
|
|
s.integer(shared.Hx);
|
|
s.integer(shared.Hy);
|
|
s.integer(shared.Vx);
|
|
s.integer(shared.Vy);
|
|
s.integer(shared.Vz);
|
|
|
|
s.integer(mSr);
|
|
s.integer(mSrLowByteAccess);
|
|
s.integer(mDr);
|
|
s.integer(mFsmMajorState);
|
|
s.integer(mCommand);
|
|
s.integer(mDataCounter);
|
|
s.array(mReadBuffer);
|
|
s.array(mWriteBuffer);
|
|
s.integer(mFreeze);
|
|
}
|
|
|
|
#endif
|