ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/SDL/SDLMain.m
Revision 1.4 - (view) (annotate) - [select for diffs]
2012-06-15T22:52:49Z (12 years, 5 months ago) by asvitkine
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +20 -22 lines
Diff to previous 1.3
pull latest SDLMain from SDL-1.2.15

Revision 1.3 - (view) (annotate) - [select for diffs]
2011-12-29T07:38:34Z (12 years, 10 months ago) by asvitkine
Branch: MAIN
Changes since 1.2: +0 -7 lines
Diff to previous 1.2
move NSAutoReleasePool_wrap() into its own file

Revision 1.2 - (view) (annotate) - [select for diffs]
2011-12-28T22:15:11Z (12 years, 10 months ago) by asvitkine
Branch: MAIN
Changes since 1.1: +7 -1 lines
Diff to previous 1.1
fix SDL leak by wrapping video_refresh() call with an NSAutoReleasePool

Revision 1.1 - (view) (annotate) - [select for diffs]
2009-03-03T08:04:42Z (15 years, 8 months ago) by asvitkine
Branch: MAIN
[patch by Mike Sliczniak]

Here is a patch to allow compiling of SS and B2 with an SDL Framework. You can
get this by downloading from:

http://www.libsdl.org/release/SDL-1.2.13.dmg

Here is how I tested on an intel 32-bit mac with Mac OS X 10.5.6:

SS ./autogen.sh --disable-standalone-gui --enable-vosf --enable-sdl-framework --enable-sdl-framework-prefix=/Users/mzs/Library/Frameworks --enable-sdl-video --disable-sdl-audio --enable-addressing=real
--without-esd --without-gtk --without-mon --without-x

SS /autogen.sh --disable-standalone-gui --enable-vosf --disable-sdl-framework --disable-sdl-video --disable-sdl-audio --enable-addressing=real --without-esd --without-gtk --without-mon --with-x

B2 ./autogen.sh --disable-standalone-gui --enable-vosf --enable-sdl-framework --enable-sdl-framework-prefix=/Users/mzs/Library/Frameworks --enable-sdl-video --enable-sdl-audio --enable-addressing=real --without-esd --without-gtk --without-mon --without-x --enable-jit-compiler

B2 ./autogen.sh --disable-standalone-gui --enable-vosf --disable-sdl-framework --disable-sdl-video --disable-sdl-audio --enable-addressing=real --with-esd --without-gtk --without-mon --with-x --enable-jit-compiler

(esound does not really work on mac, it needs some better coreaudio patches.)

configure.ac for SS has two little additional fixes so that the Cocoa prefs gui
does not get built if you are building for X11 and so that you can use esd, sdl,
or coreaudio for sound.

Convenience Links

Links to HEAD: (view) (annotate) Links to MAIN: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a