mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-08 04:29:23 +00:00
fix configure X check to not trigger if using mac gui and some
more warning fixes
This commit is contained in:
parent
a472d9ab63
commit
c18d6fa923
@ -313,8 +313,8 @@ else
|
|||||||
SDL_SUPPORT="none"
|
SDL_SUPPORT="none"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl We need X11, if not using SDL.
|
dnl We need X11, if not using SDL or Mac GUI.
|
||||||
if [[ "x$WANT_SDL_VIDEO" = "xno" ]]; then
|
if [[ "x$WANT_SDL_VIDEO" = "xno" -a "x$WANT_MACOSX_GUI" = "xno"]]; then
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
if [[ "x$no_x" = "xyes" ]]; then
|
if [[ "x$no_x" = "xyes" ]]; then
|
||||||
AC_MSG_ERROR([You need X11 to run Basilisk II.])
|
AC_MSG_ERROR([You need X11 to run Basilisk II.])
|
||||||
|
@ -1683,8 +1683,8 @@ bool PatchROM(void)
|
|||||||
if (ROMBreakpoint) {
|
if (ROMBreakpoint) {
|
||||||
#if ENABLE_MON
|
#if ENABLE_MON
|
||||||
mon_add_break_point(ROMBaseMac + ROMBreakpoint);
|
mon_add_break_point(ROMBaseMac + ROMBreakpoint);
|
||||||
printf("ROM start address at %08lx\n", ROMBaseMac);
|
printf("ROM start address at %08x\n", ROMBaseMac);
|
||||||
printf("Set ROM break point at %08lx\n", ROMBaseMac + ROMBreakpoint);
|
printf("Set ROM break point at %08x\n", ROMBaseMac + ROMBreakpoint);
|
||||||
#else
|
#else
|
||||||
uint16 *wp = (uint16 *)(ROMBaseHost + ROMBreakpoint);
|
uint16 *wp = (uint16 *)(ROMBaseHost + ROMBreakpoint);
|
||||||
*wp = htons(M68K_EMUL_BREAK);
|
*wp = htons(M68K_EMUL_BREAK);
|
||||||
|
Loading…
Reference in New Issue
Block a user