diff options
author | Oliver Stöneberg <firewave@users.noreply.github.com> | 2014-05-15 12:09:20 +0000 |
---|---|---|
committer | Oliver Stöneberg <firewave@users.noreply.github.com> | 2014-05-15 12:09:20 +0000 |
commit | 36ad612f608726a3981bdc3d8f85db27a3304e26 (patch) | |
tree | 29ae7358a58c01405721747f8a953622629608fe /src/emu | |
parent | 175dedacfc1aecfaf2b8c79232ea991f29372d62 (diff) |
corealloc adjustments:
- re-enabled default memory initialization in DEBUG builds (should make random crashes less random)
- moved defines from header to source since they are only used locally and not globally
- added file/line information to global_free* and fixed src/emu/sound/spu.c compilation
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/sound/spu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/spu.c b/src/emu/sound/spu.c index f6ee4e95a49..b22f0d61b48 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(this); + global_free(const_cast<sample_cache*>(this)); } } |