Commit Graph

17 Commits

Author SHA1 Message Date
SilSon 3330d7b3c1 DFI Mod 2018-01-17 00:59:50 +01:00
rofl0r 4ec645a60e linux/joy.c: add fallback to /dev/input/js0
some devices seem to map the joystick to /dev/input/js0 rather than
/dev/js0.
2017-11-22 23:59:47 +00:00
rofl0r 2479cf7000 input.h: add include guard 2017-11-22 23:50:12 +00:00
rofl0r 26a601131d Revert "import inofficial 1.0.4pre by joshua"
This reverts commit 9859b44888.

This change causes 2 bugs with the GBC game Cannon Fodder

( Cannon Fodder (U) (M5) [C][!].gbc
  md5sum 762d6c94874d8ac894ad100c0a4b50ab )

1) the 3D scenes flicker and there are some artifacts in the title
   screen,
2) as soon as mission 2 starts, the CPU goes into an endless loop
   and doesn't process input anymore - this is really nasty, as it
   is even impossible to get out of gnuboy itself, at least in fb
   mode.

i was skeptical about this inofficial patch since the beginning,
since it was not done by laguna himself but by some gamers, and
now it's confirmed that it's broken. afaict this patch includes
3-4 logical changes, if further issues are experienced it may make
sense to try one after the other to see if it fixes them.
2017-11-22 23:42:33 +00:00
rofl0r 5056b238a2 add support for xz-compressed roms
using xz embedded (public domain code).
in order to be enable to use ordinary xz files, support for crc64
was activated. (if using crc32 only, one would need to use a command
like

    xz --check=crc32 --lzma2=preset=6e,dict=64KiB

to create the files.

with crc64, one can use files that have been compressed with settings
up to -9 (however, those need 64+1MB for decompression).
since gb/gbc files are small anyway, using compression level 6-8 might
be preferable to keep client memory consumption down.
every step in xz compression level downwards decreases decomp mem usage
by 50% (so level 8 would need 32+1 MB, etc).
2017-11-22 17:24:58 +00:00
rofl0r ced1c92879 sdl backend: default to fullscreen off
1) it's impossible to use debugger in fullscreen
2) default is scale 1x so it's unusable for playing anyway
2017-11-22 17:15:10 +00:00
rofl0r db027ddd90 save.c: fix strict aliasing violation 2017-11-22 15:20:40 +00:00
rofl0r 78f93ecb32 fix incorrect include warnings emitted by musl 2017-11-22 15:14:53 +00:00
rofl0r afa153e187 fix misleading-indentation warnings 2017-11-22 14:54:35 +00:00
rofl0r 32d1229359 split sdl-audio backend into separate TU
that way it can be used with other video backends, e.g. fbgnuboy.
2014-10-02 22:00:48 +00:00
rofl0r 6b3a4d932c add .gitignore 2014-10-02 21:56:42 +00:00
rofl0r 41c2be9461 fix some gcc warnings 2012-06-23 16:46:01 +02:00
rofl0r ebcf9189b1 fix all implicit declarations 2012-06-23 16:38:19 +02:00
rofl0r 406ea7de7a fix warning suppression 2012-06-23 14:40:36 +02:00
rofl0r 85adcdf644 fix invalid gcc flag 2012-06-23 14:34:34 +02:00
rofl0r 9859b44888 import inofficial 1.0.4pre by joshua 2012-06-23 14:19:47 +02:00
rofl0r 29076d4cef gnuboy: initial 1.0.3 import (last official release) 2012-06-23 14:16:37 +02:00