comparison romdb.c @ 1983:a7b753e260a2 mame_interp

Merge from default
author Michael Pavone <pavone@retrodev.com>
date Sat, 09 May 2020 23:39:44 -0700
parents 42c12d141f6e
children 0f54a898db03
comparison
equal deleted inserted replaced
1937:cafde1255ad3 1983:a7b753e260a2
673 continue; 673 continue;
674 } 674 }
675 *map = lock_info.map[i]; 675 *map = lock_info.map[i];
676 if (map->start < 0x200000) { 676 if (map->start < 0x200000) {
677 if (map->buffer) { 677 if (map->buffer) {
678 map->buffer += (0x200000 - map->start) & ((map->flags & MMAP_AUX_BUFF) ? map->aux_mask : map->mask); 678 uint8_t *buf = map->buffer;
679 buf += (0x200000 - map->start) & ((map->flags & MMAP_AUX_BUFF) ? map->aux_mask : map->mask);
680 map->buffer = buf;
679 } 681 }
680 map->start = 0x200000; 682 map->start = 0x200000;
681 } 683 }
682 map++; 684 map++;
683 state->index++; 685 state->index++;