src/osd/sdl/sdl.mak
| r4144 | r4145 | |
| 51 | 51 | # There is no need to play with this option unless you are doing |
| 52 | 52 | # active development on sdlmame or SDL. |
| 53 | 53 | |
| 54 | #SDL_INSTALL_ROOT = /usr/local/sdl13w32 |
| 54 | 55 | #SDL_INSTALL_ROOT = /usr/local/sdl13 |
| 55 | 56 | #SDL_INSTALL_ROOT = /usr/local/test |
| 56 | 57 | |
| r4144 | r4145 | |
| 205 | 206 | OSDOBJS += $(SDLOBJ)/drawogl.o |
| 206 | 207 | endif |
| 207 | 208 | |
| 209 | ifdef SDL_INSTALL_ROOT |
| 210 | OSDOBJS += $(SDLOBJ)/draw13.o |
| 211 | endif |
| 212 | |
| 208 | 213 | # add the debugger includes |
| 209 | 214 | CFLAGS += -Isrc/debug |
| 210 | 215 | |
| r4144 | r4145 | |
| 285 | 290 | |
| 286 | 291 | # Win32: add the necessary libraries |
| 287 | 292 | ifeq ($(TARGETOS),win32) |
| 293 | |
| 294 | ifdef SDL_INSTALL_ROOT |
| 295 | CFLAGS += -I$(SDL_INSTALL_ROOT)/include |
| 296 | LIBS += -L$(SDL_INSTALL_ROOT)/lib |
| 297 | # -Wl,-rpath,$(SDL_INSTALL_ROOT)/lib -lSDL $(LIBGL) |
| 298 | endif |
| 299 | |
| 288 | 300 | OSDCOREOBJS += $(SDLOBJ)/main.o |
| 289 | 301 | SDLMAIN = $(SDLOBJ)/main.o |
| 290 | 302 | |
| r4144 | r4145 | |
| 339 | 351 | |
| 340 | 352 | $(SDLOBJ)/drawogl.o : $(SDLSRC)/drawogl.c $(SDLSRC)/texcopy.c $(SDLSRC)/scale2x.c $(SDLSRC)/scale2x_core.c |
| 341 | 353 | |
| 354 | # draw13 depends |
| 355 | $(SDLOBJ)/draw13.o : $(SDLSRC)/blit13.h |
| 356 | |
| 342 | 357 | # due to quirks of using /bin/sh, we need to explicitly specify the current path |
| 343 | 358 | CURPATH = ./ |
| 344 | 359 | |
src/osd/sdl/debugosx.c
| r4144 | r4145 | |
| 2213 | 2213 | |
| 2214 | 2214 | if ( sel > 0 ) |
| 2215 | 2215 | { |
| 2216 | | memory_view_set_subview(info->view[0].view, sel); |
| 2216 | memory_view_set_subview(info->view[0].view, sel-1); |
| 2217 | 2217 | memory_update_caption(info); |
| 2218 | 2218 | |
| 2219 | 2219 | // reset the focus |
| r4144 | r4145 | |
| 2464 | 2464 | if (cursel == 0 && subview->space->cpu == curcpu) |
| 2465 | 2465 | cursel = item; |
| 2466 | 2466 | } |
| 2467 | | disasm_view_set_subview(info->view[0].view, cursel); |
| 2467 | disasm_view_set_subview(info->view[0].view, cursel-1); |
| 2468 | 2468 | |
| 2469 | 2469 | SetControlData(info->otherwnd[0], kControlEntireControl, kControlPopupButtonOwnedMenuRefTag, sizeof(popupmenu),&popupmenu); |
| 2470 | 2470 | #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 |
| r4144 | r4145 | |
| 2643 | 2643 | |
| 2644 | 2644 | if ( sel > 0 ) |
| 2645 | 2645 | { |
| 2646 | | disasm_view_set_subview(info->view[0].view, sel); |
| 2646 | disasm_view_set_subview(info->view[0].view, sel-1); |
| 2647 | 2647 | disasm_update_caption(info); |
| 2648 | 2648 | |
| 2649 | 2649 | // reset the focus |