Commit Graph

331 Commits

Author SHA1 Message Date
Jeffrey Pfau bbc63a2392 Util: Add strdup implementation for platforms without it 2015-06-14 23:25:49 -07:00
Jeffrey Pfau 68c183e4bf All: Replace menagerie for *_SOURCE flags for Linux with _GNU_SOURCE 2015-06-13 05:06:34 -07:00
Jeffrey Pfau 87d26d39f9 All: Clean up OpenGL detection 2015-06-13 03:01:43 -07:00
gus knight e3dded2e47 All: Add Haiku support 2015-06-11 17:29:49 -04:00
Jeffrey Pfau 5fcba6a8b2 Qt: XDG Desktop file 2015-06-10 00:26:25 -07:00
Jeffrey Pfau 97da8b43c9 All: Some portability fixes 2015-06-09 21:22:11 -07:00
Jeffrey Pfau a2cba75819 All: Enable static linking for OS X 2015-05-29 20:45:58 -07:00
Jeffrey Pfau 1559438deb All: Enable static linking for Windows 2015-05-28 00:20:44 -07:00
Jeffrey Pfau 356d8ea2ce All: Set cpack version string to newly generated string 2015-05-15 09:21:22 -07:00
Jeffrey Pfau 53199ee909 All: Version string for a tag should be the tag 2015-05-15 09:18:02 -07:00
Jeffrey Pfau 47d945bf75 All: Make version.c 2015-05-15 08:56:28 -07:00
Jeffrey Pfau 4899e7267d All: Fix dependencies for libavcodec on Debian-derived platforms 2015-05-10 14:35:31 -07:00
Jeffrey Pfau 8636b81f13 GBA: Split cheats out into separate source files 2015-04-09 00:41:00 -07:00
Jeffrey Pfau 6a320bb923 All: Always build vfs-mem 2015-04-05 15:07:46 -07:00
Jeffrey Pfau 120020b0e3 All: Bump version to 0.3 after branching for 0.2 2015-04-02 02:29:13 -07:00
Jeffrey Pfau 7bb17bc99d Util: Split vfs.c into vfs.c, vfs-fd.c and vfs-dirent.c 2015-04-01 21:13:16 -07:00
Jeffrey Pfau 9bb306f831 All: Buildfixes for OS X and FreeBSD 2015-03-23 02:47:10 -07:00
Jeffrey Pfau f519976c7f All: Attempt to downgrade from GNU99 to C99 2015-03-23 02:03:01 -07:00
Jeffrey Pfau 64b396aff9 Merge branch 'feature/sio-lockstep' 2015-03-19 22:19:49 -07:00
Jeffrey Pfau c75224ce8c SDL: Add Pandora bindings 2015-03-17 22:30:58 -07:00
Jeffrey Pfau 22021df387 All: Fix OpenBSD build with CLI debugger 2015-03-17 22:16:57 -07:00
Jeffrey Pfau 20aae1202a Qt: Properly preprocess Windows RC file 2015-03-16 00:35:09 -07:00
Jeffrey Pfau 51b8c862b9 Merge branch 'master' into feature/sio-lockstep
Conflicts:
	CMakeLists.txt
	src/gba/gba.c
