spu: c64x: fix cache handling, enable l2
[pcsx_rearmed.git] / plugins / dfsound / dma.c
index 4798a19..43019f1 100644 (file)
@@ -71,6 +71,7 @@ void CALLBACK SPUwriteDMA(unsigned short val)
 \r
  spu.spuAddr += 2;\r
  spu.spuAddr &= 0x7fffe;\r
+ spu.bMemDirty = 1;\r
 }\r
 \r
 ////////////////////////////////////////////////////////////////////////\r
@@ -83,6 +84,7 @@ void CALLBACK SPUwriteDMAMem(unsigned short *pusPSXMem, int iSize,
  int i;\r
  \r
  do_samples_if_needed(cycles, 1);\r
+ spu.bMemDirty = 1;\r
 \r
  if(spu.spuAddr + iSize*2 < 0x80000)\r
   {\r