summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Scott Stone <tafoid@users.noreply.github.com>2014-05-15 19:06:32 +0000
committer Scott Stone <tafoid@users.noreply.github.com>2014-05-15 19:06:32 +0000
commit4762e3a38ffc56df3f6e224d4ea79419b4dd0b67 (patch)
tree74e882e7c8ac99f2d34a23d996717060ae602491 /src/emu
parentd976c005d7c4062c85c1458a78aba9466fe49062 (diff)
Revert of r30457 per Micko (nw)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/sound/spu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/spu.c b/src/emu/sound/spu.c
index b22f0d61b48..f6ee4e95a49 100644
--- a/src/emu/sound/spu.c
+++ b/src/emu/sound/spu.c
@@ -319,7 +319,7 @@ public:
if (ref_count==0)
{
cache_size-=(dend-data)<<1;
- global_free(const_cast<sample_cache*>(this));
+ global_free(this);
}
}