Commit Graph

576 Commits

Author SHA1 Message Date
Jeffrey Pfau 3bf43133cb Replace soundbias with a bitfield 2014-10-17 03:26:47 -07:00
Jeffrey Pfau 18e67378fe C++ build fixes 2014-10-15 04:55:46 -07:00
Jeffrey Pfau 65ce79c611 Expose GBAGetState 2014-10-15 04:55:46 -07:00
Jeffrey Pfau 0d1b323e22 Fix edge case with video-frame sync where it may never wake up the display thread 2014-10-15 04:51:19 -07:00
Jeffrey Pfau 70f94db208 Fix some uninitialized reads 2014-10-15 02:13:46 -07:00
Jeffrey Pfau 4cf5b533fb Fix overlooked crc32 call 2014-10-15 02:13:34 -07:00
Jeffrey Pfau 38187bac7a Rename crc32 to doCrc32 to avoid symbol naming conflicts 2014-10-15 01:41:50 -07:00
Jeffrey Pfau 24c826e5b1 Don't log everything to the log handler when that log level is disabled 2014-10-12 19:43:19 -07:00
Jeffrey Pfau 4247db81e4 Split out macros from common.h 2014-10-11 18:18:47 -07:00
Jeffrey Pfau 4ecdcf25f5 Disable blending in backgrounds when unnecessary 2014-10-11 16:01:26 -07:00
Jeffrey Pfau bbcf161fec Fix warning about exceeding bounds of array 2014-10-11 15:49:45 -07:00
Jeffrey Pfau 2bca4c399b Fix assumption that savedata->vf is non-null within flash memory code 2014-10-11 15:46:59 -07:00
Jeffrey Pfau e293134a78 Unify optional directory file opening 2014-10-09 23:55:02 -07:00
Jeffrey Pfau 8ae1a3a3a3 Use bitfield for BIOS Huffman nodes 2014-10-09 03:02:35 -07:00
Jeffrey Pfau bc2979679e Write audio FIFO in discrete chunks to avoid ordering issues 2014-10-07 01:54:02 -07:00
Jeffrey Pfau 54bda1757e Replace remaining bit-packed structs in audio with bitfields 2014-10-07 00:53:39 -07:00
Jeffrey Pfau d2adc2449a Replace sound channel bitpacked structs with bitfields 2014-10-07 00:36:07 -07:00
Jeffrey Pfau bac0d35034 Enhance perf-main with higher granularity output, optional parseable output and higher granularity duration setting 2014-10-06 23:32:26 -07:00
Jeffrey Pfau 32bc6750c1 Migrate mosaic to bitfields 2014-10-06 00:49:06 -07:00
Jeffrey Pfau 7d12de0cb9 Move BLDCNT definition from video-softare to gba-video 2014-10-06 00:37:08 -07:00
Jeffrey Pfau 0c18e415e8 Use bitfields for windows 2014-10-06 00:16:33 -07:00
Jeffrey Pfau 8ef31b1c3d Use bitfields for BLDCNT 2014-10-05 22:36:25 -07:00
Jeffrey Pfau fd5b95024e Clean up transformed sprite rendering using accumulators 2014-10-05 22:08:07 -07:00
Jeffrey Pfau 18c5c950db Use LOAD_16 for sprites instead of accessing the array directly 2014-10-04 00:36:14 -07:00
Jeffrey Pfau c6954bcb4a Fix regressed sprite x wrapping 2014-10-02 00:54:39 -07:00
Jeffrey Pfau 58400c859f Merge preprocess transformed and normal sprite routines 2014-10-02 00:53:51 -07:00
Jeffrey Pfau 935182fdc4 Split out OBJ attributes and load memory with proper translation 2014-10-02 00:41:41 -07:00
Jeffrey Pfau b0726d0185 Replace bit packed structs in sprites with bitfields 2014-10-02 00:20:15 -07:00
Jeffrey Pfau 43e5aa698a Fix modes 3 and 5 after vram load refactor 2014-10-01 23:30:26 -07:00
Jeffrey Pfau fb10622946 Clean up background charBase shifting 2014-10-01 23:24:15 -07:00
Jeffrey Pfau f9ebe36fac Fix regression caused by converting DISPSTAT into a bitfield 2014-10-01 23:19:26 -07:00
Jeffrey Pfau 38e8cc1ee4 Preliminary pass at straightening out VRAM loads 2014-10-01 04:00:15 -07:00
Jeffrey Pfau 14b6393b51 Replace BGCNT with bitfield 2014-10-01 02:50:10 -07:00
Jeffrey Pfau f4d27e5e40 Use new bitfields for DMAs 2014-10-01 00:17:51 -07:00
Jeffrey Pfau 7e4dc6c15c Replace dispstat assorted variables with a bitfield 2014-09-30 23:29:30 -07:00
Jeffrey Pfau 015e6700d7 Remove unused union 2014-09-30 22:57:05 -07:00
Jeffrey Pfau 5874d416df Start replacing packed structs with flags 2014-09-30 22:50:27 -07:00
Jeffrey Pfau d8b0bba968 Make GBAIsROM more portable 2014-09-30 01:48:04 -07:00
Jeffrey Pfau c035d97286 Make libPNG/zlib optional dependencies 2014-09-30 01:43:43 -07:00
Jeffrey Pfau c1abe54ec9 Fix debuggers not logging 2014-09-01 02:05:37 -07:00
Jeffrey Pfau be46f2bac9 Fix frames redrawing in the middle of syncing 2014-09-01 00:52:16 -07:00
Jeffrey Pfau 2c5fd6acd5 HLE BIOS SVC handler stores r11 and r12 instead of r4 and r5 2014-08-31 04:20:40 -07:00
Jeffrey Pfau 8a6254cc73 Implement HFlip for 256 color partial tiles (fixes #39) 2014-08-31 04:19:13 -07:00
Jeffrey Pfau 610982fdcf Add makefile for regenerating hle-bios.c so I can stop doing it by hand 2014-08-30 04:25:20 -07:00
Jeffrey Pfau d41b8c5df6 Fix uninitialized memory for OAM count 2014-08-30 01:26:33 -07:00
Jeffrey Pfau cdd6d5a815 Initialize previous uninitialzed audio channel members 2014-08-29 02:39:01 -07:00
Jeffrey Pfau 270c09c26e Fix palette pointer in GBALoad8 2014-08-29 02:31:15 -07:00
Jeffrey Pfau a825c6e4a6 Use bitshift instead of bitmask for determining load/store region 2014-08-29 01:58:39 -07:00
Jeffrey Pfau 1e1b0fc89e Check active region instead of pc for BIOS loads 2014-08-29 01:46:46 -07:00
Jeffrey Pfau 4d2ccd5df4 Add busy loop optimization back 2014-08-29 00:35:43 -07:00