diff options
| author | 2010-02-14 21:44:50 +0000 | |
|---|---|---|
| committer | 2010-02-14 21:44:50 +0000 | |
| commit | c3bb16d5739241d9b7b72dc8b2665e0bac80acf5 (patch) | |
| tree | 5bad29233ae36382135d56be675116dee6452634 /src/tools | |
| parent | 07db38f0f2bc7891c53221468f006583bc61d034 (diff) | |
Moved global new/delete operators into inlines in emualloc.h
to avoid link errors with certain architectures. [couriersud]
Some minor cleanup/normalizing of emualloc in general.
[Aaron Giles]
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/unidasm.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/unidasm.c b/src/tools/unidasm.c index 93431ada607..2603f4765b3 100644 --- a/src/tools/unidasm.c +++ b/src/tools/unidasm.c @@ -333,6 +333,18 @@ static const dasm_table_entry dasm_table[] = { "z8", _8bit, 0, CPU_DISASSEMBLE_NAME(z8) }, }; +void *malloc_file_line(size_t size, const char *file, int line) +{ + void *result = malloc(size); + return result; +} + + +void free_file_line(void *memory, const char *file, int line) +{ + free(memory); +} + void osd_break_into_debugger(const char *text) { |
