Commit Graph

597 Commits

Author SHA1 Message Date
Vicki Pfau fe2f67e2aa DS Video: Fix 128 pixel-wide bitmap OBJs 2017-04-26 10:01:59 -07:00
Vicki Pfau 6d3764d800 DS Timers: Fix ARM9 timers running too fast 2017-04-25 16:14:08 -07:00
Vicki Pfau 04541e3b1d DS Slot-1: Emulate KEY delay, improve timing 2017-04-25 00:37:06 -07:00
Vicki Pfau a5f664ca72 DS Video: Layer toggling 2017-04-22 02:45:26 -07:00
Vicki Pfau 154dd2e8e7 Merge branch 'master' into medusa 2017-04-22 02:14:56 -07:00
Vicki Pfau 2d930cbc61 All: Add option to lock video to integer scaling 2017-04-21 18:13:16 -07:00
Vicki Pfau 3a8c5c4bf1 GB: Video/audio channel enabling/disabling 2017-04-21 17:30:30 -07:00
Vicki Pfau b65992a1b8 PSP2: Update for new toolchain 2017-04-17 01:12:23 -07:00
Vicki Pfau faadb5d6a6 FFmpeg: Allow framerate to be adjusted 2017-04-16 00:53:35 -07:00
Vicki Pfau aafac329fb DS Audio: Fix audio sampling slightly too quickly 2017-04-16 00:52:26 -07:00
Vicki Pfau c2f43bc503 DS Slot-1: Fix SPI addressing a bit 2017-04-15 12:03:57 -07:00
Vicki Pfau f85a18737e Merge branch 'master' into medusa 2017-04-13 00:37:17 -07:00
Vicki Pfau 959f66a1a0 Core: Add option to allow preloading the entire ROM before running 2017-04-13 00:28:28 -07:00
Vicki Pfau 516143b170 DS GX: Allow viewport to change in the middle of a frame 2017-04-12 21:07:39 -07:00
Vicki Pfau 58c9bcf67a Core: Ability to enumerate and modify video and audio channels 2017-04-12 13:28:21 -07:00
Vicki Pfau 5bb811a16e DS Slot-1: Improve savedata setup via IPC sniffing 2017-04-12 00:55:31 -07:00
Vicki Pfau 9a35691a03 DS: Attempt to detect if a game is homebrew 2017-04-12 00:54:32 -07:00
Vicki Pfau bf716b947a Util: Move StringList to string.c 2017-04-11 22:18:33 -07:00
Vicki Pfau d4134c8227 ARM9: Implement STRD/LDRD 2017-04-11 18:12:08 -07:00
Vicki Pfau 5efacfa097 ARM9: Add SMLA<x><y> to the emitter table 2017-04-11 17:35:59 -07:00
Vicki Pfau b64f46f955 ARM: Add comments marking instruction hex 2017-04-11 17:24:40 -07:00
Gericom 5108ebefa2 ARM9: Implemented SMLAW<y> and SMULW<y> (#609) 2017-04-11 13:39:43 -07:00
Vicki Pfau e9c1a53cfb DS Audio: Add PSG audio 2017-04-10 20:44:14 -07:00
Vicki Pfau 4ab96b42a0 DS Memory: Ensure DS9 I/O is 8-byte aligned 2017-04-10 20:20:53 -07:00
Vicki Pfau 3f71924c34 Merge branch 'master' into medusa 2017-04-09 23:40:17 -07:00
Vicki Pfau 473ae29d82 GBA: Add GBA luminance peripheral 2017-04-09 19:47:19 -07:00
Vicki Pfau e063e05662 Core: Unify peripheral attachment 2017-04-09 19:46:52 -07:00
Vicki Pfau 484618ca4c Core: Restore sleep callback 2017-04-09 19:13:13 -07:00
Vicki Pfau e5e788f0c8 DS GX: Blending and shadowing fixes 2017-04-07 08:07:31 -07:00
Vicki Pfau 372b4387c4 DS GX: Implement clear color 2017-04-05 23:07:31 -07:00
Vicki Pfau 4b7390cc35 GBA Hardware: Count bytes for ALARM1 properly 2017-04-04 18:10:50 -07:00
Vicki Pfau 9567a8632f Merge branch 'master' into medusa 2017-04-04 02:13:31 -07:00
Vicki Pfau ba65740b15 GB: Allow setting DMG palette 2017-04-03 14:32:21 -07:00
Vicki Pfau f73fd7f3da GB: Fix flickering when screen is strobed quickly 2017-04-03 14:31:50 -07:00
Vicki Pfau 3d22afe0aa DS Video: Fix OBJ sorting and bounds 2017-03-27 17:14:50 -07:00
Vicki Pfau a5bcfc7c80 Merge branch 'feature/input-revamp' into medusa 2017-03-26 23:50:02 -07:00
Vicki Pfau fb9df7270d GB: Add input information 2017-03-26 23:39:03 -07:00
Vicki Pfau c9fa9cd78d Core: Have per-core input information 2017-03-26 12:01:26 -07:00
Vicki Pfau 8f58343e2b DS GX: Move rendering until first scanline is requested 2017-03-23 21:23:47 -07:00
Vicki Pfau 1de5d4e330 Util: Add CircleBufferWrite 2017-03-21 22:30:30 -07:00
Vicki Pfau ab663a24a8 DS GX: Remove per-scanline divides 2017-03-21 21:58:14 -07:00
Vicki Pfau 8792ea1354 DS GX: Reduce pointer chasing 2017-03-21 21:51:57 -07:00
Vicki Pfau 3dd18ecc2f DS GX: Switch from scanline-based to all-at-once 2017-03-21 20:54:42 -07:00
Vicki Pfau 2b6ed2661e DS GX: Pay down tech debt around coordinates 2017-03-21 16:25:32 -07:00
Vicki Pfau 2a29a4dd58 DS GX: First pass at shadow polygons 2017-03-21 15:57:42 -07:00
Vicki Pfau d5445799a6 DS GX: Add polygon IDs to the framebuffer 2017-03-21 15:15:06 -07:00
Vicki Pfau 35e2b73301 ARM9: Add mode switching via LDR 2017-03-21 11:24:33 -07:00
Vicki Pfau 0a4b47cccf Merge branch 'master' into medusa 2017-03-20 17:37:39 -07:00
Vicki Pfau 40f1d66685 DS Video: Add hblank DMAs 2017-03-20 16:23:24 -07:00
Vicki Pfau a309e38e33 GBA Hardware: Prepare for adding alarms 2017-03-20 00:34:26 -07:00
Vicki Pfau 25a8b125ed GBA Video: Allow windows that end at 256 2017-03-19 14:30:40 -07:00
Vicki Pfau 0cf9bf75e2 DS GX: Increase max vertices on ngons to 10 2017-03-19 13:34:59 -07:00
Vicki Pfau a278899314 GBA Hardware: Begin fixing RTC implementation 2017-03-19 09:23:54 -07:00
Vicki Pfau 53778e8d92 DS Video: Add vblank DMAs 2017-03-19 09:23:23 -07:00
Vicki Pfau ce40b8a038 DS GX: Fix alpha blending 2017-03-18 23:13:43 -07:00
Vicki Pfau c9f4c9c898 DS GX: Initial lighting implementation 2017-03-17 18:25:49 -07:00
Vicki Pfau 1743dd24b8 DS GX: Start setting up lighting parameters 2017-03-17 16:44:35 -07:00
waddlesplash 244779ed19 Add 'extern "C"' guards to version.h. 2017-03-17 08:44:34 -07:00
waddlesplash 15b4df3b2b Fix the build on MSVC. 2017-03-16 13:26:21 -07:00
Vicki Pfau 40e9dfcf5c Qt: Improve library usage 2017-03-16 11:47:52 -07:00
Vicki Pfau 10ed2ed418 DS GX: Step-based interpolation 2017-03-15 23:22:35 -07:00
Vicki Pfau 2548536153 DS GX: Redo clipping and viewport calculation 2017-03-14 08:05:28 -07:00
Vicki Pfau 055f705c91 GBA Video: First pass at adding bitmap sprites 2017-03-14 08:05:28 -07:00
Vicki Pfau 62b5ca0aa8 GBA Video: Fix Window on tall displays 2017-03-13 12:07:40 -07:00
Vicki Pfau 507a1c78e9 DS GX: Add culling 2017-03-13 11:54:22 -07:00
Vicki Pfau 1fc301103b DS GX: First pass at clipping 2017-03-12 23:08:30 -04:00
Vicki Pfau 2222010107 DS: Partially implement RTC 2017-03-09 23:32:32 -05:00
Vicki Pfau 197f73cf85 GBA Video: Allow alpha blending with per-pixel colors 2017-03-09 23:32:31 -05:00
Vicki Pfau fd2869603a DS Audio: First pass at ADPCM 2017-03-08 12:01:14 -08:00
Vicki Pfau 498aa541fc DS Audio: Initial implementation, only PCM 2017-03-08 00:12:18 -08:00
Vicki Pfau e268ecea8a DS: Minor cleanup 2017-03-07 17:23:06 -08:00
Vicki Pfau c521297093 DS Wi-Fi: Begin stubbing 2017-03-06 12:59:34 -08:00
Vicki Pfau e1e627e496 Merge branch 'master' into medusa 2017-03-05 18:56:59 -08:00
Vicki Pfau ad7cb650dc Core: Add logging filters 2017-03-05 17:25:35 -08:00
Vicki Pfau 3c0c8a8f54 Core: Add enumeration over config items 2017-03-05 17:23:32 -08: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 000f232c58 Core: Begin log revamp 2017-03-05 15:58:00 -08:00
Vicki Pfau 5fd2f0c43a DS Software: Extend master bright to VRAM mode 2017-03-04 22:28:03 -08:00
Vicki Pfau faf99ac304 DS Video: Allow capture of 2D engine 2017-03-04 21:52:25 -08:00
Vicki Pfau 4bde13effb DS GX: Improve alpha slightly 2017-03-04 21:50:58 -08:00
Vicki Pfau 1ed7db5c9c DS GX: Avoid sorting spans 2017-03-04 15:07:14 -08:00
Vicki Pfau 2da8c63ec2 DS Core: Add video recording 2017-03-04 12:54:39 -08:00
Vicki Pfau 97f915e617 Core: Support dragging 2017-03-04 11:16:06 -08:00
Vicki Pfau 0ff5f43eb0 DS GX: Implement GX DMAs 2017-03-04 10:59:44 -08:00
Vicki Pfau 6103d49697 DS Video: Start implementing capture 2017-03-04 10:59:15 -08:00
Vicki Pfau 61ef3501c1 DS Video: Minor extended background fixes 2017-03-03 19:08:27 -08:00
Vicki Pfau 9b5bda237a DS GX: Add color modulation 2017-03-03 18:37:48 -08:00
Vicki Pfau 30cac2e24b DS GX: Add z-depth sorting 2017-03-03 04:00:47 -08:00
Vicki Pfau 00dd9090e6 DS GX: Partially fix depth, but disable perspective correction for now 2017-03-02 13:13:56 -08:00
Vicki Pfau 908b0a425e Core: Have per-core input information 2017-03-02 01:07:09 -08:00
Vicki Pfau 80ff9596b9 DS GX: Fix texture clipping issues 2017-03-01 23:13:00 -08:00
Vicki Pfau abf57aa602 DS GX: Fake re-rendering scenes 2017-03-01 20:12:00 -08:00
Vicki Pfau 4320669d21 DS GX: First pass at textures 2017-03-01 17:55:25 -08:00
Vicki Pfau 2609c362db DS GX: Make colors unsigned 2017-03-01 11:01:50 -08:00
Vicki Pfau 3fcdbd0d89 DS GX: Start implementing FIFO full 2017-02-28 23:21:09 -08:00
Vicki Pfau eabcb59514 DS GX: Fix degenerate spans and color perspective 2017-02-28 18:50:01 -08:00
Vicki Pfau 0454a30b2e DS GX: Do not allocate memory every scanline 2017-02-28 17:21:59 -08:00
Vicki Pfau c0c7754ed8 DS GX: Calculate needed spans 2017-02-28 16:10:55 -08:00
Vicki Pfau 9ad56b1b79 DS GX: Update matrix transforms 2017-02-28 13:05:25 -08:00
Vicki Pfau c6ff504e66 DS GX: Start filling in software renderer 2017-02-28 11:06:48 -08:00
Vicki Pfau 778eb8bc3b DS GX: Process vertex list 2017-02-27 23:49:56 -08:00
Vicki Pfau 1bc3170755 DS GX: Add additional matrix operations 2017-02-27 19:02:24 -08:00
Vicki Pfau 64034e387f DS GX: Fix 6-bit PV stack pointer 2017-02-27 18:20:49 -08:00
Vicki Pfau 2ab7289a05 DS GX: Start work on multi-parameter FIFO entries 2017-02-27 18:16:26 -08:00
Vicki Pfau 338d29f5ad DS GX: Start implementing matrix operations 2017-02-27 18:00:43 -08:00
Vicki Pfau e8bfc7bcca DS GX: Stub out GX renderer 2017-02-27 16:55:14 -08:00
Vicki Pfau 0cb9c41a4a DS: Initial touch support 2017-02-27 11:14:36 -08:00
Vicki Pfau 3f27b09ec1 ARM9: Implement SMUL<x><y> 2017-02-27 00:41:47 -08:00
Vicki Pfau 4778dc41c8 DS GX: Improved PIPE and FIFO behavior 2017-02-26 23:57:30 -08:00
Vicki Pfau 756474ac56 DS Video: Implement master brightness 2017-02-26 20:16:28 -08:00
Vicki Pfau e4795c5d86 DS Video: OBJ extended palettes 2017-02-26 16:43:03 -08:00
Vicki Pfau cf5d6709fe DS Slot-1: Implement Slot-1 DMAs 2017-02-26 14:07:08 -08:00
Vicki Pfau 9c40ebb301 DS Video: Support sprites on the bottom of the screen 2017-02-26 13:31:19 -08:00
Vicki Pfau 164712fdd4 DS GX: Start implementing FIFO 2017-02-26 13:04:18 -08:00
Vicki Pfau d157fd6037 DS Slot-1: Cart timing and IRQs 2017-02-26 12:06:52 -08:00
Vicki Pfau a7f1567286 DS GX: Stub out GX 2017-02-25 15:25:50 -08:00
Vicki Pfau a9ca1221f2 DS Video: Add extended BG palettes 2017-02-24 21:08:57 -08:00
Vicki Pfau 9639d7ad49 DS Slot-1: Fix FLash autodetection and initial file contents 2017-02-24 11:14:55 -08:00
Vicki Pfau 5c3fc0ac0d DS SPI: Implement firmware access 2017-02-23 16:36:59 -08:00
Vicki Pfau b77716738a DS: Load firmware 2017-02-23 11:19:10 -08:00
Vicki Pfau 17a2e2a214 ARM9: Implement SMLA<x><y> 2017-02-23 03:24:57 -08:00
Vicki Pfau b1393f1294 ARM9: Start implementing unconditional instructions 2017-02-23 02:13:10 -08:00
Vicki Pfau e5ae0209a6 DS Video: Implement extended character base 2017-02-23 00:09:02 -08:00
Vicki Pfau a60f3592d1 DS Slot-1: A little work on savegames 2017-02-22 22:34:06 -08:00
Vicki Pfau a557fb6ca6 DS Slot-1: Start implementing SPI 2017-02-22 21:08:36 -08:00
Vicki Pfau 5eba4f2b86 DS Video: Start implementing ARM7 VRAM 2017-02-22 21:02:24 -08:00
Vicki Pfau bdf8f73ba5 DS Slot-1: Implement chip ID 2017-02-22 21:01:39 -08:00
Vicki Pfau fc74ad9ceb DS Memory: Redzone rollover for WRAM, fixing some ARM7 variations 2017-02-22 18:58:40 -08:00
Vicki Pfau 198efff577 DS SPI: Add TSC stub 2017-02-22 16:43:44 -08:00
Vicki Pfau 2636d3a767 DS Video: Display swapping 2017-02-22 10:57:48 -08:00
Vicki Pfau 9ecaaa5d4a DS Video: Draw full width 2017-02-22 00:23:18 -08:00
Vicki Pfau 2037105dd2 DS Video: Fix up sprites a bit 2017-02-21 22:07:23 -08:00
Vicki Pfau 488decf83a DS Video: Begin hooking up OAM 2017-02-21 19:04:44 -08:00
Vicki Pfau e0518fdf30 DS Video: Start hooking up GBA video 2017-02-21 18:51:54 -08:00
Vicki Pfau 5ad7092567 DS Video: Start hooking up software renderer 2017-02-21 16:32:30 -08:00
Vicki Pfau 9f31a1cc2c GBA Video: Retrofit VRAM blocks 2017-02-21 11:43:01 -08:00
Vicki Pfau 7389176033 DS Slot-1: Initial Slot-1 implementation 2017-02-20 23:55:59 -08:00
Vicki Pfau 2c3a1c6f71 DS Memory: Add WRAM 2017-02-20 17:51:33 -08:00
Vicki Pfau dfdc2b3edd DS IPC: Add logging 2017-02-20 16:24:13 -08:00
Vicki Pfau a4f3c99faf DS I/O: Initialize POSTFLG since we replace the boot process 2017-02-20 16:23:49 -08:00
Vicki Pfau b4fa4fe77e DS: Better BIOS config 2017-02-20 14:27:15 -08:00
Vicki Pfau 0de1300b4d DS SPI: Add missing files 2017-02-20 13:44:19 -08:00
Vicki Pfau f6065d3ab4 DS SPI: Stub out SPI 2017-02-20 13:28:41 -08:00
Vicki Pfau 107ffdb2cb DS: Implement hardware SQRT 2017-02-19 11:33:07 -08:00
Vicki Pfau ba3b068df4 Core: Savestates now contain any RTC override data 2017-02-17 18:19:17 -08:00
Vicki Pfau 28702bdd23 DS Video: Add missing file 2017-02-17 17:49:29 -08:00
Vicki Pfau c483a402e9 DS I/O: Stub out bad IRQ register and cart bus 2017-02-17 12:50:01 -08:00
Vicki Pfau fdae17020d DS: Implement hardware DIV 2017-02-17 12:18:22 -08:00
Vicki Pfau f78f45b60f DS I/O: Key input 2017-02-16 17:09:27 -08:00
Vicki Pfau 0b81939104 DS Video: Begin stubbing out rendering 2017-02-16 11:37:06 -08:00
Vicki Pfau 9b86abec09 DS Video: VRAM configuration 2017-02-16 00:46:01 -08:00
Vicki Pfau 3ac0b20ff8 Core: Cores can now have multiple sets of callbacks 2017-02-08 11:34:27 -08:00
Vicki Pfau f026c90089 Util: Add Vector copy 2017-02-07 13:52:05 -08:00
Vicki Pfau b54a4ba555 Util: Fix highest-fd socket not being returned by SocketAccept 2017-02-07 13:51:26 -08:00
Vicki Pfau f302df9178 All: Add option for whether rewinding restores save games 2017-02-04 18:34:54 -08:00
Vicki Pfau 1bb496d0fe GBA Video: Optimize when BLD* registers are written frequently 2017-02-03 16:50:05 -08:00
Vicki Pfau f3b66397a2 Core: Extend tile cache to return raw bits 2017-02-02 16:33:48 -08:00
Vicki Pfau cea83a5444 Util: Add 8-bit PNG write support 2017-02-02 16:33:27 -08:00
Vicki Pfau 28a3ac50a6 GBA, GB: ROM is now unloaded if a patch is applied 2017-02-01 13:59:43 -08:00
Vicki Pfau 5373e7004a DS: Start on video 2017-01-31 23:33:44 -08:00
Vicki Pfau 896749ede9 Merge branch 'master' into medusa 2017-01-31 14:42:54 -08:00
Vicki Pfau 1e7a62fbb3 Revert "ARM: Overhaul PSR access"
This reverts commit 37f5feb713 and fixup commits.
2017-01-31 11:46:24 -08:00
Vicki Pfau d616cce6f5 DS Memory: Improve TCM handling 2017-01-30 18:33:19 -08:00
Vicki Pfau 4009b7b664 ARM9: Add ARMv5 differences for LDM/POP 2017-01-30 17:48:01 -08:00
Vicki Pfau 37f1105fd9 DS I/O: Add DMA FILL registers 2017-01-30 16:24:01 -08:00
Vicki Pfau 3679e1e8d6 DS IPC: Implement IPC read 2017-01-30 15:02:19 -08:00
Vicki Pfau 7ff9c0af5b ARM: Implement MCR 2017-01-30 12:17:22 -08:00
Vicki Pfau 20296e7f0e Merge branch 'master' into medusa 2017-01-30 11:30:03 -08:00
Vicki Pfau 1c3162da53 ARM: Slightly optimize CARRY check 2017-01-28 12:16:26 -08:00
Vicki Pfau 37f5feb713 ARM: Overhaul PSR access 2017-01-28 11:11:59 -08:00
Vicki Pfau 46782f16a0 GBA Savedata: Transition saving to new timoing system 2017-01-27 16:36:01 -08:00
Vicki Pfau 54b889df8c Qt: Cross-reference CRCs with game database 2017-01-27 01:56:10 -08:00
Vicki Pfau 7ed4f38bdd Qt: Revamp BIOS handling 2017-01-23 10:11:13 -08:00
Vicki Pfau f4a61f91d4 Qt: Add infrastructure for gamepad hats 2017-01-23 01:28:41 -08:00
Vicki Pfau 78526ae71a SDL: Add support for configuring hats 2017-01-23 01:00:48 -08:00
Vicki Pfau 803b7c9859 Util: Fix Wii build 2017-01-18 23:57:08 -08:00
Vicki Pfau ebbc51f23c Util: Fix build 2017-01-18 23:53:07 -08:00
Vicki Pfau a56fd6016d All: Move time.h include to common.h 2017-01-18 15:22:41 -08:00
Vicki Pfau ac2097f0b6 Core: Back mLibraries with a shared database 2017-01-18 11:41:03 -08:00
Vicki Pfau 22a36e0af9 Core: Add generic checksum function 2017-01-17 18:29:58 -08:00
Grant Iraci e52001e406 GBA SIO: Fix layout of normalControl struct in siocnt union 2017-01-17 11:37:26 -08:00
Jeffrey Pfau d20e64f96d VFS: Fix some minor VFile issues with FILEs 2017-01-11 22:22:44 -08:00
Jeffrey Pfau d6e5283b9e Feature: Move game database from flatfile to SQLite3 2017-01-10 00:49:56 -08:00
Jeffrey Pfau 7fe7749797 LR35902: Add disassembler 2017-01-05 00:02:12 -08:00
Jeffrey Pfau 750d3444a0 DS: Add halting 2017-01-04 00:46:05 -08:00
Jeffrey Pfau 967215dcef ARM9: Implement BLX (2) Thumb 2017-01-03 22:39:49 -08:00
Jeffrey Pfau ac58636a9e ARM9: Unify ARM tables 2017-01-03 22:28:36 -08:00
Jeffrey Pfau e0050083ed ARM9: Start implementing Thumb9 2017-01-03 22:23:39 -08:00
Jeffrey Pfau 7e38db4533 DS: Begin memory timings 2017-01-03 22:03:24 -08:00
Jeffrey Pfau 5a55b53983 DS: Port over DMAs 2017-01-03 17:48:07 -08:00
Jeffrey Pfau 0053f85922 DS: Start work on IPC 2017-01-03 15:30:56 -08:00
Jeffrey Pfau c037dada3e DS: Share code between cores 2017-01-03 13:58:54 -08:00
Jeffrey Pfau 2359a4e886 DS: Move time slicing to event system 2017-01-02 21:48:12 -08:00
Jeffrey Pfau d620a8c38c DS: Merge GBA and DS timers 2017-01-02 19:31:38 -08:00
Jeffrey Pfau 87caf0a6ac Merge branch 'master' into medusa 2017-01-02 18:17:50 -08:00
Jeffrey Pfau fa884d071e All: Migrate includes to separate directory 2016-12-30 21:25:07 -08:00