diff --git a/doc/history.d b/doc/history.d index 5b6e2c7ef..9cad62d98 100644 --- a/doc/history.d +++ b/doc/history.d @@ -3,6 +3,7 @@ Name AdvanceMAME/MESS Version 3.3 2017/02 ) Fixed handling of input_map[] definitions [Vincent Hamon]. + ) Fixed crashes in games xmen6p and xmen6pu. AdvanceMAME/MESS Version 3.2 2017/01 ) Fixed a terminating hanging condition when dealing with the diff --git a/src/sound/k054539.c b/src/sound/k054539.c index da750bf99..266ba0b71 100644 --- a/src/sound/k054539.c +++ b/src/sound/k054539.c @@ -456,10 +456,10 @@ static void K054539_init_chip(struct k054539_info *info, int sndindex) info->K054539_flags |= K054539_UPDATE_AT_KEYON; //* make it default until proven otherwise // Real size of 0x4000, the addon is to simplify the reverb buffer computations - info->ram = auto_malloc(0x4000*2+48000/55*2); + info->ram = auto_malloc(0x4000*2+48000/55*2+0x4000); info->reverb_pos = 0; info->cur_ptr = 0; - memset(info->ram, 0, 0x4000*2+48000/55*2); + memset(info->ram, 0, 0x4000*2+48000/55*2+0x4000); info->rom = memory_region(info->intf->region); info->rom_size = memory_region_length(info->intf->region);