Commit Graph

391 Commits

Author SHA1 Message Date
Jeffrey Pfau 6a5348121a GUI: Add key repeat 2015-08-24 22:22:22 -07:00
Jeffrey Pfau 6f9eb5343e GUI: Fix some font metrics 2015-08-24 22:21:21 -07:00
Jeffrey Pfau 0cc32d98fb GUI: Add key repeat 2015-08-24 22:11:12 -07:00
Jeffrey Pfau 10e794341a GUI: Handle paths starting with / properly 2015-08-24 19:36:00 -07:00
Jeffrey Pfau 762ddb096d GUI: Handle paths starting with / properly 2015-08-24 19:35:44 -07:00
Jeffrey Pfau fb82257d03 3DS: Use newlib fs functions unless told otherwise 2015-08-24 19:18:32 -07:00
Jeffrey Pfau 81dffd6a12 3DS: Cleanup 2015-08-23 20:28:33 -07:00
Jeffrey Pfau 0affe7c8d7 Merge branch 'master' into port/3ds 2015-08-23 07:21:23 -07:00
Jeffrey Pfau f6e1d9d741 Merge branch 'master' into port/wii 2015-08-23 01:06:10 -07:00
Jeffrey Pfau d8caa280b1 GUI: Add lowercase and font metrics 2015-08-23 00:57:48 -07:00
Jeffrey Pfau af81b47df2 GUI: Add lowercase and font metrics 2015-08-23 00:57:22 -07:00
Jeffrey Pfau 6ea0db2ccd GUI: Upstream cross-platform GUI code 2015-08-22 23:20:21 -07:00
Jeffrey Pfau 2c7926ef66 3DS: Adapt VFileOpen for 3DS 2015-08-22 17:21:35 -07:00
Jeffrey Pfau b278bbb23d PSP2: Translate POSIX open modes to SCE open modes 2015-08-22 00:31:12 -07:00
Jeffrey Pfau 2dbf207f9b GUI: Merge file-select changes from Wii branch 2015-08-21 21:22:52 -07:00
Jeffrey Pfau 5966f46355 Merge branch 'master' into port/psp2 2015-08-21 21:22:03 -07:00
Jeffrey Pfau 7c4df24bc7 Merge branch 'master' into port/wii 2015-08-21 00:28:54 -07:00
Jeffrey Pfau 003a21b13d GBA Memory: Use a dynamically sized mask for ROM memory 2015-08-19 01:29:21 -07:00
Jeffrey Pfau 76663c41cd Util: Migrate popcount32 to a header 2015-08-19 01:29:21 -07:00
Jeffrey Pfau 9f36284fd1 Merge branch 'master' into port/psp2 2015-08-17 01:39:53 -07:00
Jeffrey Pfau ddab7a7e44 Merge branch 'master' into port/wii 2015-08-15 20:33:05 -07:00
Jeffrey Pfau e528f673b8 Util: Fix formatting of floats 2015-08-15 14:51:03 -07:00
Jeffrey Pfau 74c4cbe33e GUI: Add scrolling 2015-08-06 15:43:45 -07:00
Jeffrey Pfau 94e329a58c Wii: Add file selector from PSP2 port 2015-08-06 15:29:46 -07:00
Jeffrey Pfau 0cd28060e0 Merge branch 'master' into port/wii 2015-08-05 22:48:20 -07:00
Jeffrey Pfau ade9402578 PSP2: Add GUI framework and use for file chooser 2015-07-28 00:59:28 -07:00
Jeffrey Pfau 68e70b61f1 Merge branch 'master' into port/psp2 2015-07-26 19:43:11 -07:00
Jeffrey Pfau 47332ef017 PSP2: Fix build 2015-07-24 22:39:32 -07:00
Jeffrey Pfau 97b82ae6cd VFS: Fix file handle leak in 7z 2015-07-24 19:57:57 -07:00
Jeffrey Pfau 963758c348 Qt: Default controller profiles, with a few included already 2015-07-16 23:45:55 -07:00
Jeffrey Pfau 386da2accd VFS: Add VFile.sync for memory vfs 2015-07-12 15:49:04 -07:00
Jeffrey Pfau f0c8c246cc VFS: Fix Windows build 2015-07-07 01:03:36 -07:00
Jeffrey Pfau 33ca1e2e9c Merge branch 'master' into port/psp2 2015-07-07 00:30:29 -07:00
Jeffrey Pfau 250d3b940d VFS: Add sync method to force syncing with backing 2015-07-07 00:27:08 -07:00
Jeffrey Pfau 9a9381bda9 PSP2: Add (untested) threading implementation 2015-07-05 14:00:13 -07:00
Jeffrey Pfau a6fe304ad5 Merge branch 'master' into port/psp2 2015-07-05 13:05:50 -07:00
Jeffrey Pfau d9778a98d4 Util: Check for SETLOCALE too 2015-07-05 13:05:09 -07:00
Jeffrey Pfau 2e43210eac PSP2: Initial support 2015-07-04 20:56:27 -07:00
Augustin Cavalier fc74db8c09 All: Initial work on MSVC support. 2015-06-30 22:09:17 -04:00
Jeffrey Pfau 5bae2087fe All: Proper handling of Unicode file paths 2015-06-29 22:24:53 -07:00
Jeffrey Pfau 908e61f415 All: Add clang-format options and run them 2015-06-29 20:45:08 -07:00
Jeffrey Pfau 9bee2f4cd3 VFS: Make VFileFILE.unmap only write back if the file was mapped as writable 2015-06-28 17:52:27 -07:00
Jeffrey Pfau 0aef1bc6df Util: Allow loading IPS patches that grow the ROM 2015-06-28 02:00:33 -07:00
Jeffrey Pfau 42a887369f VFS: Fix sign warning 2015-06-22 01:38:40 -07:00
Jeffrey Pfau 52c66de694 Merge branch 'master' into port/wii 2015-06-20 03:25:01 -07:00
Jeffrey Pfau ef93f68658 VFS: Move VDirOptionalOpenFile back to vfs.c 2015-06-20 03:17:05 -07:00
Jeffrey Pfau 43f9f2dfd3 VFS: VFileOpen can now have a swappable backend 2015-06-20 03:11:11 -07:00
Jeffrey Pfau 9739f177c7 Wii: Remove bad ssize_t definition 2015-06-18 02:47:41 -07:00
Jeffrey Pfau e94744d8c7 Merge branch 'master' into port/wii 2015-06-18 02:06:19 -07:00
Jeffrey Pfau 6f4871fb72 VFS: Fix line-reading to return proper values 2015-06-18 01:26:46 -07:00
Jeffrey Pfau 6589eade24 Util: Clean up some defines 2015-06-18 01:19:33 -07:00
Jeffrey Pfau a992fcd3d1 VFS: Move VDirOptionalOpenFile to vfs-dirent.c 2015-06-18 01:16:54 -07:00
Jeffrey Pfau c0fcec22b7 Util: Separate out platform threading headers 2015-06-18 01:00:35 -07:00
Jeffrey Pfau b54f5a997a All: Include util/string.h wherever strdup is used 2015-06-17 21:50:10 -07:00
Jeffrey Pfau 4f04c30f70 Wii: Initial port 2015-06-15 23:02:58 -07:00
Jeffrey Pfau 5c1988c48a Util: VFile using FILE* backing 2015-06-15 22:35:24 -07:00
Jeffrey Pfau bbc63a2392 Util: Add strdup implementation for platforms without it 2015-06-14 23:25:49 -07:00
Jeffrey Pfau 857fc21d21 Util: Fix warning on Windows 2015-06-13 05:09:23 -07:00
Jeffrey Pfau d1a51637bc Util: Fix FreeBSD build 2015-06-13 03:26:07 -07:00
Jeffrey Pfau 4469a9a05f All: Threads are now named 2015-06-13 01:41:07 -07:00
Jeffrey Pfau cda462e24f All: Fix asm to __asm__ in PPC code 2015-06-09 21:22:32 -07:00
Jeffrey Pfau 97da8b43c9 All: Some portability fixes 2015-06-09 21:22:11 -07:00
Jeffrey Pfau 91a66c9346 GBA: Better portable GBARTC packing 2015-06-08 01:25:36 -07:00
Jeffrey Pfau c0909c8713 All: Fix typo, disabling __builtin_expect on MSVS 2015-06-07 21:20:54 -07:00
Jeffrey Pfau 12505766e1 All: MSVS2015 fixes (via zeromus) 2015-06-06 21:43:24 -07:00
Jeffrey Pfau 3b29ba1aa2 Util: Allow disabling the threading code entirely 2015-06-03 20:37:45 -07:00
Jeffrey Pfau a73cfe4496 Util: Add VFS helper functions for reading/writing little endian values 2015-05-29 00:17:04 -07:00
Jeffrey Pfau 6b06579277 All: Move most macros back into common.h 2015-05-29 00:17:04 -07:00
Jeffrey Pfau 47d945bf75 All: Make version.c 2015-05-15 08:56:28 -07:00
Jeffrey Pfau 07a3d08b26 Util: Fix a null-pointer issue when attempting to delete a key 2015-05-02 01:08:29 -07:00
Jeffrey Pfau a2e1cd615c VFS: Fix resource leaks if some allocations fail 2015-04-22 22:08:09 -07:00
Jeffrey Pfau 9552512329 Util: Fix resource leak in UTF-8 handling code 2015-04-22 22:02:55 -07:00
Jeffrey Pfau 657bcec879 SDL: Fix Windows build 2015-04-21 02:27:54 -07:00
Jeffrey Pfau 8636b81f13 GBA: Split cheats out into separate source files 2015-04-09 00:41:00 -07:00
Jeffrey Pfau 24ff4e8a01 Util: Move VDirOptionalOpenFile back into vfs.c 2015-04-01 21:42:14 -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 178f9a83bb GBA: Almost entirely untested Pro Action Replay v3 code support 2015-03-29 04:38:13 -07:00
Jeffrey Pfau 9bb306f831 All: Buildfixes for OS X and FreeBSD 2015-03-23 02:47:10 -07:00
Jeffrey Pfau 1584687c14 Util: Ensure stack is not marked executable 2015-03-14 00:22:29 -07:00
Jeffrey Pfau 84a14b6c00 Util: NEONize 16-bit color packing 2015-03-14 00:22:06 -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 e61d413d69 Util: VFile backed by memory 2015-03-05 18:44:28 -08:00
Jeffrey Pfau 9adfcad1b5 Util: Cleanup of VFileZip and VFile7z 2015-03-05 18:40:33 -08:00
Jeffrey Pfau 0ab8cfe6ad Util: Fix SocketPoll on pthreads 2015-03-03 03:07:04 -08:00
Jeffrey Pfau 29e118b512 Util: Fix C++ build for Win32 2015-02-24 00:02:24 -08:00
Jeffrey Pfau a0b94db9a7 All: Fix *nix build 2015-02-23 23:49:40 -08:00
Jeffrey Pfau c73ea2e595 Util: Fix sockets on Windows 2015-02-23 23:29:01 -08:00
Jeffrey Pfau d497cecfd1 Util: Add header for ARM util functions 2015-02-22 01:47:23 -08:00
Jeffrey Pfau f51044e94c Util: Attempt to fix erroneous clobber warning 2015-02-22 01:32:02 -08:00
Jeffrey Pfau 8a90066965 GBA Thread: Make GBASyncWaitFrameStart time out 2015-02-21 03:44:15 -08:00
Jeffrey Pfau bc8175515b Util: Hopefully fix all of the Socket warnings this time 2015-02-15 00:31:57 -08:00
Jeffrey Pfau f0e99779d4 All: Fix more warnings 2015-02-14 23:47:08 -08:00
Jeffrey Pfau 2ec2e75634 Util: Fix warnings on Windows 2015-02-14 23:40:59 -08:00
Jeffrey Pfau ca6b2e7b09 Qt: Display hex values within cheats 2015-02-14 22:45:40 -08:00
Jeffrey Pfau dc5fb14fa1 Qt: Clear cheats when the game ends 2015-02-14 18:04:01 -08:00
Jeffrey Pfau 61c95ed7fb Util: Fix warnings on FreeBSD 2015-02-12 00:37:52 -08:00
Jeffrey Pfau 1e71f62a3c Util: Add universal float parsing and formatting functions 2015-02-11 00:26:30 -08:00
Jeffrey Pfau f2c29bc8d6 Util: Fix Win32 build 2015-02-10 02:46:12 -08:00
Jeffrey Pfau 4b14b71861 Util: Use proper locale for reading and writing float values 2015-02-10 02:21:40 -08:00
Jeffrey Pfau af6ead2c97 Util: Fix VFile.readline 2015-02-05 03:18:37 -08:00
Jeffrey Pfau f62c068a2c Util: Add Vector append 2015-02-04 02:34:59 -08:00
Jeffrey Pfau 09cd56820f Util: Add a simple Vector definition 2015-02-04 01:11:02 -08:00
Jeffrey Pfau e70df7b6f7 All: Fix warnings 2015-01-25 00:24:18 -08:00
Jeffrey Pfau c50b228243 All: Support 7-Zip files (fixes #151) 2015-01-25 00:11:36 -08:00
Jeffrey Pfau a30ca1ac2c Util: Add UTF-16 and UTF-8 parsing functions 2015-01-25 00:02:55 -08:00
Jeffrey Pfau 973f1a64a0 Debugger: Ensure GDB stub never hard-blocks 2015-01-19 02:34:36 -08:00
Jeffrey Pfau 61467cacd9 Util: Add easy way to remove keys 2015-01-18 01:19:28 -08:00
Jeffrey Pfau 56d5fb579d Debugger: Clean up GDB stub network interfacing 2015-01-16 00:50:15 -08:00
Jeffrey Pfau 69fb4e4c7b Util: Fix SOCKET_FAILED macro 2015-01-16 00:11:50 -08:00
Jeffrey Pfau 1119d773e1 Util: Fix some warnings 2015-01-15 00:13:41 -08:00
Jeffrey Pfau 1fe5a7847a Util: Perform checksum validation on BPS patches 2015-01-11 06:22:58 -08:00
Jeffrey Pfau 8c2d3e5d59 Util: Add BPS patch support (fixes #150) 2015-01-11 01:38:04 -08:00
Jeffrey Pfau a6001496bc Util: Add VFile.size function (fixes #153) 2015-01-11 00:35:26 -08:00
Jeffrey Pfau 76bf0427f1 Util: Support IPv6 2015-01-09 02:03:57 -08:00
Jeffrey Pfau 9da3e5e1f9 Util: Fix socket code to not use struct designated initialization 2015-01-07 02:06:38 -08:00
Jeffrey Pfau 660ac6a6be GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples 2014-12-21 02:13:27 -08:00
Jeffrey Pfau 1b6389164c Util: Enumerating a Table should list the key, too 2014-12-14 00:41:03 -08:00
Jeffrey Pfau 53023441da GBA Thread: Dummy out threading functions, let GBASync* functions still be called 2014-12-08 18:49:05 -08:00
Jeffrey Pfau ed8852bbe0 GBA Thread: Add half-baked ability to disable threading 2014-12-08 16:00:08 -08:00
Jeffrey Pfau f6a7fedb28 All: Add MPL 2.0 license and associated headers 2014-12-03 00:39:06 -08:00
Jeffrey Pfau 279cc1027b GBA Video: Fix a format string warning 2014-11-22 00:33:41 -08:00
Jeffrey Pfau 938c9e965d Util: Fix build with strndup on some platforms 2014-11-16 20:25:52 -08:00
Jeffrey Pfau 0ef07f7c26 Util: Configuration should use FILE instead of fds to be more portable 2014-11-11 00:01:25 -08:00
Jeffrey Pfau f4d6ef74b4 Util: Fix memory leak in Configuration 2014-11-05 02:45:00 -08:00
Jeffrey Pfau 0fd9e9ad0f GBA Config: const-correctness 2014-11-05 02:34:51 -08:00
Jeffrey Pfau e884bc4d7a Util: Add helper functions for setting overloaded Configuration types 2014-11-04 23:48:09 -08:00
Jeffrey Pfau 11bf4fdfda Util: Adding a null value to a Configuration removes the value 2014-11-04 23:47:31 -08:00
Jeffrey Pfau 67e31c9666 Third-Party: Move third-party to src/third-party 2014-11-03 23:32:18 -08:00
Jeffrey Pfau 5f440b6a02 Util: Add Configuration datatype 2014-11-02 18:30:45 -08:00
Jeffrey Pfau e66bcfb818 Util: Flesh out Table and add HashTable 2014-11-02 18:30:45 -08:00
Jeffrey Pfau f7c76788f3 Util: Add murmurhash3 hashing 2014-11-02 18:30:45 -08:00
Jeffrey Pfau e0b05403f4 Util: Pull basic table struct from another branch 2014-11-02 18:30:45 -08: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 2415d59d94 Windows C++ fixes 2014-10-25 03:06:45 -07:00
Jeffrey Pfau 5450bd8d59 Force files into binary mode on Windows 2014-10-25 01:45:42 -07:00
Jeffrey Pfau a265cf45a9 Fix build on Windows 2014-10-24 22:01:13 -07:00
Jeffrey Pfau d44bf73a81 Check if VFileOpen is actually passed a path before trying to open it 2014-10-19 21:13:32 -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 b24b02d46c Screenshot numbering 2014-10-18 16:25:48 -07:00
Jeffrey Pfau 69d041d373 VFile write should use const void* 2014-10-15 04:55:46 -07:00
Jeffrey Pfau 38187bac7a Rename crc32 to doCrc32 to avoid symbol naming conflicts 2014-10-15 01:41:50 -07:00
Jeffrey Pfau 4247db81e4 Split out macros from common.h 2014-10-11 18:18:47 -07:00
Jeffrey Pfau e293134a78 Unify optional directory file opening 2014-10-09 23:55:02 -07:00
Jeffrey Pfau c035d97286 Make libPNG/zlib optional dependencies 2014-09-30 01:43:43 -07:00
Jeffrey Pfau 61c410154f Use older const png_bytep instead of png_const_bytep 2014-08-15 01:54:13 -07:00
Jeffrey Pfau b4d90e7e84 Restore pixels from PNG when loading savestate 2014-07-26 14:06:28 -07:00
Jeffrey Pfau 15ece309b7 PNG savestate loading 2014-07-26 13:20:29 -07:00
Jeffrey Pfau bbe52bf632 Add screenshot capability 2014-07-25 05:44:20 -07:00
Jeffrey Pfau 103bef17c9 Avoid compiler warnings 2014-07-25 03:45:54 -07:00
Jeffrey Pfau 10fc916425 Revise circle buffer types 2014-07-20 23:56:12 -07:00
Jeffrey Pfau d48dad27d1 Fix build against C++ 2014-07-20 16:37:54 -07:00
Jeffrey Pfau 381fc94d73 Move file CRC32 code into crc32.h 2014-07-20 15:11:22 -07:00
Jeffrey Pfau 16cf389986 Make writing to RO mapped memory perform COW 2014-07-20 01:36:18 -07:00
Jeffrey Pfau 5825c2ee5f Move vfs-zip into vfs folder 2014-07-19 22:15:39 -07:00
Jeffrey Pfau a14ce5c815 Add some missing cleanup 2014-07-18 00:52:22 -07:00
Jeffrey Pfau c9ec91b75f Forcibly disable some currently unsupported zip operations 2014-07-18 00:52:07 -07:00
Jeffrey Pfau 74fcdf54e0 Fix reading more than a block but less than the rest of the file 2014-07-17 02:51:38 -07:00
Jeffrey Pfau 793a89d091 Fix seeking to end of file 2014-07-17 02:51:17 -07:00
Jeffrey Pfau d2272ba9ba Support reading from ZIPs 2014-07-17 02:45:17 -07:00
Jeffrey Pfau ee5c918ff2 Directory mode for loading the first ROM in a directory, still a bit buggy 2014-07-17 00:53:17 -07:00
Jeffrey Pfau 73425e80b5 Move VFile to vfs.h and add VDirs 2014-07-17 00:52:21 -07:00
Jeffrey Pfau 6519fad652 Fix some signatures 2014-07-16 03:02:16 -07:00
Jeffrey Pfau f1f55cea47 Use VFiles for all file operations 2014-07-16 02:08:54 -07:00
Jeffrey Pfau 377d8e60a7 VFiles for abstract file operations, used at first in patches 2014-07-16 01:31:10 -07:00
Jeffrey Pfau d8654f3b88 Use stdbool for readability 2014-07-16 01:02:34 -07:00
Jeffrey Pfau 94438e141e Only assemble NEON code when NEON is enabled 2014-07-13 18:32:10 -07:00
Jeffrey Pfau 55977796f3 Move UNUSED macro to common.h 2014-07-10 01:00:38 -07:00
Jeffrey Pfau 87913a4c33 Add missing return statement 2014-07-09 23:17:51 -07:00
Jeffrey Pfau 8c9790bb3b Add audio FIFOs to savestates 2014-07-08 00:02:39 -07:00
Jeffrey Pfau a450b0470a UPS patch loading support 2014-07-07 01:54:40 -07:00
Jeffrey Pfau f420232bbf IPS patch loading support 2014-07-06 23:39:27 -07:00
Jeffrey Pfau 6ca25e44aa Add some NEON resizing code 2014-04-26 03:31:53 -07:00
Jeffrey Pfau 64e8d3fb83 Fix GBDStub build on Windows 2014-04-23 21:42:08 -07:00
Jeffrey Pfau 232abab7f4 Add long-missing arm-algo.S 2014-04-23 02:05:50 -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 8e51ffbf2c Add function for connecting to an already-open TCP port 2014-02-11 00:19:29 -08:00
Jeffrey Pfau 9c8e5fc222 SIO registers can now be read and written properly 2014-02-10 01:42:40 -08:00
Jeffrey Pfau 043d396320 Make socket shims inline 2014-02-05 01:22:34 -08:00
Jeffrey Pfau 20a5fa8476 Abstract out sockets 2014-02-03 23:01:26 -08:00
Jeffrey Pfau 4e88cc86d9 Have circle buffer work when memory is misaligned 2014-01-16 01:56:17 -08:00
Jeffrey Pfau 3837213f94 Support Win32 threads on Vista and higher 2014-01-15 23:46:47 -08:00
Jeffrey Pfau 2b558a5a65 Rearchitect audio copying to make it cleaner and more atomic 2014-01-15 03:43:56 -08:00
Jeffrey Pfau b8167f55b1 Create Windows and POSIX platform directories 2014-01-15 01:28:30 -08:00
Jeffrey Pfau 270c1a35d7 Fix mappedMemoryFree on *nix 2014-01-15 00:34:45 -08:00
Jeffrey Pfau dd1f1bc79e Initial support for Windows 2014-01-15 00:32:54 -08:00
Jeffrey Pfau 53515b41cd Fix warnings in CircleBuffer 2013-11-05 01:20:46 -08:00
Jeffrey Pfau 4a09d41aab Fix circle buffers 2013-10-03 01:25:51 -07:00
Jeffrey Pfau da38027654 Add missing changes 2013-10-02 02:45:41 -07:00
Jeffrey Pfau 71ec6162f1 Fix circle buffer sizing 2013-10-02 00:46:19 -07:00
Jeffrey Pfau 09b4a4a29a Build up DMA channel audio infrastructure from GBA.js 2013-10-01 23:56:10 -07:00