Mercurial > repos > blastem
comparison backend.c @ 1931:374a5ae694e8 mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 18 Apr 2020 11:42:53 -0700 |
parents | e59045f781ce 0c1491818f4b |
children | a7b753e260a2 |
comparison
equal
deleted
inserted
replaced
1843:13abdc98379e | 1931:374a5ae694e8 |
---|---|
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. | 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. |
5 */ | 5 */ |
6 #include "backend.h" | 6 #include "backend.h" |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 | 8 |
9 #ifdef USE_NATIVE | 9 #ifndef NEW_CORE |
10 deferred_addr * defer_address(deferred_addr * old_head, uint32_t address, uint8_t *dest) | 10 deferred_addr * defer_address(deferred_addr * old_head, uint32_t address, uint8_t *dest) |
11 { | 11 { |
12 deferred_addr * new_head = malloc(sizeof(deferred_addr)); | 12 deferred_addr * new_head = malloc(sizeof(deferred_addr)); |
13 new_head->next = old_head; | 13 new_head->next = old_head; |
14 new_head->address = address & 0xFFFFFF; | 14 new_head->address = address & 0xFFFFFF; |