Mercurial > repos > blastem
changeset 836:124a58fdcf3a
Get trans program compiling again
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 28 Oct 2015 19:40:01 -0700 |
parents | b4cf6573a3f8 |
children | f2cd380adebe |
files | Makefile trans.c |
diffstat | 2 files changed, 14 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Thu Oct 22 19:10:31 2015 -0700 +++ b/Makefile Wed Oct 28 19:40:01 2015 -0700 @@ -137,16 +137,16 @@ $(FIXUP) ./$@ dis$(EXE) : dis.o 68kinst.o tern.o vos_program_module.o - $(CC) -o $@ $^ + $(CC) -o $@ $^ zdis$(EXE) : zdis.o z80inst.o - $(CC) -o $@ $^ + $(CC) -o $@ $^ libemu68k.a : $(M68KOBJS) $(TRANSOBJS) ar rcs libemu68k.a $(M68KOBJS) $(TRANSOBJS) -trans : trans.o $(M68KOBJS) $(TRANSOBJS) - $(CC) -o trans trans.o $(M68KOBJS) $(TRANSOBJS) +trans : trans.o $(M68KOBJS) $(TRANSOBJS) util.o + $(CC) -o trans trans.o $(M68KOBJS) $(TRANSOBJS) util.o transz80 : transz80.o $(Z80OBJS) $(TRANSOBJS) $(CC) -o transz80 transz80.o $(Z80OBJS) $(TRANSOBJS) @@ -164,7 +164,7 @@ vgmplay$(EXE) : vgmplay.o render_sdl.o $(CONFIGOBJS) $(AUDIOOBJS) $(CC) -o $@ $^ $(LDFLAGS) $(FIXUP) ./$@ - + blastcpm : blastcpm.o util.o $(Z80OBJS) $(TRANSOBJS) $(CC) -o $@ $^
--- a/trans.c Thu Oct 22 19:10:31 2015 -0700 +++ b/trans.c Wed Oct 28 19:40:01 2015 -0700 @@ -10,6 +10,15 @@ #include <stdlib.h> #include <string.h> +int headless = 1; +void render_errorbox(char * title, char * buf) +{ +} + +void render_infobox(char * title, char * buf) +{ +} + m68k_context * sync_components(m68k_context * context, uint32_t address) { if (context->current_cycle > 0x80000000) {