Commit Graph

721 Commits

Author SHA1 Message Date
Jeffrey Pfau 003a537dc7 Implement most of channels 1 and 2 2013-10-18 23:12:14 -07:00
Jeffrey Pfau 79d483d002 Fix audio loudness issues 2013-10-18 19:44:55 -07:00
Jeffrey Pfau 04f99bd358 Prescale audio 2013-10-18 09:41:13 -07:00
Jeffrey Pfau 565ee43bb2 Fix video cycle timing to match audio timing fix 2013-10-18 09:41:01 -07:00
Jeffrey Pfau 093c86c943 Add channel 4 envelope, fix audio timing 2013-10-18 09:33:07 -07:00
Jeffrey Pfau a55b4dc87f Fix valgrind-found uninitialized values 2013-10-18 08:42:15 -07:00
Jeffrey Pfau 3acabb01c8 Conglomerate save data initialization to ensure the struct is always initialized 2013-10-18 08:36:05 -07:00
Jeffrey Pfau d99bf7fdff Rename GBAAudioWave to GBAAudioEnvelope, add fields for internal state 2013-10-18 08:10:10 -07:00
Jeffrey Pfau 7393351e27 Start implementing channel 4 2013-10-18 01:21:44 -07:00
Jeffrey Pfau eac9dfb325 Start filling in audio framework 2013-10-18 01:21:22 -07:00
Jeffrey Pfau ea41ef7ae6 Fix main thread stalling when starting a game 2013-10-17 23:10:16 -07:00
Jeffrey Pfau 62d941a979 Plumb through filename for checking overrides 2013-10-17 01:07:08 -07:00
Jeffrey Pfau 451c16f4cb Fix overwriting DISPSTAT with fixed values for the lower bits 2013-10-16 22:23:32 -07:00
Jeffrey Pfau 3edb2da58d Make platform directory for ports 2013-10-16 01:35:49 -07:00
Jeffrey Pfau a1fb90635f Functions for explicitly pausing and unpausing 2013-10-16 00:52:52 -07:00
Jeffrey Pfau a107243c7a Support pausing 2013-10-16 00:46:09 -07:00
Jeffrey Pfau 8e43ffed90 Adjust scaling/rotation state for backgrounds regardless of if they were actually drawn 2013-10-15 22:58:47 -07:00
Jeffrey Pfau f4a1e994d6 Mark BG*CNT registers as safe to read 2013-10-15 21:55:28 -07:00
Jeffrey Pfau 0120ea93a5 Sprites shouldn't be blended if the current window has blending disabled 2013-10-15 21:44:47 -07:00
Jeffrey Pfau ce33adf5e4 Don't wait on frame swap when we aren't doing frame synchronization in the first place 2013-10-15 02:34:37 -07:00
Jeffrey Pfau 1b5dd352af Sprites can only be color variants when they aren't forced semitransparent 2013-10-15 02:09:23 -07:00
Jeffrey Pfau 1b54f50daa Allow sprites to be ordered by priority in addition to OAM order 2013-10-15 01:45:49 -07:00
Jeffrey Pfau ee344f0dca Optimize and fix IntrWait, make sure that SVC doesn't trample its input register r0 2013-10-15 00:50:07 -07:00
Jeffrey Pfau f90b01b95d Fix setting privilege mode when entering SVC 2013-10-14 22:32:52 -07:00
Jeffrey Pfau 9430040cb3 Check for some invalid memory regions before performing BIOS decompression routines 2013-10-13 20:12:30 -07:00
Jeffrey Pfau 67007ee002 Fix 8-bit VRAM writes 2013-10-13 15:23:39 -07:00
Jeffrey Pfau ee44e2ac89 Add Super Mario Bros. Advance 4 to the override list 2013-10-13 15:06:32 -07:00
Jeffrey Pfau 187687403c Fix EEPROM initialization 2013-10-13 12:14:32 -07:00
Jeffrey Pfau a20117ec14 Fix Huffman destinations 2013-10-13 12:14:16 -07:00
Jeffrey Pfau 9d08997fdc Fix Huffman with tree sizes >127 2013-10-13 03:25:46 -07:00
Jeffrey Pfau 3ca0a97ca1 Prepopulate RCNT 2013-10-12 16:37:10 -07:00
Jeffrey Pfau d8778cf516 Implement Huffman 2013-10-12 13:32:23 -07:00
Jeffrey Pfau 973abb7b94 Uncomment audio initialization line 2013-10-12 02:29:24 -07:00
Jeffrey Pfau 51ec1c1099 Bring SDL main to parity with GL main 2013-10-12 02:13:26 -07:00
Jeffrey Pfau cf298474bc Use 5_6_5 with SDL 2013-10-12 02:11:57 -07:00
Jeffrey Pfau 25cc40f3e1 Bring Raspberry Pi main to parity with GL main 2013-10-12 01:18:34 -07:00
Jeffrey Pfau 5caffd1f5a Remove reference to removed file 2013-10-12 00:39:03 -07:00
Jeffrey Pfau 290b64b171 Compile-time flag for disabling debugger 2013-10-12 00:34:59 -07:00
Jeffrey Pfau b3dc065144 Read DISPCNT, fix video register writing 2013-10-11 22:04:41 -07:00
Jeffrey Pfau de39f23a1b Add ROM override checking, seed with BPEE 2013-10-11 22:03:27 -07:00
Jeffrey Pfau 58611facf1 Fix OBJWIN blending modifications on BG modes 0 - 2 2013-10-11 00:43:01 -07:00
Jeffrey Pfau cff77a3a81 Remove extraneous macros by adding a palette variable 2013-10-10 23:33:22 -07:00
Jeffrey Pfau e789b324dc Refactor BREAK_WINDOW into _breakWindow, fix bug cleaning up extra windows 2013-10-10 01:40:49 -07:00
Jeffrey Pfau 2ef64ede02 Basic tab-completion 2013-10-10 01:05:25 -07:00
Jeffrey Pfau 01d8569262 Remove reliance on linenoise 2013-10-10 00:29:41 -07:00
Jeffrey Pfau c19d1117f1 Add timings to CpuSet and CpuFastSet 2013-10-09 01:57:53 -07:00
Jeffrey Pfau 09a0f95ed4 Actually use GBATestIRQ 2013-10-09 01:56:59 -07:00
Jeffrey Pfau 6906df95e2 VCOUNT is not properly reset on wrap 2013-10-09 01:09:09 -07:00
Jeffrey Pfau c3a7d87214 Add missing variable 2013-10-09 00:44:44 -07:00
Jeffrey Pfau 9698531702 Clean up thread starting, stopping and sound 2013-10-09 00:44:31 -07:00