Commit Graph

541 Commits

Author SHA1 Message Date
Vicki Pfau ece0e168ef mGUI: Pressing confirm should only advance valid states if the data is a string 2021-07-01 22:15:29 -07:00
Vicki Pfau 9a26c1a679 mGUI: Use variants for menu data 2021-06-28 21:13:05 -07:00
Vicki Pfau 29115e711b Util: Improve speed of UPS patch loading 2021-05-02 23:18:13 -07:00
Vicki Pfau e25efac5fb Util: Fix loading UPS patches that affect the last byte of the file 2021-05-02 23:17:24 -07:00
Vicki Pfau 6c3fb29d53 mGUI: Add arrow keys to symbol and add unicode codepoints 2021-05-02 16:37:00 -07:00
Vicki Pfau 4ba921ccc5 mGUI: Initial OSK support 2021-04-23 00:24:27 -07:00
Vicki Pfau 926e8fcccb Util: Add toUtf16 function 2021-04-23 00:18:18 -07:00
Vicki Pfau 7da920c496 mGUI: "Accept" button should increment menu selection 2021-04-22 20:47:30 -07:00
Vicki Pfau 950767e6ad Util: 2D convolve with channels 2021-04-15 22:10:58 -07:00
Vicki Pfau 207c64874a Util: Add bits of a convolution API 2021-04-10 03:07:35 -07:00
Vicki Pfau 00531d1180 mGUI: De-constify fonts 2021-03-27 22:35:29 -07:00
Vicki Pfau 7d672a2215 All: Fix various build failure fallout 2021-02-26 02:02:25 -08:00
Vicki Pfau d42c6e6ba5 VFS: Clean up minizip usage 2021-02-26 00:34:18 -08:00
Vicki Pfau df082b46d9 Utils: Make sure to seek to start of file when doing PNG check 2021-02-01 01:54:19 -08:00
easyaspi314 (Devin) 4ecf64a41c Remove arm-algo.S and references
It wasn't fully optimized and it doesn't even compile anymore.
2020-12-18 17:00:24 -08:00
Vicki Pfau f1592d350f Core: Clean up and extend config saving/loading 2020-12-08 23:09:51 -08:00
Vicki Pfau 67f8197493 VFS: Initial write support for zip files 2020-12-08 23:09:51 -08:00
Vicki Pfau 7640c38684 mGUI: Skip second scan loop when possible 2020-11-26 22:33:05 -08:00
Vicki Pfau a2dc6557e3 Util: Add default memory.c implementation 2020-11-08 00:39:14 -08:00
Vicki Pfau 8a3a2bf058 VFS: Change semantics of VFile.sync on mapped files (fixes #1730) 2020-08-19 18:34:02 -07:00
Vicki Pfau 209eed35ed mGUI: Add status indicators for fast-forward and mute 2020-08-17 20:17:59 -07:00
Vicki Pfau 15fcc90db3 Util: Dynamically grow hash tables as needed (fixes #1859) 2020-08-17 01:24:37 -07:00
Vicki Pfau a9e0935af8 Util: Ensure key sizes match before comparing 2020-08-17 01:10:02 -07:00
Vicki Pfau b6a3133a13 Util: Table cleanup, add HashTableEnumerateBinary 2020-08-17 00:51:21 -07:00
Vicki Pfau 3b363bb2c1 GBA Hardware: Fix GB Player detection on big endian platforms 2020-08-15 21:19:05 -07:00
Vicki Pfau a26f654062 Windows: Fix build 2020-08-12 00:40:02 -07:00
Vicki Pfau 26427cf437 VFS: Sync on unmap 2020-08-12 00:34:55 -07:00
Vicki Pfau 3b784485f8 mGUI: Show battery percentage 2020-08-09 17:56:26 -07:00
Vicki Pfau 641154b810 VFS: Fix directory node listing on some filesystems 2020-08-05 21:56:38 -07:00
Adam Higerd 26555959f2 Util: support non-string keys in hash tables 2020-07-31 18:50:04 -07:00
Vicki Pfau 89de06a610 Test: Add wildcard matching 2020-07-30 19:03:15 -07:00
Vicki Pfau 2f066a9790 Util: Start cleaning up some bounded string copies 2020-07-06 16:08:23 -07:00
Vicki Pfau b68c393223 Util: Fix crash if PNG header fails to write 2020-06-28 01:17:03 -07:00
Vicki Pfau a903fe19d8 Util: Add PNGRead safety checks 2020-06-26 01:22:39 -07:00
Vicki Pfau 20353fa195 VFS: Fix memory leak if attempt to open a 7z fails 2020-02-21 00:03:48 -08:00
Vicki Pfau d14597f1ee Core: Fix crash modifying hash table entry (fixes #1673) 2020-02-17 17:55:34 -08:00
Vicki Pfau 5d20aac7ed VFS: Fix unmapping order on Win32 2020-02-08 13:34:38 -08:00
Vicki Pfau baeb353694 VFS: Fix handle leak when double-mapping (fixes #1659) 2020-02-05 04:15:43 +00:00
Vicki Pfau d46f12aa8e Util: Fix crash reading invalid ELFs 2020-01-31 18:10:19 -08:00
Vicki Pfau 4153a7e21f Util: Fix memory leak in VDir7z 2020-01-16 20:10:54 -08:00
Vicki Pfau b2d406a411 Third-Party: Update LZMA SDK 2020-01-16 20:10:20 -08:00
Vicki Pfau dab12cf5c6 All: Fix several warnings 2020-01-16 19:54:41 -08:00
Vicki Pfau 6bd38d1565 GBA Cheats: Add support for loading EZ Flash-style cht files 2019-06-30 14:51:27 -07:00
Vicki Pfau 3f044a5791 Core: Add support for loading Libretro-style cht files 2019-06-22 13:02:58 -07:00
Vicki Pfau 227121e676 CMake: Begin cleanup 2019-06-20 14:03:40 -07:00
Vicki Pfau 918caf87c4 Core: Create game-related paths if they don't exist (fixes #1446) 2019-06-17 13:29:15 -07:00
Vicki Pfau 7d821d4f11 mGUI: Remmeber name and position of last loaded game 2019-06-07 12:26:49 -07:00
Le Hoang Quyen b11de7538e Implement atomic macros for win32 2019-05-17 16:30:50 -07:00
Vicki Pfau 7ea054ee01 All: More warning fixing 2019-05-08 11:25:31 -07:00
Vicki Pfau 8796f75fd3 Windows: File handling fixes (fixes #1360) 2019-03-22 23:54:41 -07:00
Vicki Pfau 4e39875e7b Qt: Revamp logging configuration 2019-01-20 21:09:34 -08:00
Vicki Pfau 2bfc3e0ca6 Wii: Define _GNU_SOURCE 2018-10-01 12:07:20 -07:00
Vicki Pfau 8a006bc9c4 Wii: Disable use of strtof_l (fixes #1106) 2018-09-29 12:08:31 -07:00
Vicki Pfau 5d28145b52 Util: Fix RingFIFOSize... 2018-09-23 20:32:58 -07:00
Vicki Pfau fdfab146a0 Core: Fix up thread proxy waiting 2018-09-23 13:26:52 -07:00
Vicki Pfau de9bff4a29 Util: Fix wrapping edge cases in RingFIFO 2018-09-23 13:26:32 -07:00
Vicki Pfau 9fb7485051 mGUI: Add BATTERY_NOT_PRESENT state 2018-09-20 11:22:58 -07:00
Vicki Pfau 5039d17a30 mGUI: Increase key delay 2018-09-19 19:20:29 -07:00
Vicki Pfau 21626502bb Switch: Add audio, key mapping, fast-forward, bugfixes 2018-09-14 20:21:31 -07:00
Vicki Pfau af03ad75be Switch: Initial mGUI port 2018-09-13 18:12:32 -07:00
Vicki Pfau c0a94967ca GUI: Minor fixes 2018-09-12 19:27:53 -07:00
Vicki Pfau 4f312a0998 Util: Add missing PNG read functions 2018-09-12 19:27:23 -07:00
Vicki Pfau cbf460a164 mGUI: Revamp file filtering 2018-09-03 17:54:40 -07:00
Vicki Pfau ae40277f9d VFS: Fix memory leak when failing to open 7z 2018-09-03 11:29:02 -07:00
Cameron Cawley c8dacbb645 VFS: Fix crash when built with minizip 2018-02-08 07:32:26 -08:00
Vicki Pfau a691143777 Util: Fix regression with PNGs 2017-10-16 20:07:04 -07:00
Vicki Pfau 697c1cfa9d Util: Add alpha versions of PNG functions 2017-09-24 22:32:32 -07:00
Vicki Pfau bd4dd8de5c Util: Don't build crc32 if the function already exists 2017-09-09 10:51:40 -07:00
Vicki Pfau 448bc200c3 Util: Get rid of _to16Bit 2017-08-26 18:23:29 -07:00
Vicki Pfau bb6728558d Test: Restructure test suite into multiple executables 2017-08-12 17:27:36 -07:00
Vicki Pfau 64409d9ca7 Core: ELF support 2017-07-16 09:45:25 -07:00
Vicki Pfau 0a898f66b4 Util: Fix CircleBufferWrite 2017-06-03 17:25:22 -07:00
Vicki Pfau 6b547899a8 VFS: Add VFileFIFO for operating on circle buffers 2017-04-29 01:39:46 -07:00
Vicki Pfau deffdc79a0 Core: New mVL file format 2017-04-29 01:39:46 -07:00
Vicki Pfau fbb02475da VFS: Optimize expanding in-memory files 2017-04-29 01:39:11 -07:00
Augustin Cavalier 953335846b All: Fix build on Haiku. 2017-04-26 12:15:16 -07:00
Vicki Pfau bf716b947a Util: Move StringList to string.c 2017-04-11 22:18:33 -07:00
waddlesplash 15b4df3b2b Fix the build on MSVC. 2017-03-16 13:26:21 -07:00
Vicki Pfau 6363a08178 Util: Add enumeration over a configuration section 2017-03-05 17:23:08 -08:00
Vicki Pfau 726986e447 Util: Add startswith 2017-03-05 17:22:24 -08:00
Vicki Pfau cea83a5444 Util: Add 8-bit PNG write support 2017-02-02 16:33:27 -08:00
Vicki Pfau af77e5ab62 Util: Fix overflow when loading invalid UPS patches 2017-02-01 13:21:26 -08:00
Vicki Pfau a56fd6016d All: Move time.h include to common.h 2017-01-18 15:22:41 -08:00
Jeffrey Pfau d6e5283b9e Feature: Move game database from flatfile to SQLite3 2017-01-10 00:49:56 -08:00
Jeffrey Pfau fa884d071e All: Migrate includes to separate directory 2016-12-30 21:25:07 -08:00
Jeffrey Pfau 6d898542c7 Merge branch 'feature/python-bindings' 2016-12-29 01:23:31 -08:00
Jeffrey Pfau f7ac90d74e Util: Add ifndef guard for UNUSED define 2016-12-26 21:02:57 -08:00
Jeffrey Pfau 2f1cb61d01 All: Add C++ header guards 2016-12-26 21:01:55 -08:00
Jeffrey Pfau 55a9bf3ca7 All: Fix broken #ifdefs 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 606d35ba6c Python: Add VFS bindings 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 227cbea37a All: Remove duplicate functions 2016-12-25 15:22:40 -08:00
Jeffrey Pfau e5c61e0093 Python: Preliminary, incomplete bindings 2016-12-25 15:22:40 -08:00
Jeffrey Pfau c5582501e1 Util: Return -1 if text codec encounters an error 2016-11-01 23:28:08 -07:00
Jeffrey Pfau 98a2e6e324 Util: Actually initialize the size of a table 2016-11-01 23:27:25 -07:00
Jeffrey Pfau dbdf10843e Util: Text codecs now properly handle null bytes 2016-11-01 22:28:26 -07:00
Jeffrey Pfau 57894955a2 Util: Fix TBL control characters 2016-11-01 19:28:14 -07:00
Jeffrey Pfau e4c8b61709 Util: Text codec with TBL loader 2016-11-01 00:07:45 -07:00
Jeffrey Pfau bb7d85698b Util: Add size counting to Table 2016-11-01 00:07:45 -07:00
Jeffrey Pfau 5a355c3bdd Util Test: Add memory mapping tests 2016-10-23 10:37:28 -07:00
Jeffrey Pfau 323d425c89 VFS: Fix resizing memory chunks when not needed 2016-10-23 10:29:01 -07:00
Jeffrey Pfau a1d5c58ce0 Test: Fix failure count 2016-10-22 16:13:45 -07:00
Jeffrey Pfau bdfb1b72be GB Test: MBC detection tests 2016-10-22 15:57:04 -07:00
Jeffrey Pfau 287ab91739 VFS: Allow truncating memory chunk VFiles 2016-10-21 23:18:18 -07:00
Jeffrey Pfau d0f404a6ba Util Test: Add VFile memory truncate tests 2016-10-21 23:08:01 -07:00
Jeffrey Pfau a30599e239 Test: More basic tests 2016-10-21 18:54:44 -07:00
Jeffrey Pfau e54772fead Test: Refactor test framework 2016-10-21 18:28:18 -07:00
Jeffrey Pfau a27cb6c040 Core: Rename GBA color macros to M color macros 2016-10-21 14:05:45 -07:00
Jeffrey Pfau 451225169d Util: Fix build on 1555 color 2016-10-21 13:54:01 -07:00
Jeffrey Pfau 9756f79f04 VFS: Call msync when syncing mapped data 2016-10-21 01:59:48 -07:00
Jeffrey Pfau c877845bf7 Util: Fix PNG identification on files too small to be a PNG 2016-09-25 13:41:07 -07:00
Jeffrey Pfau 37ddf7020b Util: Fix inserting too many items into a hash table 2016-09-19 15:01:58 -07:00
Jeffrey Pfau 5425cff3e2 Core: Add functions for pakcing and unpacking pixels 2016-09-17 04:13:07 -07:00
Jeffrey Pfau e29b30560e All: Disable missing-field-initializers warning 2016-09-17 02:33:12 -07:00
Jeffrey Pfau 2000c8e2df Util: Fix PRIz on Windows 2016-09-15 10:25:23 -07:00
Jeffrey Pfau a4907ba321 Util: Fix warning in zip 2016-09-15 09:33:34 -07:00
Jeffrey Pfau e8b7d180bf Util: Add PRIz macro for libc versions that don't support %z 2016-09-08 19:09:20 -07:00
Jeffrey Pfau f7a9fe8e64 Util: PNG utils should support 16-bit when applicable 2016-09-07 01:06:54 -07:00
Jeffrey Pfau b0157aa871 Qt: Preliminary build cleanup when GBA core is disabled 2016-09-05 11:55:38 -07:00
Jeffrey Pfau 2ddc08e8b4 GBA SIO: Incomplete draft of multiplayer rewrite 2016-09-01 03:53:25 -07:00
Jeffrey Pfau 455be60da5 GUI: Increase scrolling speed 2016-08-30 09:49:27 -07:00
Jeffrey Pfau 9e10c8f1c2 Util: Add missing files 2016-08-28 23:01:39 -07:00
Jeffrey Pfau e9d83bafe3 Util: Patch input should be const 2016-08-28 20:36:52 -07:00
Jeffrey Pfau 93121d9319 VFS: Fix reading multiple files from a 7z archive 2016-08-27 00:55:57 -07:00
Jeffrey Pfau f491196bc4 Util: Add endswith 2016-08-23 09:08:46 -07:00
Jeffrey Pfau 08b0a7c60f VFS: Improve zip file detection 2016-08-23 02:30:25 -07:00
Jeffrey Pfau 59b4d22833 PSP2: Fix some warnings 2016-08-23 02:28:57 -07:00
Jeffrey Pfau 9b4fa75c81 VFS: Fix uninitialized varaible reading from 7z 2016-08-23 01:23:44 -07:00
Jeffrey Pfau 956f63bba3 GUI: Add message box API 2016-08-22 17:30:56 -07:00
Jeffrey Pfau 2e9b88f5be GUI: Const-correctness 2016-08-21 03:17:12 -07:00
Jeffrey Pfau 0367d94aad Util: Add rtrim 2016-08-19 05:06:45 -07:00
Jeffrey Pfau 947ef7edea Util: Add Vector GetConstPointer 2016-08-19 05:06:02 -07:00
Jeffrey Pfau d82f8feef5 PSP2: Allow UTF-8 filenames 2016-08-18 10:06:30 -07:00
Jeffrey Pfau c3b411fb6b Util: Fix wrap condition on RingFIFORead if it's empty 2016-08-18 00:04:07 -07:00
Jeffrey Pfau c191ec88b8 GUI: Add UI control remapping 2016-08-15 22:15:45 -07:00
Jeffrey Pfau ac11542226 GBA Video: Another attempt at patching the threaded renderer race conditions 2016-08-14 19:40:24 -07:00
Jeffrey Pfau 30f124fae4 GBA Video: Fix threaded rendering race conditions 2016-08-09 22:31:09 -07:00
Jeffrey Pfau 067d4c5836 Util: RingFIFO should be able to advance without memcpy 2016-08-07 10:11:06 -07:00
Jeffrey Pfau 67905d281b Merge branch 'master' into feature/thread-proxy-renderer 2016-08-01 18:35:01 -07:00
Jeffrey Pfau 42f5934b25 All: Faster memory read/write 2016-07-30 00:51:45 -07:00
Jeffrey Pfau 8862dc49aa Util: Fix realloc semantics in utf16to8 (again) 2016-07-29 21:27:47 -07:00
Lars Wendler 9b9de7f2db
Don't include internal zip library when USE_MINIZIP is defined.
According to CmakeLists.txt file USE_MINIZIP enables linking against system
minizip library but the code in src/util/vfs/vfs-zip.c doesn't reflect
that.
2016-07-12 15:50:27 +02:00
Jeffrey Pfau 2dc729f17a VFS: VFileFromFD should not open directories 2016-07-09 15:19:31 -07:00
Jeffrey Pfau c82ee873e1 Util: Fix intermittent build failure on OS X 2016-06-26 20:32:06 -07:00
Jeffrey Pfau eb6cedde2e VFS: VFile.sync now updates modified time 2016-06-15 22:46:24 -07:00
Jeffrey Pfau f4dc546da6 Util: Fix realloc semantics in utf16to8 2016-05-29 09:57:10 -07:00
Jeffrey Pfau 273d2db575 GB: Add partial Game Genie support 2016-05-08 23:19:12 -07:00
Jeffrey Pfau 24c0893cf5 All: Put version.h somewhere better 2016-05-04 01:36:25 -07:00
Jeffrey Pfau d59ef1c66a Util: Fix socket bind addresses 2016-04-27 22:17:21 -07:00
Jeffrey Pfau c689e32856 All: Several MSVC build fixes 2016-04-17 18:03:13 -07:00
Jeffrey Pfau b1691c9527 Util: Use closesocket on Windows 2016-03-05 11:33:36 -08:00