Commit Graph

119 Commits

Author SHA1 Message Date
Lior Halphon 44891d5c4a Initial code to support SGB, command “parsing”, replacement SGB boot ROM 2018-11-11 01:16:32 +02:00
NieDzejkob 91904df5e8
Add a build-time option to change the resources directory.
Normally, SameBoy would use executable-relative paths for any
resource files, which posed problems for packaging the software
by distributions, which usually prefer FHS-compliant file locations.

This commit makes it possible to specify an alternative base
directory with a compile-time environment variable.
2018-11-09 23:20:57 +01:00
Lior Halphon 839de39c1f Fix clang build 2018-10-14 14:57:09 +03:00
Rob Loach 7a6d6c3850
Ignore multichar and int-in-bool-context warnings 2018-10-13 17:19:05 -04:00
Rob Loach 86005bcfb8
Update Makefile to use clang if it's available 2018-10-12 20:14:34 -04:00
Rob Loach 7854686903
Remove redefinition of CC
Redefining CC isn't a standard thing to do in Makefiles. See more information about this over at:
https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
2018-10-11 21:54:04 -04:00
Alvaro Burnett 83ab8efbd7 Improve compatibility with the Unix tools included in Git for Windows.
Previously the Makefile, when run on Windows, expected the uname command to report either "MINGW" or "windows32". This was unfortunate because the uname included in Git for Windows reports "MSYS".

