Commit Graph

451 Commits

Author SHA1 Message Date
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
Jeffrey Pfau 1f204c8eef All: Fix several file handle leaks 2016-03-03 00:04:15 -08:00
Jeffrey Pfau 8d7cbbe669 Perf: Add server mode, support for 3DS 2016-03-01 22:01:54 -08:00
Jeffrey Pfau be42f298da VFS: Fix reading 7z archives without rewinding first 2016-02-08 22:27:12 -08:00
Jeffrey Pfau 6af9a742bd VFS: Add VDir.deleteFile 2016-02-02 01:34:24 -08:00
Jeffrey Pfau 8e99508717 GUI: Show icons in key remapping 2016-02-02 01:34:24 -08:00
Jeffrey Pfau fbea708ed4 GUI: Fix top button on scrollbars being upside down 2016-01-31 14:35:27 -08:00
Jeffrey Pfau 6ee60dd79b GUI: UI refinements, fixes 2016-01-30 14:02:35 -08:00
Sergi Granell b5c813e829 Vita: Update to latest SDK version 2016-01-23 12:27:42 +01:00
Jeffrey Pfau eaa81cb358 3DS: Fix APT usage (fixes #210) 2016-01-22 21:34:08 -08:00
Jeffrey Pfau 0511d0a69e GUI: Add icons and scrolling enhancements 2016-01-09 00:54:18 -08:00
Jeffrey Pfau 331d92d363 GUI: Input remapping, part 1 2016-01-07 23:58:41 -08:00
Jeffrey Pfau a920eaa7f0 All: Fix some warnings 2016-01-07 23:49:06 -08:00
Jeffrey Pfau d53e479fed VFS: Use / as the path separator on Windows 2016-01-06 21:05:05 -08:00
Extrems 7b090aa0d1 VFS: Fix return value of VFileFILE.seek 2016-01-05 03:01:05 -08:00
Jeffrey Pfau 341ebd0435 VFS: Fix separatePath for the root directory 2016-01-03 11:07:35 -08:00
Jeffrey Pfau d945391da6 3DS: Fix DISABLE_THREADING build 2016-01-03 10:34:25 -08:00
Jeffrey Pfau 6f62852671 VFS: More VFile memory interfaces 2016-01-02 17:07:44 -08:00
Jeffrey Pfau 88bf7b58ad VFS: Set dirname to . if there is no directory specified 2016-01-02 04:46:39 -08:00
Jeffrey Pfau 3a7350c8d2 GBA Context: Use GBADirectorySet in GBAContext 2016-01-01 15:22:51 -08:00
Jeffrey Pfau 91cf3be128 GBA Thread: Redo state directories for future expansion 2015-12-30 21:40:24 -08:00
Jeffrey Pfau cd34e1af24 Util: Fix minor memory leak in no-intro parsing 2015-12-29 16:58:55 -05:00
Jeffrey Pfau 67bc8e73a3 Util: Fix excessive memory allocation when decoding a PNG 2015-12-29 16:58:30 -05:00
Jeffrey Pfau f0f43d4a39 VFS: Use VFiles for zip dirs 2015-12-29 07:24:15 -05:00
Jeffrey Pfau 96bc0be963 VFS: Support using minizip for zip 2015-12-29 04:32:25 -05:00
Jeffrey Pfau 63e1875f6b GBA: Add savestte creation time to a savestate 2015-12-28 04:27:30 -05:00
Jeffrey Pfau 5c007289e4 GBA: Add extra data section to the end of savestates 2015-12-28 03:26:17 -05:00
Jeffrey Pfau f84aadffd2 GBA: Support for VBA-style cheat codes 2015-12-26 22:25:50 -05:00
Jeffrey Pfau ccaec37867 GUI: Use trailing slashes for folders in file selector 2015-12-20 21:58:23 -08:00
Jeffrey Pfau e89837909b GUI: Fix some long-standing warnings 2015-12-20 21:58:00 -08:00
Jeffrey Pfau 13cf63293d Util: Initialize No-Intro DB parsing stack 2015-12-20 19:00:52 -08:00
Jeffrey Pfau 413881fec2 Qt: Load ROM name from No-Intro 2015-12-20 19:00:52 -08:00
Jeffrey Pfau 746af3ff82 Util: No-Intro database parser 2015-12-20 19:00:52 -08:00
Jeffrey Pfau 843413021b Wii: Replace libFAT-specific code with general devop support 2015-12-19 14:09:44 -08:00
Jeffrey Pfau 2495b650a4 Wii: List devices at root 2015-12-18 22:18:52 -08:00
Jeffrey Pfau aefb4b62a1 Util: Add MutexTryLock 2015-11-12 22:50:09 -08:00
Jeffrey Pfau ac9c247695 OpenGL: Parse uniforms 2015-11-08 17:09:53 -08:00
Jeffrey Pfau 096f5ca27c OpenGL: Shader loading 2015-11-01 18:41:24 -08:00
Jeffrey Pfau 42a2a5737b Util: Use VFile for configuration 2015-11-01 16:50:24 -08:00
Jeffrey Pfau 8eb4f3ca4d VFS: Fix VFileReadline and remove _vfdReadline 2015-11-01 16:50:23 -08:00
Jeffrey Pfau 04a81d2ec5 GUI: Properly support Unicode filenames 2015-11-01 09:33:07 -08:00
Jeffrey Pfau 24da1097ba All: Generic big-endian changes 2015-10-19 23:49:53 -07:00
Jeffrey Pfau c189f48c63 Util: RingFIFO build fix 2015-10-15 18:47:48 -07:00
Jeffrey Pfau 50402c8307 Merge branch 'master' into feature/thread-proxy-renderer 2015-10-15 18:41:56 -07:00
Jeffrey Pfau 576ba689f1 GBA: Bitfield-ize GBATimer flags 2015-10-14 23:12:29 -07:00
Jeffrey Pfau 0211106a3d All: Const-correctness for PPC 2015-10-14 22:00:36 -07:00
Jeffrey Pfau 8284e7ded2 GUI: Don't scan subdirectories immediately 2015-10-10 20:50:23 -07:00
Jeffrey Pfau 5578273eb1 GUI: Test archives now, too 2015-09-22 23:01:41 -07:00
Jeffrey Pfau 6cf4179a97 VFS: Add VDir.openDir 2015-09-22 23:01:41 -07:00
Jeffrey Pfau 5b22a628fa VFS: Add VDirOpenArchive 2015-09-22 23:01:40 -07:00
Jeffrey Pfau b4c86ea161 PSP2: Use sceKernelLibcLocaltime_r instead of faking it 2015-09-22 22:59:02 -07:00
Jeffrey Pfau e05e1a12ce GUI: Tweak battery colors 2015-09-21 21:38:18 -07:00
Jeffrey Pfau 4f24b82036 GUI: Use localtime_r instead of localtime 2015-09-21 01:06:28 -07:00
Jeffrey Pfau 1325da2958 PSP2: Update for newer vitasdk 2015-09-21 01:06:28 -07:00
Jeffrey Pfau 8ffcb116f2 GUI: Minor fixes 2015-09-19 19:41:43 -07:00
Jeffrey Pfau c3aededf05 GUI: Header with time and battery level 2015-09-19 17:57:53 -07:00
Jeffrey Pfau c45315b96b GBA Context: Configuration options 2015-09-17 19:53:27 -07:00
Jeffrey Pfau 1ef3c9e5b0 VFS: Fix warnings 2015-09-16 20:24:36 -07:00
Jeffrey Pfau c753328734 Util: Fix Windows build 2015-09-15 22:47:19 -07:00
Jeffrey Pfau bcf6e5879b Util: Refactor localtime_r replacement code into formatting.h 2015-09-15 22:23:32 -07:00
Jeffrey Pfau d85548ac18 Util: Fix PowerPC PNG read/write pixel order 2015-09-15 00:16:06 -07:00
Jeffrey Pfau 19b81a2163 VFS: Fix return values of VFileFILE.read and .write 2015-09-15 00:06:43 -07:00
Jeffrey Pfau 54ea3dbbcf Util: Fix setjmp buffer for PNG failing in PNGWriteHeader 2015-09-14 23:26:20 -07:00
Jeffrey Pfau 532261af2c GBA: Move screenshot functionality from Thread to Serialize 2015-09-14 23:25:53 -07:00
Jeffrey Pfau 03d97baeec GUI, 3DS: Fix some warnings 2015-09-14 23:25:19 -07:00
Jeffrey Pfau f155780eba GUI: Make sort case-insensitive 2015-09-07 17:09:33 -07:00
Jeffrey Pfau 20559ac2ea GUI: More detailed scanning information 2015-09-05 00:51:26 -07:00
Jeffrey Pfau 346503cd41 GUI: Fix non-touch support 2015-09-05 00:50:51 -07:00
Jeffrey Pfau 4cf016d442 GUI: Support for touch/cursor 2015-09-04 22:50:20 -07:00
Jeffrey Pfau c14da05d8d Util: Use anonymousMemoryMap for RingFIFO memory 2015-09-04 01:52:10 -07:00
Jeffrey Pfau e1ffc68582 GBA Video: Better threaded renderer using a new RingFIFO 2015-09-04 01:52:09 -07:00
Jeffrey Pfau 422d34bdb0 3DS: Enable threading interface 2015-09-04 00:56:55 -07:00
Jeffrey Pfau 664a46c5a9 Util: Fix build on ancient versions of libpng 2015-09-03 03:06:27 -07:00
Jeffrey Pfau cb8d60e211 GUI: Make savestate screens show the relevant savestate picture 2015-09-03 01:58:50 -07:00
Jeffrey Pfau 02020369d1 GBA Video: const-correctness 2015-09-03 00:28:16 -07:00
Jeffrey Pfau ed46d63ebd GBA Context: Adjustable solar sensor, map to N3DS c-stick 2015-09-01 23:09:48 -07:00
Jeffrey Pfau 44736f89be GUI: Submenus 2015-09-01 22:09:12 -07:00
Jeffrey Pfau d724d914c8 GUI: Menu backgrounds 2015-09-01 21:51:14 -07:00
Jeffrey Pfau 2a37d38a92 GUI: Fix file select indexing 2015-08-31 20:43:31 -07:00
Jeffrey Pfau 20b0c0d2fb GUI: Fix scanning text 2015-08-30 22:24:59 -07:00
Jeffrey Pfau 416b1a13f4 GUI: Use ATTRIBUTE_FORMAT on GUIFontPrintf 2015-08-30 22:20:46 -07:00
Jeffrey Pfau 178612a471 GBA Context: Add GBAGUIRunner for ports and use it in the Wii version 2015-08-30 16:25:32 -07:00
Jeffrey Pfau 31f40b05ba GUI: Menu abstraction 2015-08-30 13:32:19 -07:00
Jeffrey Pfau 7023103163 GUI: File select usability improvements 2015-08-29 23:51:44 -07:00
Jeffrey Pfau 7e74cba49a GUI: Start moving state out of locals 2015-08-29 23:21:41 -07:00
Jeffrey Pfau dd3b56eb7a GUI: Allow canceling out of file refresh 2015-08-29 22:59:22 -07:00
Jeffrey Pfau 488bc93fcb VFS: One more warning fix 2015-08-29 00:09:16 -07:00
Jeffrey Pfau 15037950f0 GUI: Sort file lists 2015-08-26 21:48:56 -07:00
Jeffrey Pfau d5697971a9 GUI: Use the real page size for page scrolling 2015-08-26 21:45:55 -07:00
Jeffrey Pfau 87a05e3ed1 GUI: Refactor font code to be more central 2015-08-26 21:42:06 -07:00
Jeffrey Pfau 797441c379 GUI: Fix some types 2015-08-26 21:42:06 -07:00