b20275866e
Patches from Nathan Langford via PR pkg/19580. Changes: RELEASE 1.0.3 ============= - All ANSI C incompatibilities should be fixed. Please report any that remain. - Various bugs encountered when building gnuboy on strange compilers have been fixed. - Internal support for decompressing gzipped roms now exists in a minimal form. The inflate code used is taken from a quine (self-reproducing program) written by David Madore and placed in the public domain. This code is very portable but is rather slow and may crash when given invalid data; however, there should be no impact on security. Currently only gzip files (not pkzip files) are supported. - HuC3 emultaion has been fixed to some extent. Robopon Sun and Star are both playable now, but many features of the HuC3 are still not implemented. - Color filtering to make gnuboy look much more like a real CGB is now included, thanks to the work of Jonathan Gevaryahu. - A new rcvar "gbamode" has been added to unlock the GBA-only features present in some newer CGB games. (This has nothing to do with GBA emulation, which gnuboy does not do and will not do in the future.) - Sprite sorting in DMG mode has been fixed. This should improve things in various DMG games where sprites previously overlapped in the wrong order. RELEASE 1.0.2 ============= - A minor problem in the frequency sweep function on sound channel 1 was fixed, correcting the sound of the ice beam and metroid encounter sound in Metroid 2. - Sound channel 3 waveform data is now trashed when the sound is played. This makes it more difficult for games and demos to detect that they are running on an emulator. - The channel 3 waveform is now properly initialized in both DMG and CGB modes. Before it was incorrectly initialized to have frequency 16 times too high, and the initial "random noise" pattern exhibited by DMG wasn't emulated. R-Type now sounds much better. - The sound length register for channel 3 now works properly, fixing the title screen music in MegaMan 2. No thanks to gbspec.txt for having blatently wrong info about this matter. - Major problems with sound quality on channel 4 (noise) have been fixed, and the pseudorandom sequence has been replaced to very closely resemble that of a real Gameboy, thanks to the hard work of Lord Nightmare. All these changes make a significant improvement in many games, notably Metroid 2, Final Fantasy Legend II and III, Camp Deadly, and Wario Land. - Stereo channels are no longer backwards. - The DMG STAT register write bug, which causes an interrupt if the STAT register is written while in HBLANK or VBLANK, is now emulated. This fixes Legend of Zerd and probably any other DMG game that will not run on a real Gameboy Color. - A hack/potential fix for a problem that kept Konami Collection Vol 1 from working has been put in place. - A major interrupt bug that prevented Amazing Penguin from running has been fixed. - Several bugs that could have resulted in crashes under strange circumstances have been fixed. - Other minor sound issues have been tweaked or fixed. RELEASE 1.0.1 ============= - Keys that didn't work in the SDL-based ports have now been fixed. - The --bindir= option to the configure script now works properly. - Running "make install" no longer fails when the destination directory doesn't already exist. - Various minor cleanups. RELEASE 1.0.0 ============= - Auto-loading rc files on a per-rom basis. - Less intense yellow in the default mono palette. - Default keybindings no longer use modifier keys. - Lots of new documentation. - Hardware scaling on matroxfb now looks better. - Disabled some useless optimizations to work around a bug in gcc 2.96, which despite being a broken compiler has become rather popular since Redhat decided to package it without sufficient testing. This will fix the problems lots of people have reported when compiling. - Added --disable-arch option to configure to prevent the binaries built from being dependent on the exact host cpu they're built on. This will allow distro maintainers to build packages that work even on older cpus.
53 lines
1.7 KiB
Text
53 lines
1.7 KiB
Text
$NetBSD: patch-aa,v 1.3 2003/02/14 20:06:01 salo Exp $
|
|
|
|
--- Makefile.in.orig Tue Jul 3 12:31:18 2001
|
|
+++ Makefile.in
|
|
@@ -20,6 +20,8 @@ SYS_DEFS = @DEFS@ @ENDIAN@ @ASM@ @SYS_DE
|
|
SYS_OBJS = sys/nix/nix.o $(ASM_OBJS)
|
|
SYS_INCS = -I/usr/local/include @XINCS@ -I./sys/nix
|
|
|
|
+OSS_LIB = @OSS_LIB@
|
|
+
|
|
FB_OBJS = @FB_OBJS@ @JOY@ @SOUND@
|
|
FB_LIBS =
|
|
|
|
@@ -31,20 +33,20 @@ SDL_LIBS = @SDL_LIBS@
|
|
SDL_CFLAGS = @SDL_CFLAGS@
|
|
|
|
X11_OBJS = sys/x11/xlib.o sys/x11/keymap.o @JOY@ @SOUND@
|
|
-X11_LIBS = @XLIBS@ -lX11 -lXext
|
|
+X11_LIBS = -Wl,-R${X11BASE}/lib @XLIBS@ -lX11 -lXext
|
|
|
|
all: $(TARGETS)
|
|
|
|
include Rules
|
|
|
|
fbgnuboy: $(OBJS) $(SYS_OBJS) $(FB_OBJS)
|
|
- $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(FB_OBJS) -o $@ $(FB_LIBS)
|
|
+ $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(FB_OBJS) -o $@ $(FB_LIBS) $(OSS_LIB)
|
|
|
|
sgnuboy: $(OBJS) $(SYS_OBJS) $(SVGA_OBJS)
|
|
- $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(SVGA_OBJS) -o $@ $(SVGA_LIBS)
|
|
+ $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(SVGA_OBJS) -o $@ $(SVGA_LIBS) $(OSS_LIB)
|
|
|
|
sdlgnuboy: $(OBJS) $(SYS_OBJS) $(SDL_OBJS)
|
|
- $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(SDL_OBJS) -o $@ $(SDL_LIBS)
|
|
+ $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(SDL_OBJS) -o $@ $(SDL_LIBS) $(OSS_LIB)
|
|
|
|
sys/sdl/sdl.o: sys/sdl/sdl.c
|
|
$(MYCC) $(SDL_CFLAGS) -c $< -o $@
|
|
@@ -53,11 +55,11 @@ sys/sdl/keymap.o: sys/sdl/keymap.c
|
|
$(MYCC) $(SDL_CFLAGS) -c $< -o $@
|
|
|
|
xgnuboy: $(OBJS) $(SYS_OBJS) $(X11_OBJS)
|
|
- $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(X11_OBJS) -o $@ $(X11_LIBS)
|
|
+ $(LD) $(LDFLAGS) $(OBJS) $(SYS_OBJS) $(X11_OBJS) -o $@ $(X11_LIBS) $(OSS_LIB)
|
|
|
|
install: all
|
|
- $(INSTALL) -d $(bindir)
|
|
- $(INSTALL) -m 755 $(TARGETS) $(bindir)
|
|
+ $(INSTALL) -d $(prefix)$(bindir)
|
|
+ $(INSTALL) -m 755 $(TARGETS) $(prefix)$(bindir)
|
|
|
|
clean:
|
|
rm -f *gnuboy gmon.out *.o sys/*.o sys/*/*.o asm/*/*.o
|