pkgsrc-wip/osmose/patches/patch-ac
Thomas Klausner 6a49a2efbe Initial import of osmose-0.8.0:
Osmose is another Sega Master System / Gamegear emulator. The
emulator is released as open source project, under the GPL license.

- SMS: Good compatibility. At this stage, the emulator can run 96%
  of commercial games and public demos, except games that rely on
  the codemaster mapper, which work but do not have the proper video
  mode emulated.
- Game Gear: Good compatibility. At this stage, the emulator can
  run 98.0% of game gear ROMS.
- SN76489 sound is supported, but needs more work on the noise
  register.
- Support for .zip, .sms and .gg formats.
- Video filters: monochrome, scanline, scale2x, bilinear, nearest
  neighbour, and a new interesting scale2xscanline (fullscreen option
  always also available).
- Pad (keyboard or joystick mapped), Sport Paddle (mouse mapped) emulation.
- PAL/NTSC Timing.
- Japanese/Export console.
- In-game screenshots, GFX rip, sound shot.
- Accurate auto-frameskip.
- Configurable keyboard configuration.
- Joystick support.

TODO:

Awfully awfully slow -- massive frameskipping on a fast machine
(1 in 100 displayed).
2006-12-13 18:34:02 +00:00

32 lines
737 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2006/12/13 18:34:02 thomasklausner Exp $
--- Makefile.orig 2006-11-22 12:13:01.000000000 +0000
+++ Makefile
@@ -1,6 +1,7 @@
#Zlib
Z_LIB_DIR= ./zlib/
-Z_LIB = $(Z_LIB_DIR)libz.a
+#Z_LIB = $(Z_LIB_DIR)libz.a
+Z_LIB = -lz
#unzip based on zlib.
UNZIP_DIR= ./unzip/
@@ -54,8 +55,8 @@ OSM_EXE = osmose
# Compiler/Linker Flags
# add -O3 to CFLAGS for speedup -pg on LFLAGS and CFLAGS for gprof
-CFLAGS = -Wall -D__USE_UNIX98 -O3
-LFLAGS = -lSDL
+CFLAGS += -Wall -D__USE_UNIX98 -O3
+LFLAGS += -lSDL
AFLAGS = -f elf
CC = g++
C_COMP = gcc
@@ -98,7 +99,6 @@ miniclean:
rm -f *.o core $(OSM_EXE)
libs:
- cd $(Z_LIB_DIR) && make libz.a
cd $(UNZIP_DIR) && make unzip.a