With this change, the Makefile will work properly with any uname, whether it comes from MinGW, GnuWin32 or Git for Windows.
2018-08-19 22:07:16 +02:00
Lior Halphon 0783f131b8 Update version to v0.11.1 2018-07-11 20:07:54 +03:00
Lior Halphon d9dfbcd199 Updated version to 0.11, updated README 2018-06-29 13:51:01 +03:00
Lior Halphon 1c1cddb53e OpenGL fallback 2018-06-15 20:03:59 +03:00
Lior Halphon c6dba26d02 Simplify shaders 2018-06-15 18:08:54 +03:00
Lior Halphon 5b39cacc8a Basic Metal support. No OpenGL fallback, no shaders, no blending. 2018-06-15 13:26:53 +03:00
Lior Halphon 311a470806 Maybe now? Affects #55 2018-03-29 23:11:53 +03:00
Lior Halphon 5a81d83d30 Yet another attempt to fix building using MINGW. Affects #55 2018-03-29 22:02:01 +03:00
Lior Halphon c7ca786e77 Attempt to fix building using MINGW. Affects #55 2018-03-29 21:27:19 +03:00
Lior Halphon 96063fb0da Fixed Windows build, added Unicode support in Windows. 2018-03-28 21:59:27 +03:00
Alvaro Burnett 05ba352f2f Makefile: Find SDL2.dll 2018-03-12 22:38:05 +01:00
Lior Halphon 51eacd3174 Update version to 0.10.1, update copyright to 2018 2018-02-03 00:50:38 +02:00
Lior Halphon 2cd5c49935 Made CGB boot more accurate, added AGB boot 2018-01-13 13:02:31 +02:00
Lior Halphon 42bf575a0e Updated version to 0.10 2017-12-30 17:58:17 +02:00
Lior Halphon 8eeda02d50 Added Joypad support, closes #9 2017-12-30 16:23:17 +02:00
Lior Halphon fc15b5c9f9 Remove hardcoded version from libretro.c, use version from the Makefile 2017-12-29 13:26:11 +02:00
Lior Halphon d3a2e49d38 Merge branch 'sdl_gui' into libretro_core
# Conflicts:
#	Makefile
#	SDL/main.c
2017-12-29 13:12:12 +02:00
Lior Halphon 600f0eadd9 Better Windows and Linux compatibility 2017-12-29 13:06:38 +02:00
Lior Halphon d262dde71a Scaling filters in SDL 2017-12-23 22:11:53 +02:00
Lior Halphon 42712a0280 Refined dep-generation condition 2017-10-15 20:26:49 +03:00
Lior Halphon 57f50edaa2 Use $(MAKE) instead of make 2017-10-13 00:14:32 +03:00
Lior Halphon bbd3b7e550 Got rid of -ICore 2017-10-13 00:02:02 +03:00
Lior Halphon a498b19bfd Moved libretro’s Makefile to libretro’s folder 2017-10-12 22:40:48 +03:00
Lior Halphon 9cc8b3320a Starting to add a GUI to the SDL port 2017-10-04 12:43:31 +03:00
Lior Halphon 81de2c3d9b Incremented version to 0.9, updated copyright 2017-05-27 19:41:09 +03:00
Lior Halphon 4d5dc6a30e Cleanup 2017-05-24 21:44:43 +03:00
Lior Halphon 00439f4d49 SDL port: added drag and drop support, added model switch command, fixed macOS audio 2017-05-23 23:18:16 +03:00
Lior Halphon bef89c6604 Upgraded Sameboy-SDL to SDL2, fixed Windows build, fixed save states in SDL, added reset and mute to SDL. The SDL port now renders via OpenGL. 2017-05-21 21:45:19 +03:00
Lior Halphon a925ef130d Stabilizing API: New joypad, debugger and reset APIs; internal APIs and direct struct access are no longer available without defining GB_INTERNAL. The SDL port uses the new “public” APIs, as well as most of the non-debug Cocoa code. 2017-04-17 20:16:17 +03:00
Lior Halphon ce05b5f7f0 Added the faster but unportable native_release configuration 2017-02-24 18:35:31 +02:00
Lior Halphon c116c70bfa Better GUI for user errors/warnings in Cocoa 2017-02-24 18:15:31 +02:00
Lior Halphon b0dfb8c5ac Added built-in IO-Register symbols 2017-02-20 14:37:15 +02:00
Lior Halphon cfe0e55df8 Updated change log and incremented version to 0.8 2017-02-05 21:13:42 +02:00
Lior Halphon a17213d89c Fixed SDL compilation on macOS Sierra 2017-02-04 19:00:48 +02:00
Lior Halphon a5f72627fe Cocoa key bindings now based on key codes 2017-01-24 21:00:56 +02:00
Lior Halphon 7a9377de34 Fixed compilation issues under more recent Xcode versions 2017-01-22 21:53:52 +02:00
Lior Halphon 8cd82ebb68 Quick Look icon generation for GameBoy ROMs, using screenshots from the actual ROMs 2017-01-20 18:35:20 +02:00
Lior Halphon 388fb600de Added VRAM-debugging APIs, added VRAM viewer to Cocoa Port, fixed uninitialized VRAM, fixed memory viewer crash 2016-10-27 00:23:24 +03:00
Lior Halphon b50b38c78a GameBoy Camera support in Cocoa 2016-10-03 00:26:12 +03:00
Lior Halphon 71a9b7eb77 Updated change log and incremented version to 0.7 2016-09-10 20:59:02 +03:00
Lior Halphon a746c726ee Added basic automatic ROM tester 2016-09-03 03:39:32 +03:00
Lior Halphon 833cd88aea Allow compilation with precompiled boot ROMs. 2016-08-27 01:30:11 +03:00
Lior Halphon 276fe53385 Added icon and version information to Windows port 2016-08-20 22:59:03 +03:00
Lior Halphon e7626535a8 Initial Windows support 2016-08-20 17:51:17 +03:00
Lior Halphon e79ddee705 Basic memory hex viewer/editor, using a (heavily stripped down) HexFiend framework 2016-08-13 00:58:52 +03:00
Lior Halphon a5670b6643 Fixed boot ROM trimming 2016-08-07 00:39:32 +03:00
Lior Halphon 5816b6a688 Updated change log and incremented version to 0.6 2016-08-06 17:16:39 +03:00
Lior Halphon 68740c70e4 Stripping executables on release to reduce file size 2016-08-06 16:19:04 +03:00
Lior Halphon 722550c5bc Enabled link time optimization when building in release, improving speed by about 6% 2016-08-06 16:18:23 +03:00
Lior Halphon 553f700b79 Fixed needless deep generation, which caused errors when compiling the Cocoa GUI when SDL is not installed 2016-08-06 15:57:32 +03:00
Lior Halphon 9d53760016 Fixing Linux build 2016-07-17 22:43:23 +03:00
Lior Halphon cc9af4a5c5 Updated change log and incremented version to 0.5 2016-07-01 20:57:50 +03:00
Lior Halphon 36d46567ba Updated change log and incremented version to 0.4 2016-06-10 18:07:39 +03:00
Lior Halphon 4d8f2cfac8 Added missing -framework Carbon 2016-06-09 18:22:47 +03:00
Lior Halphon 8d59bfcbdd Filter support for Cocoa port + 7 basic filters 2016-04-29 00:45:56 +03:00
Lior Halphon dde983db8f Updated change log and incremented version to 0.3 2016-04-16 15:21:22 +03:00
Lior Halphon 2a5375a0c8 Configurable keys for the Cocoa port 2016-04-13 22:43:16 +03:00
Lior Halphon 6fd2daae06 Added changelog, updated version to 0.2 2016-04-08 14:05:21 +03:00
Lior Halphon cc8a09763f Version 0.1 2016-04-01 23:36:43 +03:00
Lior Halphon 1538ad451c Copy the license to the SDL build directory 2016-04-01 23:29:03 +03:00
Lior Halphon abfebf0eb2 Added debug/release configurations 2016-04-01 22:53:29 +03:00
Lior Halphon e11faaf3fb Added license and copyright 2016-04-01 22:13:05 +03:00
Lior Halphon f1e9623371 Initial public commit 2016-04-01 21:27:01 +03:00