Previous 15994 Revisions Next

r4145 Friday 16th January, 2009 at 22:52:01 UTC by R. Belmont
[SDLMESS] Sync to SDLMAME 0.129u1 plus OSX debugger fixes from Judge.
[src/osd/sdl]debugosx.c sdl.mak

src/osd/sdl/sdl.mak
r4144r4145
5151# There is no need to play with this option unless you are doing
5252# active development on sdlmame or SDL.
5353
54#SDL_INSTALL_ROOT = /usr/local/sdl13w32
5455#SDL_INSTALL_ROOT = /usr/local/sdl13
5556#SDL_INSTALL_ROOT = /usr/local/test
5657
r4144r4145
205206OSDOBJS += $(SDLOBJ)/drawogl.o
206207endif
207208
209ifdef SDL_INSTALL_ROOT
210OSDOBJS += $(SDLOBJ)/draw13.o
211endif
212
208213# add the debugger includes
209214CFLAGS += -Isrc/debug
210215
r4144r4145
285290
286291# Win32: add the necessary libraries
287292ifeq ($(TARGETOS),win32)
293
294ifdef SDL_INSTALL_ROOT
295CFLAGS += -I$(SDL_INSTALL_ROOT)/include
296LIBS += -L$(SDL_INSTALL_ROOT)/lib
297# -Wl,-rpath,$(SDL_INSTALL_ROOT)/lib -lSDL $(LIBGL)
298endif
299
288300OSDCOREOBJS += $(SDLOBJ)/main.o
289301SDLMAIN = $(SDLOBJ)/main.o
290302
r4144r4145
339351
340352$(SDLOBJ)/drawogl.o : $(SDLSRC)/drawogl.c $(SDLSRC)/texcopy.c $(SDLSRC)/scale2x.c $(SDLSRC)/scale2x_core.c
341353
354# draw13 depends
355$(SDLOBJ)/draw13.o : $(SDLSRC)/blit13.h
356
342357# due to quirks of using /bin/sh, we need to explicitly specify the current path
343358CURPATH = ./
344359
src/osd/sdl/debugosx.c
r4144r4145
22132213         
22142214         if ( sel > 0 )
22152215         {
2216            memory_view_set_subview(info->view[0].view, sel);
2216            memory_view_set_subview(info->view[0].view, sel-1);
22172217            memory_update_caption(info);
22182218
22192219            // reset the focus
r4144r4145
24642464      if (cursel == 0 && subview->space->cpu == curcpu)
24652465         cursel = item;
24662466   }
2467   disasm_view_set_subview(info->view[0].view, cursel);
2467   disasm_view_set_subview(info->view[0].view, cursel-1);
24682468   
24692469   SetControlData(info->otherwnd[0], kControlEntireControl, kControlPopupButtonOwnedMenuRefTag, sizeof(popupmenu),&popupmenu);
24702470#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
r4144r4145
26432643         
26442644         if ( sel > 0 )
26452645         {
2646            disasm_view_set_subview(info->view[0].view, sel);
2646            disasm_view_set_subview(info->view[0].view, sel-1);
26472647            disasm_update_caption(info);
26482648
26492649            // reset the focus

Previous 15994 Revisions Next


© 1998-2018 The MESS Team