Commit Graph

2717 Commits

Author SHA1 Message Date
Jeffrey Pfau a90eeea924 Test: Rearrange fuzz-main for AFL additions 2015-10-05 19:22:44 -07:00
Jeffrey Pfau d490f9a013 GBA Video: Remove lastHblank, as it is implied 2015-10-05 19:21:21 -07:00
Jeffrey Pfau 3a15553c09 All: Reset next event to cycles instead of zero to interrupt 2015-10-05 19:20:17 -07:00
Jeffrey Pfau 268e9138c6 GBA Video: Deserialization fixes on big endian 2015-10-04 21:21:42 -07:00
Jeffrey Pfau 2ea44603a8 GBA Memory: Fix bad BIOS Load16 on big endian 2015-10-04 21:21:42 -07:00
Jeffrey Pfau ed0802b46f GBA: More savestate sanitization 2015-10-03 21:33:31 -07:00
Jeffrey Pfau 62304e3aa2 PSP2: Only wait on vblank if we hit the frame target 2015-10-03 21:29:22 -07:00
Jeffrey Pfau 65c290131a GBA: Fix autodetect problems with some bad dumps of Super Mario Advance 2 2015-10-03 21:29:22 -07:00
Jeffrey Pfau 9034de4817 Test: Fix build 2015-10-01 22:16:35 -07:00
Jeffrey Pfau d2804505cb GBA: Add DMA timer check to savestate loading 2015-10-01 22:16:22 -07:00
Jeffrey Pfau bbb5c5ff94 GBA Video: Fix another blending regression 2015-09-26 01:03:38 -07:00
Jeffrey Pfau e9c97bed00 GBA Video: Fix OBJ semitransparency interaction properly... 2015-09-24 20:24:22 -07:00
Jeffrey Pfau d0c2d4e46b Wii: Tiny refactor 2015-09-24 01:42:21 -07:00
Jeffrey Pfau 2083aa921b Qt: Exclude keypad events from being modifiers 2015-09-23 21:21:37 -07:00
Jeffrey Pfau 5ef980116a GBA Video: Fix OBJ semitransparency improperly interacting with other blending ops 2015-09-23 20:36:57 -07:00
Jeffrey Pfau 4d1b7b4591 Wii: Don't wait for vsync if we missed the target 2015-09-23 20:28:53 -07:00
Jeffrey Pfau b3aefd1ee9 GBA Context: Fix failed loads 2015-09-22 23:01:41 -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 bb2b82d15e PSP2: Let PSP2 find its packages if in portlibs 2015-09-22 22:59:02 -07:00
Jeffrey Pfau d38a65485a All: Isolate function defines 2015-09-22 22:58:54 -07:00
Jeffrey Pfau c335fece10 PSP2: Use some alternate paths for the database files 2015-09-22 22:58:54 -07:00
Jeffrey Pfau 273a21eb25 3DS: Reload screen mode and improve screen cleanup (fixes #127) 2015-09-21 22:54:54 -07:00
Jeffrey Pfau 71aa72c4d3 3DS: Revamp multi-screen GUIs (fixes #124) 2015-09-21 22:27:18 -07:00
Jeffrey Pfau e05e1a12ce GUI: Tweak battery colors 2015-09-21 21:38:18 -07:00
Jeffrey Pfau f128f844a6 GBA: Revamp frameskip 2015-09-21 20:32:15 -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 320033e724 GBA Video: Mode 2 optimizations 2015-09-20 22:05:05 -07:00
Jeffrey Pfau 7f2ab299f5 GBA Video: Minor sprite optimizations 2015-09-20 21:25:51 -07:00
Jeffrey Pfau 3b8639aa05 GBA Video: Fix OBJWIN mosaic sprites 2015-09-20 21:10:02 -07:00
Jeffrey Pfau 2cbf40cc13 PSP2: Battery status 2015-09-20 20:28:55 -07:00
Juan Ruvalcaba e4873318dd -Wii Classic Controller left stick support
-Reduce overscan for 4:3 TVs
2015-09-20 16:35:02 -07:00
Jeffrey Pfau 9a538f872a 3DS, PSP2, Wii: Clean up CMake toolchain/list separation 2015-09-20 00:48:03 -07:00
Jeffrey Pfau 465dc2b400 3DS: Allow for multiple screens, increasing async ability 2015-09-19 19:42:34 -07:00
Jeffrey Pfau 8ffcb116f2 GUI: Minor fixes 2015-09-19 19:41:43 -07:00
Jeffrey Pfau 336993497d GBA Video: Fix another blending regression 2015-09-19 18:19:33 -07:00
Jeffrey Pfau c3aededf05 GUI: Header with time and battery level 2015-09-19 17:57:53 -07:00
Jeffrey Pfau 91fb4407b9 3DS: GUI fixes when game on top screen 2015-09-18 00:21:41 -07:00
Jeffrey Pfau 0090928465 3DS: Always draw GUI on bottom screen 2015-09-17 23:25:35 -07:00
Jeffrey Pfau fafcfebf2e GBA Context: Add fps counter and frameskip 2015-09-17 19:54:07 -07:00
Jeffrey Pfau c45315b96b GBA Context: Configuration options 2015-09-17 19:53:27 -07:00
Jeffrey Pfau 94ffa0d2d7 All: Minor cleanup 2015-09-17 19:50:40 -07:00
Jeffrey Pfau 04b6cf5e4c GBA Config: Add more APIs 2015-09-17 19:49:45 -07:00
Jeffrey Pfau a7cb0ec85c GBA Video: Restore a fixed version of a removed optimization 2015-09-17 19:47:29 -07:00
Jeffrey Pfau bafcee7b18 GBA Video: Fix regression when fixing sprite blending 2015-09-17 19:42:09 -07:00
Jeffrey Pfau f6e0239cd3 GBA Video: Fix objwin and blending interaction on sprites 2015-09-16 21:03:42 -07:00
Jeffrey Pfau ea1f87d745 GBA Video: Fix edge case with sprite blend modes and semitransparency 2015-09-16 20:27:42 -07:00
Jeffrey Pfau b5a34c9fe7 GBA BIOS: Implement RegisterRamReset for SIO registers 2015-09-16 20:25:39 -07:00
Jeffrey Pfau 1ef3c9e5b0 VFS: Fix warnings 2015-09-16 20:24:36 -07:00
endrift 7d5dff4fc9 Merge pull request #120 from yuriks/3ds-gpu-rewrite
3DS GPU rewrite
2015-09-16 20:16:37 -07:00
Yuri Kunde Schlesner a623bcadc3 3DS: Allocate memory for textures in VRAM 2015-09-16 22:44:52 -03:00
Yuri Kunde Schlesner 58f97980e7 3DS: Don't wait for VBlank when running behind refresh rate 2015-09-16 22:44:51 -03:00
Yuri Kunde Schlesner 6c780a39e1 3DS: Rewrite GUI backend to use GPU directly instead of sf2dlib
This removes a dependency, reduces binary size a bit and fixes filtering
when scaling the game viewport.
2015-09-16 22:44:51 -03:00
Jeffrey Pfau 4d24b16735 Qt: Dropping multiplayer windows works more cleanly now 2015-09-16 00:34:24 -07:00
Jeffrey Pfau 822df237a3 Qt: Disable rewinding when in multiplayer 2015-09-16 00:20:38 -07:00
Jeffrey Pfau aae0efbd09 PSP2: Savestate viewing 2015-09-15 23:00:02 -07:00
Jeffrey Pfau c753328734 Util: Fix Windows build 2015-09-15 22:47:19 -07:00
Jeffrey Pfau accac1525f 3DS: Add CpuSpeed flag for N3DS CIAs 2015-09-15 22:35:41 -07:00
Jeffrey Pfau bcf6e5879b Util: Refactor localtime_r replacement code into formatting.h 2015-09-15 22:23:32 -07:00
Yuri Kunde Schlesner c939d363a3 3DS: Remove now unnecessary asm -> __asm__ defines
ctrulib has already fixed their header file.
2015-09-15 23:16:36 -03:00
Jeffrey Pfau 590d23ea8a GUI: Add screenshot feature 2015-09-15 00:22:08 -07:00
Jeffrey Pfau ddaaf4ed68 GBA: Make GBA BIOS check endian-agnostic 2015-09-15 00:21:48 -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 11d9b492cd Qt: Disable menu items in multiplayer that don't make sense to have enabled 2015-09-14 20:24:02 -07:00
Jeffrey Pfau 5b7e39e45f Qt: Prevent savestate window from opening while in multiplayer 2015-09-14 19:51:59 -07:00
Jeffrey Pfau 98529063ba GBA Audio: Fix audio channels being silenced at the wrong time 2015-09-14 19:25:58 -07:00
Jeffrey Pfau 57bdbcd91e GBA Audio: Fix 8-bit writes to audio channel 3 and 4 registers 2015-09-14 19:24:47 -07:00
Jeffrey Pfau d07b4a4a7b Libretro: Stop using videoFrame callbacks 2015-09-12 00:22:07 -07:00
Jeffrey Pfau 83e23e9cce GUI: Only wait up to 30 frames when unpausing 2015-09-11 21:22:57 -07:00
Jeffrey Pfau 4866164613 Libretro: Fix build when features are enabled on the standalone 2015-09-11 20:31:33 -07:00
Jeffrey Pfau 31daa4cfc5 GUI: Remove obsolete calls to guiFinish 2015-09-11 19:58:13 -07:00
Jeffrey Pfau f0c3f6e42a Qt: Fix shortcuts being updated improperly when changing input type (fixes #102) 2015-09-09 02:00:52 -07:00
Jeffrey Pfau 31d409c8b1 Qt: Add 'Apply' button to settings window (fixes #103) 2015-09-09 01:44:31 -07:00
Jeffrey Pfau 04272ff807 Libretro: Fix build 2015-09-07 22:25:20 -07:00
Jeffrey Pfau 11dc9f5161 Libretro: Use anonymous memory mappers for large blocks of memor 2015-09-07 22:21:25 -07:00
Jeffrey Pfau 31686c374e Libretro: Fix a memory leak with the render buffer 2015-09-07 22:16:50 -07:00
Jeffrey Pfau afbd795c60 GBA Context: Save config when closing down a GUI context 2015-09-07 22:09:05 -07:00
Jeffrey Pfau 8452e880c2 GBA Context: Move logging and option parsing into GBAContext 2015-09-07 22:09:05 -07:00
Jeffrey Pfau f25486eca3 3DS, Wii: Add config directories 2015-09-07 21:45:19 -07:00
Jeffrey Pfau 90ea4cbe33 GBA: Fix BIOS check on big endian 2015-09-07 19:24:30 -07:00
Jeffrey Pfau f155780eba GUI: Make sort case-insensitive 2015-09-07 17:09:33 -07:00
Jeffrey Pfau 7f904876f5 3DS: CIA build 2015-09-05 18:18:36 -07:00
Jeffrey Pfau a1232b898f PSP2: Strip binaries 2015-09-05 13:11:31 -07:00
Jeffrey Pfau 3849901dab PSP2: Drop psp2sdk 2015-09-05 13:05:43 -07:00
Jeffrey Pfau 14ee1589f0 3DS: Tweak alignment, probably does nothing 2015-09-05 02:54:21 -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 db994ef8ab PSP2: More CMake fixes 2015-09-04 23:07:52 -07:00
Jeffrey Pfau 0af12911a1 3DS, PSP2: CMake fixes 2015-09-04 23:04:46 -07:00
Jeffrey Pfau 4cf016d442 GUI: Support for touch/cursor 2015-09-04 22:50:20 -07:00
Jeffrey Pfau 2dcefe8fa5 All: CMake cleanup part 1 (ports) 2015-09-04 21:03:25 -07:00
Jeffrey Pfau ddd81b27b4 3DS: Threading now works 2015-09-04 01:49:26 -07:00
Jeffrey Pfau 422d34bdb0 3DS: Enable threading interface 2015-09-04 00:56:55 -07:00
Jeffrey Pfau 914a65ffc9 3DS: Mostly untested threading implementation 2015-09-04 00:52:51 -07:00
Jeffrey Pfau 234f7425ef PSP2, 3DS: Options for incrementing the screen mode 2015-09-03 23:47:56 -07:00
Jeffrey Pfau 5d3b6d5fd8 3DS, Wii: Tweak audio rates a bit 2015-09-03 23:47:56 -07:00
Jeffrey Pfau 3ab6a5db6b 3DS: Move texture to VRAM, fixing the lockup (requires newer sf2dlib) 2015-09-03 23:47:56 -07:00
Jeffrey Pfau 664a46c5a9 Util: Fix build on ancient versions of libpng 2015-09-03 03:06:27 -07:00
Jeffrey Pfau 4db6a13ea4 3DS: Just use -Ofast 2015-09-03 02:25:42 -07:00
Jeffrey Pfau 2cf6c73d7d GUI: Cache savestate icons 2015-09-03 02:25:16 -07:00
Jeffrey Pfau cb8d60e211 GUI: Make savestate screens show the relevant savestate picture 2015-09-03 01:58:50 -07:00
Jeffrey Pfau 9b14cc607d 3DS, PSP2, Wii: Build binaries with FEATURE_DEFINES 2015-09-03 01:57:50 -07:00
Jeffrey Pfau 3ef3415b7d GBA Video: Always output the same bit depth from GBAVideoRenderer.getPixels 2015-09-03 00:31:34 -07:00
Jeffrey Pfau 02020369d1 GBA Video: const-correctness 2015-09-03 00:28:16 -07:00
Jeffrey Pfau 95f6a8f8d6 GBA Context: Callbacks when pausing and unpausing, for audio 2015-09-02 23:15:36 -07:00
Jeffrey Pfau 1df666e91d 3DS: Decrease audio latency 2015-09-02 22:59:02 -07:00
Jeffrey Pfau 1851e0da46 3DS: Turn on -ffast-math 2015-09-02 22:50:48 -07:00
Jeffrey Pfau b091751512 3DS: Drastically improve sound 2015-09-02 22:50:35 -07:00
Jeffrey Pfau 633b29128f 3DS: Rearrange heaps a bit 2015-09-02 22:39:21 -07:00
Jeffrey Pfau 8abb52f4df GBA: Clean up savestate code a bit 2015-09-02 22:36:24 -07:00
Jeffrey Pfau d17c57f674 Merge branch 'optimization/idle-loops' 2015-09-01 23:13:31 -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 5e759afada GBA Context: Menu for savestate numbers 2015-09-01 22:09:40 -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 d16c5e3a74 Wii: Fix audio crackling 2015-09-01 20:48:57 -07:00
Jeffrey Pfau caef2fe9a5 GBA: New idle loop detection metrics + Advance Wars 2 loops 2015-09-01 20:48:35 -07:00
Jeffrey Pfau 52048db173 3DS: Support LTO 2015-09-01 00:47:34 -07:00
Jeffrey Pfau 0abe9f524d PSP2: Fix toolchains and allow building LTO 2015-09-01 00:31:57 -07:00
Jeffrey Pfau 6a3e1f4995 Wii: Enable building with LTO 2015-08-31 21:55:04 -07:00
Jeffrey Pfau 2a37d38a92 GUI: Fix file select indexing 2015-08-31 20:43:31 -07:00
Jeffrey Pfau 33e3fb9a45 3DS: Use malloc instead of linearAlloc for most things 2015-08-31 20:05:31 -07:00
Jeffrey Pfau 81a52403a3 Merge branch 'feature/externals' 2015-08-31 01:21:41 -07:00
Jeffrey Pfau fdbb20fd59 3DS: Support using non-blip for audio 2015-08-31 01:07:10 -07:00
Jeffrey Pfau 312f203912 3DS: Sound improvements 2015-08-31 00:39:05 -07:00
Jeffrey Pfau c0d7cfbf0b GBA Audio: Allow GBAAVStream to have no video callback 2015-08-30 22:54:53 -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 e6429cc8a2 3DS: Fix crash if CSND is not available 2015-08-30 22:10:12 -07:00
Jeffrey Pfau ef9bb6ac5c PSP2: Add left pad support for the GUI 2015-08-30 19:21:48 -07:00
Jeffrey Pfau a8192f47e2 GBA: Better memory handling with PNG savestates 2015-08-30 19:14:59 -07:00
Jeffrey Pfau 34fd6769e6 PSP2: Fix seeking with mapping and unmapping files 2015-08-30 18:42:16 -07:00
Jeffrey Pfau 74e3826b13 GBA: Move gui-runner to a new folder 2015-08-30 18:31:53 -07:00
Jeffrey Pfau 376ccd4a30 PSP2, 3DS: Writeback when unmapping memory 2015-08-30 18:29:20 -07:00
Jeffrey Pfau 41452ec4e6 GUI: Load/save states 2015-08-30 18:23:19 -07:00
Jeffrey Pfau 933a6c4f36 GBA: Attempting to save a screenshot-style savestate should be allowed without libpng 2015-08-30 18:22:36 -07:00
Jeffrey Pfau 7c906e8558 3DS: Remove unused struct 2015-08-30 17:58:56 -07:00
Jeffrey Pfau 58ff10457d PSP2: Use runner 2015-08-30 17:32:05 -07:00
Jeffrey Pfau cc1fb12d2f 3DS: Use runner 2015-08-30 17:11:05 -07:00
Jeffrey Pfau 3157a3d949 GBA Context: Add pause menu 2015-08-30 16:51:40 -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 e9c64a87bc GBA: Deinit savegame when unloading a ROM 2015-08-30 16:22:47 -07:00
Jeffrey Pfau 31f40b05ba GUI: Menu abstraction 2015-08-30 13:32:19 -07:00