notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gte: Fix gteH division and sign extension (from PCSX4ALL)
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
freeze.c
diff --git
a/plugins/dfsound/freeze.c
b/plugins/dfsound/freeze.c
index
5b4267b
..
43e6535
100644
(file)
--- a/
plugins/dfsound/freeze.c
+++ b/
plugins/dfsound/freeze.c
@@
-231,6
+231,8
@@
long CALLBACK SPUfreeze(uint32_t ulFreezeMode, SPUFreeze_t * pF,
\r
if(!pF) return 0; // first check
\r
\r
\r
if(!pF) return 0; // first check
\r
\r
+ do_samples(cycles, 1);
\r
+
\r
if(ulFreezeMode) // info or save?
\r
{//--------------------------------------------------//
\r
if(ulFreezeMode==1)
\r
if(ulFreezeMode) // info or save?
\r
{//--------------------------------------------------//
\r
if(ulFreezeMode==1)
\r
@@
-242,8
+244,6
@@
long CALLBACK SPUfreeze(uint32_t ulFreezeMode, SPUFreeze_t * pF,
\r
if(ulFreezeMode==2) return 1; // info mode? ok, bye
\r
// save mode:
\r
\r
if(ulFreezeMode==2) return 1; // info mode? ok, bye
\r
// save mode:
\r
- do_samples(cycles, 1);
\r
-
\r
memcpy(pF->cSPURam,spu.spuMem,0x80000); // copy common infos
\r
memcpy(pF->cSPUPort,spu.regArea,0x200);
\r
\r
memcpy(pF->cSPURam,spu.spuMem,0x80000); // copy common infos
\r
memcpy(pF->cSPUPort,spu.regArea,0x200);
\r
\r
@@
-279,6
+279,7
@@
long CALLBACK SPUfreeze(uint32_t ulFreezeMode, SPUFreeze_t * pF,
\r
memcpy(spu.spuMem,pF->cSPURam,0x80000); // get ram
\r
memcpy(spu.regArea,pF->cSPUPort,0x200);
\r
\r
memcpy(spu.spuMem,pF->cSPURam,0x80000); // get ram
\r
memcpy(spu.regArea,pF->cSPUPort,0x200);
\r
+ spu.bMemDirty = 1;
\r
\r
if(pF->xaS.nsamples<=4032) // start xa again
\r
SPUplayADPCMchannel(&pF->xaS);
\r
\r
if(pF->xaS.nsamples<=4032) // start xa again
\r
SPUplayADPCMchannel(&pF->xaS);
\r