1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/emulators/m2000/files/patch-X.c
Edwin Groothuis 4e5bfe1685 [new port] emulators/m2000 - Philips P2000 emulator
P2000 Emulator

    -  P2000T or P2000M model (P2000M emulation is buggy)
    -  Support for 1 ROM cartridge
    -  User-definable amount of RAM
    -  One tape drive
    -  Sound through PC Speaker or SoundBlaster (MS-DOS version), or
       USS(/Lite) /dev/dsp (Linux/SVGALib and Unix/X versions)
    -  SAA5050 character rounding emulated in high resolution mode

    The tape files should be writable, otherwise the emulator won't load them.

    WWW: http://www.komkon.org/~dekogel/m2000.html

PR:             ports/85263
Submitted by:   Edwin Groothuis <edwin@mavetju.org>
2005-08-28 10:36:18 +00:00

12 lines
377 B
C

--- X.c.orig Wed Aug 24 15:59:59 2005
+++ X.c Wed Aug 24 16:00:08 2005
@@ -290,7 +290,7 @@
DefaultGC=DefaultGCOfScreen (Scr);
DefaultCMap=DefaultColormapOfScreen (Scr);
bpp=DefaultDepthOfScreen (Scr);
- if (bpp!=8 && bpp!=16 && bpp!=32)
+ if (bpp!=8 && bpp!=16 && bpp!=24 && bpp!=32)
{
printf ("FAILED - Only 8,16 and 32 bpp displays are supported\n");
return 0;