2015-03-15 23:29:01 -07:00
Jeffrey Pfau e6c10428ce All: Properly match ARM processor name in CMakeLists 2015-03-14 00:23:18 -07:00
Jeffrey Pfau bdf6d7f7ec All: Fix CMake files to not use function defined in CMake 2.8.11 2015-03-12 01:09:12 -07:00
Jeffrey Pfau f8933f23c4 All: Fix blip_buf build 2015-03-12 00:44:20 -07:00
Jeffrey Pfau 22245617f4 3DS: Modernize 3DS port 2015-03-11 23:49:25 -07:00
Jeffrey Pfau 513b9fb751 All: Unify how feature defines work, allowing specific targets to not use them 2015-03-11 02:17:45 -07:00
Jeffrey Pfau 17d61564c9 All: All ARM targets should enable ASM 2015-03-11 02:16:48 -07:00
Jeffrey Pfau f59932a295 All: Add option to disable LTO 2015-03-10 01:32:06 -07:00
Jeffrey Pfau 3b0a42921c Libretro: Fix module output name 2015-03-09 23:41:38 -07:00
Jeffrey Pfau 70b01f99ad Libretro: Force 5-6-5 build for Libretro core 2015-03-08 22:51:41 -07:00
Jeffrey Pfau cf71d39bf0 Libretro: Add initial libretro version 2015-03-08 22:51:40 -07:00
Jeffrey Pfau bb77d278dd GBA RR: Modularize RR 2015-03-05 00:32:49 -08:00
Jeffrey Pfau 1e912abf4b GBA SIO: Start building up skeleton for lockstep driver 2015-02-25 20:35:13 -08:00
Jeffrey Pfau 22f4b1fef9 All: Set RPATH appropriately (why is this not the default?) 2015-02-22 02:16:58 -08:00
Jeffrey Pfau e742fe25d0 Util: Don't detect strtof_l on Linux; glibc doesn't actually implement it, but it's still detected 2015-02-21 09:53:17 -08:00
Jeffrey Pfau 486a0e4017 All: Disable LTO in non-Darwin non-gcc (it seems to be broken in Clang on other OSes) 2015-02-20 23:43:43 -08:00
Jeffrey Pfau d794b24566 All: Clean up pthreads in CMakeList 2015-02-20 23:18:18 -08:00
Jeffrey Pfau 07feb10f6d All: Enable link-time optimization 2015-02-20 23:09:11 -08:00
Jeffrey Pfau 545497a7de All: Add tool for cleaning up debs spat out by CPack 2015-02-14 01:44:48 -08:00
Jeffrey Pfau 78b70d97f4 All: Better static/shared separation 2015-02-14 01:43:54 -08:00
Jeffrey Pfau 1f6732b9bb All: Add static library 2015-02-12 02:27:59 -08:00
Jeffrey Pfau d99731e1e7 Revert "All: Remove libm from list of libraries to explicitly link against", broke minimalistic ports, e.g. perf
This reverts commit 9bc4dafe56.
2015-02-12 01:24:04 -08:00
Jeffrey Pfau 9bc4dafe56 All: Remove libm from list of libraries to explicitly link against 2015-02-12 00:53:39 -08:00
Jeffrey Pfau 1e71f62a3c Util: Add universal float parsing and formatting functions 2015-02-11 00:26:30 -08:00
Jeffrey Pfau d2a21c256b All: Update Debian package section to "games" 2015-02-08 01:20:04 -08:00
Jeffrey Pfau 7149dd3102 GBA: Refactor gba directory, dropping gba- prefix and making supervisor directory 2015-02-03 03:12:04 -08:00
Jeffrey Pfau 9088faafc4 All: Make libedit work by default on BSDs, which usually ship libedit 2015-01-30 00:18:41 -08:00
Jeffrey Pfau c50b228243 All: Support 7-Zip files (fixes #151) 2015-01-25 00:11:36 -08:00
Jeffrey Pfau 38cb3eeaa8 Merge branch 'feature/blip-buf' 2014-12-29 02:38:38 -08:00
Jeffrey Pfau 4fa9401971 Qt: Fix OS X build in some unusual circumstances 2014-12-29 02:34:16 -08:00
Jeffrey Pfau 73a6b47879 GBA Audio: Rip out FFmpeg resampler 2014-12-29 01:51:50 -08:00
Jeffrey Pfau b92ed79a85 GBA Audio: Add blip_buf support 2014-12-29 01:45:24 -08:00
Jeffrey Pfau b8076be860 All: Use COMPONENT for selecting installation pieces 2014-12-24 18:40:36 -08:00
Jeffrey Pfau 458df43d18 All: Compile C code with minimum OS X version 10.6 2014-12-21 22:28:57 -08:00
Jeffrey Pfau ce0ad004e4 GBA Audio: Better audio resampling via FFmpeg 2014-12-21 02:13:27 -08:00
Jeffrey Pfau e58182c952 All: Force build type to Release if not set 2014-12-16 00:37:04 -08:00
Jeffrey Pfau 16bf77659f All: Increment ABI and version number for the future 2014-12-14 00:41:49 -08:00
Jeffrey Pfau 4d7fbf37db All: Add Debian-style dependencies for CPack 2014-12-10 21:26:55 -08:00
Jeffrey Pfau 12f99a33bc All: More CPack information 2014-12-10 20:16:15 -08:00
Jeffrey Pfau 29ea8d1539 Video: Make FFmpeg encoder work with libav 2014-12-10 19:55:27 -08:00
Jeffrey Pfau 4731349701 All: Fix ASM glob on case-insensitive volumes 2014-12-10 01:44:39 -08:00
Jeffrey Pfau 82cccd74eb 3DS: Working main loop 2014-12-10 01:43:32 -08:00
Jeffrey Pfau c212b9b106 All: Fix ASM glob on case-insensitive volumes 2014-12-10 01:39:27 -08:00
Jeffrey Pfau f97b9632eb All: Fix build on OS X when the 10.7 SDK is missing, due to CMake being overzealous 2014-12-09 17:27:11 -08:00
Jeffrey Pfau 39c88da650 3DS: Add VFile3DS type 2014-12-08 19:32:29 -08:00
Jeffrey Pfau d6952b6fa6 3DS: Add 3dstool relocation 2014-12-08 18:58:45 -08:00
Jeffrey Pfau 2aae3dc660 3DS: Progress on 3DS linking 2014-12-08 18:42:13 -08:00
Jeffrey Pfau 03de43511f 3DS: Build static library + elf for 3DS 2014-12-08 18:37:22 -08:00
Jeffrey Pfau b2a4780b17 3DS: Get core library building on 3DS 2014-12-08 17:42:17 -08:00
Jeffrey Pfau 9a61475229 All: Add CPack variables 2014-12-06 19:25:13 -08:00
Jeffrey Pfau 0b241710f4 All: Set default build type to Release 2014-12-06 18:51:26 -08:00
Jeffrey Pfau 886c045a11 All: Support building C++11 on 10.7 2014-12-06 08:19:03 -08:00
Jeffrey Pfau 15ef638f95 GBA: Add identifier lookup for GBA registers 2014-11-27 10:36:19 -08:00
Jeffrey Pfau 888b64f8b5 Video: GIF encoder using ImageMagick 2014-11-19 03:36:14 -08:00
Jeffrey Pfau 67e31c9666 Third-Party: Move third-party to src/third-party 2014-11-03 23:32:18 -08:00
Jeffrey Pfau a77d6e202d Third-Party: Actually build inih 2014-11-02 18:30:45 -08:00
Jeffrey Pfau 3878e4b196 Video: use libswscale to handle video format conversion 2014-10-28 02:17:18 -07:00
Jeffrey Pfau aed170b670 Merge branch 'port/qt' 2014-10-27 22:03:02 -07:00
Jeffrey Pfau e9b26dda08 FFmpeg resampling 2014-10-27 21:59:10 -07:00
Jeffrey Pfau f98d6486ef Merge branch 'master' into port/qt 2014-10-26 03:49:12 -07:00
Jeffrey Pfau 8d002913f0 Fix windows build on case-sensitive filesystems 2014-10-26 02:03:07 -07:00
Jeffrey Pfau c8d5219212 Merge branch 'master' into port/qt 2014-10-25 01:53:15 -07:00
Jeffrey Pfau c7a1894a99 Fix pkg-config overwriting find_package results 2014-10-25 01:43:05 -07:00
Jeffrey Pfau 5340cb300b Add more options to PGO 2014-10-22 22:00:19 -07:00
Jeffrey Pfau 13e16d2e36 Actually set C flags properly now 2014-10-21 04:00:15 -07:00
Jeffrey Pfau ca5f7a45ee Move string utilities out to separate file (really fixing Linux build this time) 2014-10-19 03:01:26 -07:00
Jeffrey Pfau bfa5fb6173 Merge branch 'master' into qt 2014-10-19 01:17:09 -07:00
Jeffrey Pfau e956ad3f2f Fix build on Linux 2014-10-19 01:17:04 -07:00
Jeffrey Pfau c12b8e6e6d Merge branch 'master' into qt 2014-10-18 01:06:35 -07:00
Jeffrey Pfau 13a831d3b0 Add version string to command line arguments 2014-10-18 01:06:29 -07:00
Jeffrey Pfau 51ad9d37e1 Merge branch 'master' into qt 2014-10-12 21:00:01 -07:00
Jeffrey Pfau dbd939022c Simple profiling script for outputing CSV batches 2014-10-09 01:00:40 -07:00
Jeffrey Pfau c7bb9618a0 Mark project as C 2014-10-08 04:47:56 -07:00
Jeffrey Pfau dda454c9a2 Fix libedit in CMakeLists 2014-10-08 03:49:48 -07:00
Jeffrey Pfau 0b91681b2a Remove bad AFTER keyword in link_directories directive 2014-10-08 01:04:03 -07:00
Jeffrey Pfau ef380f27d5 Fix outputing the right variable names in find_feature 2014-10-08 01:03:35 -07:00
Jeffrey Pfau e65ef28486 Export all relevant pkg-config flags 2014-10-08 00:40:57 -07:00
Jeffrey Pfau 5333394755 Clean up CMakeFiles after adding find_feature 2014-10-08 00:30:36 -07:00
Jeffrey Pfau fe9d476a77 Stop compile flags from stomping over itself 2014-10-07 23:56:29 -07:00
Jeffrey Pfau 7b4d4e438a Don't look for a package when we don't need to 2014-10-07 02:54:05 -07:00
Jeffrey Pfau 6560db2ef5 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
2014-10-07 02:50:57 -07:00
Jeffrey Pfau abccc2d804 Fix USE_FFMPEG description: movies record input, videos record output 2014-10-06 00:30:11 -07:00
Jeffrey Pfau 3a09353ff8 Fix embarrassing typos 2014-10-05 23:18:01 -07:00
Jeffrey Pfau 4f8c021f95 Enhance CMake lists to have unified feature detection, summaries 2014-10-05 23:08:11 -07:00
Jeffrey Pfau 38762449ad Include PNG include path 2014-09-30 22:04:04 -07:00
Jeffrey Pfau c035d97286 Make libPNG/zlib optional dependencies 2014-09-30 01:43:43 -07:00
Jeffrey Pfau 2b3631dc91 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
2014-08-12 23:37:29 -07:00
Jeffrey Pfau 9ac58c6996 Rename project to mGBA 2014-08-12 22:28:39 -07:00
Jeffrey Pfau d7968ccc0d Merge branch 'ffmpeg' 2014-08-12 22:28:13 -07:00
Jeffrey Pfau 9ed4fad33c Add library versions and installation targets 2014-08-12 22:18:06 -07:00
Jeffrey Pfau 09c49d5f3b Clean up list usage in CMakeLists 2014-08-12 22:06:31 -07:00
Jeffrey Pfau e88aed2597 Detect libedit 2014-08-12 22:02:34 -07:00
Jeffrey Pfau 4fe48ad820 Detect libedit 2014-08-12 21:58:48 -07:00
Jeffrey Pfau 43de75c973 Detect libPNG and zlib 2014-08-12 21:53:32 -07:00
Jeffrey Pfau 88695a5ab1 Rough FFmpeg video encoder 2014-08-09 03:59:31 -07:00
Jeffrey Pfau 220d836f13 Save initialization type and metadata magic number 2014-08-04 00:54:50 -07:00
Jeffrey Pfau bbe52bf632 Add screenshot capability 2014-07-25 05:44:20 -07:00
Jeffrey Pfau 888d037b3d PGO options for GCC 2014-07-25 00:01:49 -07:00
Jeffrey Pfau 6bbb1d5b43 Put back gnu99 standard, we use some of the features 2014-07-23 22:57:25 -07:00
Jeffrey Pfau f62ccde49d Merge branch 'master' into qt 2014-07-20 16:28:12 -07:00
Jeffrey Pfau 5825c2ee5f Move vfs-zip into vfs folder 2014-07-19 22:15:39 -07:00
Jeffrey Pfau d2272ba9ba Support reading from ZIPs 2014-07-17 02:45:17 -07:00
Jeffrey Pfau ce1dd4416f Proper parser, without identifier support currently 2014-07-12 17:12:35 -07:00
Jeffrey Pfau 66191ee92a GNU C extensions are not used, switch to C99 compat mode 2014-07-12 04:42:24 -07:00
Jeffrey Pfau 47ca4201fd Disable CLI debugger on Windows 2014-07-12 04:40:13 -07:00
Jeffrey Pfau 5b7da978d1 Remove project name strings from the code 2014-07-12 04:29:12 -07:00
Jeffrey Pfau 64e8d3fb83 Fix GBDStub build on Windows 2014-04-23 21:42:08 -07:00
Jeffrey Pfau 89ccb41b03 Start moving command line parsing into a separate file 2014-04-20 04:06:44 -07:00
Jeffrey Pfau 7a4ca414e5 Restructure watchpoints 2014-04-20 00:47:49 -07:00
Jeffrey Pfau c0eb7c81f7 Remove ARMMemory and ARMBoard shims 2014-04-19 18:14:17 -07:00
Jeffrey Pfau ecb1939ff1 Move common headers to common.h, remove util and debugger from being first class include directories 2014-04-02 23:51:35 -07:00
Jeffrey Pfau c5d243fca2 Merge branch 'master' into qt 2014-02-10 23:59:12 -08:00
Jeffrey Pfau b691c93416 Add joypad support via SDL to Qt build 2014-02-03 22:28:28 -08:00
Jeffrey Pfau ad38ae63ec Properly support 16-bit color 2014-02-02 02:47:50 -08:00
Jeffrey Pfau 97e4e7a28c Add define for GDB stub 2014-02-01 20:49:12 -08:00
Jeffrey Pfau 87b17efe76 Add define for GDB stub 2014-02-01 20:48:00 -08:00
Jeffrey Pfau 11e3bdc585 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
	src/gba/gba.c
2014-02-01 17:37:18 -08:00
Jeffrey Pfau 244f197742 Begin GDB stub 2014-02-01 03:08:32 -08:00
Jeffrey Pfau 6616ca9111 Always enable the debugger framework 2014-02-01 01:14:41 -08:00
Jeffrey Pfau bc9fdc1249 Fix *_LIBRARY into *_LIB 2014-01-31 01:13:51 -08:00
Jeffrey Pfau 9b150bbaa3 Move Qt output directory 2014-01-31 01:04:13 -08:00
Jeffrey Pfau 07826098bc Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
2014-01-31 01:03:02 -08:00
Jeffrey Pfau 4bc8f2eb1a Move SDL output directory 2014-01-31 01:01:44 -08:00
Jeffrey Pfau c312a0f5fe Clean up stale warning rule 2014-01-31 01:01:04 -08:00
Jeffrey Pfau 08f15af4f5 Add source groups 2014-01-31 00:29:27 -08:00
Jeffrey Pfau bce620e717 Split SDL build into its own CMake list 2014-01-31 00:13:33 -08:00
Jeffrey Pfau 43807b196d Move SDL/OpenGL dependencies into the SDL port 2014-01-31 00:11:55 -08:00
Jeffrey Pfau 9022deed9e Split SDL build into its own CMake list 2014-01-31 00:11:19 -08:00
Jeffrey Pfau 4dae440670 Move SDL/OpenGL dependencies into the SDL port 2014-01-30 23:58:48 -08:00
Jeffrey Pfau 4659635fb5 Start Qt frontend 2014-01-29 23:14:23 -08:00
Jeffrey Pfau d5bd521313 Break out shared library 2014-01-28 01:40:32 -08:00
Jeffrey Pfau b4b7be1f84 Don't require SDL for perf builds 2014-01-23 20:58:33 -08:00
Jeffrey Pfau e141db9493 Build fix on OS X for perf util 2014-01-16 00:32:51 -08:00
Jeffrey Pfau 3837213f94 Support Win32 threads on Vista and higher 2014-01-15 23:46:47 -08:00
Jeffrey Pfau 85d30ac271 Build fix for MinGW 2014-01-15 21:49:08 -08:00
Jeffrey Pfau b8167f55b1 Create Windows and POSIX platform directories 2014-01-15 01:28:30 -08:00
Jeffrey Pfau dd1f1bc79e Initial support for Windows 2014-01-15 00:32:54 -08:00
Jeffrey Pfau 53dd260b3e Fast 32-to-16-bit memory conversion routine on ARM 2013-11-09 13:30:25 -08:00
Jeffrey Pfau 3005c6c9fb Add per-second perf updating 2013-11-04 21:07:41 -08:00
Jeffrey Pfau 09888a8852 Add performance-monitoring main thread 2013-10-27 05:16:07 -07:00
Jeffrey Pfau 3edb2da58d Make platform directory for ports 2013-10-16 01:35:49 -07:00
Jeffrey Pfau cf298474bc Use 5_6_5 with SDL 2013-10-12 02:11:57 -07:00
Jeffrey Pfau 5caffd1f5a Remove reference to removed file 2013-10-12 00:39:03 -07:00
Jeffrey Pfau 290b64b171 Compile-time flag for disabling debugger 2013-10-12 00:34:59 -07:00
Jeffrey Pfau 01d8569262 Remove reliance on linenoise 2013-10-10 00:29:41 -07:00
Jeffrey Pfau 09b4a4a29a Build up DMA channel audio infrastructure from GBA.js 2013-10-01 23:56:10 -07:00
Jeffrey Pfau 7978a57128 Make binary name a setting 2013-09-22 12:05:31 -07:00
Jeffrey Pfau 8dc3fa9bec Use software renderer for EGL, just use it for uploading the texture 2013-07-21 05:15:02 -07:00
Jeffrey Pfau 49de0fb52e Different mains for SDL and EGL, supporting Raspberry Pi and BeagleBone Black 2013-05-29 21:18:25 -07:00
Jeffrey Pfau f246587a9d Add support for (my) joystick 2013-05-08 16:57:17 -07:00
Jeffrey Pfau 13a46429e2 Remove -Wno-unused and fix resulting errors 2013-05-02 00:35:32 -07:00
Jeffrey Pfau 13c95a2aae Build fixes for linux 2013-04-26 03:08:59 -07:00
Jeffrey Pfau 5122a236e0 Squelch warnings, turn on -Werror 2013-04-24 01:32:49 -07:00
Jeffrey Pfau 2860714714 Draw output buffer 2013-04-20 21:40:06 -07:00
Jeffrey Pfau eba5d547b9 Start using SDL for graphics syncing 2013-04-20 20:29:53 -07:00
Jeffrey Pfau a094024ad5 Add missing files 2013-04-20 18:11:27 -07:00
Jeffrey Pfau 1ca6487151 Create subdirs 2013-04-14 13:04:24 -07:00
Jeffrey Pfau 1db7f5b179 Initial debugger 2013-04-12 01:32:43 -07:00
Jeffrey Pfau b07e052698 Move CMakeList 2013-04-11 23:58:13 -07:00