# HG changeset patch # User Michael Pavone # Date 1446086401 25200 # Node ID 124a58fdcf3a3d202bbbb5df09a123ce37d3dbd6 # Parent b4cf6573a3f8174e95207e411d17fb495e521098 Get trans program compiling again diff -r b4cf6573a3f8 -r 124a58fdcf3a Makefile --- 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 $@ $^ diff -r b4cf6573a3f8 -r 124a58fdcf3a trans.c --- 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 #include +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) {