Commit Graph

3436 Commits

Author SHA1 Message Date
Jeffrey Pfau 3871f1f48b Qt: Fix initial state of key mapping 2016-02-20 23:38:20 -08:00
Jeffrey Pfau 6fe4c2a511 SDL: Remove default gamepad mappings 2016-02-20 23:10:52 -08:00
Jeffrey Pfau 6334e88e00 SDL: Fix axes being mapped wrong 2016-02-20 23:09:52 -08:00
Jeffrey Pfau 6acc14d31b SDL: Fix potential joystick crash in games with rumble 2016-02-20 22:21:37 -08:00
Jeffrey Pfau dc62c52faa SDL: Fix joystick initialization on BSD 2016-02-20 21:44:51 -08:00
Jeffrey Pfau 90b18239b0 GB: Add Rumble 2016-02-20 18:46:39 -08:00
Jeffrey Pfau a260b4cf91 GB Memory: Clearing the HDMA bit disabled HDMA 2016-02-20 13:57:16 -08:00
Jeffrey Pfau b8ed859c21 GBA Audio: Restore code that got lost during refactor 2016-02-20 05:05:17 -08:00
Jeffrey Pfau 96ca86ed90 LR35902: RST should set active region 2016-02-20 02:09:47 -08:00
Jeffrey Pfau 0ddac5e961 LR35902: Fix spurious IRQs 2016-02-20 02:09:27 -08:00
Jeffrey Pfau 8071a52505 GB: Improve reset reliability 2016-02-19 22:59:36 -08:00
Jeffrey Pfau 0557caad98 GB Memory: Write back HDMA addresses when done 2016-02-19 22:07:08 -08:00
Jeffrey Pfau 9d4ffb3e43 GB IO: Read back current bank when switching banks 2016-02-19 22:06:52 -08:00
Jeffrey Pfau 6a05ecf273 Perf: Fix crash when loading config 2016-02-19 00:41:40 -08:00
Jeffrey Pfau 733232be5a GB Video: Fix x-flip 2016-02-18 22:32:06 -08:00
Jeffrey Pfau 17264e2af9 GB: Initialize sync 2016-02-18 22:13:37 -08:00
Jeffrey Pfau a219c328d1 Qt: Allow audio channel toggling for GB 2016-02-18 21:54:30 -08:00
Jeffrey Pfau dffb5eec30 GB: Rotation support 2016-02-18 21:54:06 -08:00
Jeffrey Pfau 5bd0bacb8b Qt: Fix crashes when looking up info in No-Intro DB 2016-02-18 21:53:13 -08:00
Jeffrey Pfau dc00c41855 GB Audio: Fix envelope volume problems 2016-02-18 21:52:08 -08:00
Jeffrey Pfau d86939b5b6 GB Memory: Support MBC7 2016-02-18 21:51:27 -08:00
Jeffrey Pfau 94e4980a55 GB: Initialize stream 2016-02-18 21:50:42 -08:00
Jeffrey Pfau 3c50adc025 Wii: Fix tilting direction 2016-02-18 21:50:25 -08:00
Jeffrey Pfau fec583d9b2 SDL: Fix SDL 1.2 build 2016-02-17 23:04:23 -08:00
Jeffrey Pfau 3c31ae1260 Qt: Add preset for DualShock 4 2016-02-17 21:45:36 -08:00
Jeffrey Pfau 357008ff40 GBA: Small cleanup 2016-02-17 21:19:53 -08:00
Jeffrey Pfau a8beb9f5f3 GB: Clean up some warnings 2016-02-17 21:18:31 -08:00
Jeffrey Pfau ab44084236 Core: Get thread log level working again 2016-02-17 21:10:21 -08:00
Jeffrey Pfau 6eefdfff03 GB Video: Fix sprite rendering with BG priority 2016-02-17 20:53:32 -08:00
Jeffrey Pfau 215f7752f3 GB Memory: Fix MBC5 for large ROMs 2016-02-17 20:01:03 -08:00
Jeffrey Pfau 1898634857 GB Video: Fix off-by-one tiles 2016-02-17 20:00:41 -08:00
Jeffrey Pfau 526a9ce446 GB Video: Add HDMA 2016-02-17 20:00:23 -08:00
Jeffrey Pfau 371f6913e7 GB IO: Make palettes readable 2016-02-17 19:42:06 -08:00
Jeffrey Pfau b9baee7370 Qt: Fix Software renderer 2016-02-17 19:41:17 -08:00
Jeffrey Pfau 395f710805 GB Video: Optimize sprite rendering 2016-02-17 19:35:36 -08:00
Jeffrey Pfau d8dc368f36 GB: Add GB/GBC No-Intro databases 2016-02-17 19:34:46 -08:00
Jeffrey Pfau 4e7f70c102 GB Video: Fix partial tile rendering in vram bank 2016-02-17 19:09:44 -08:00
Jeffrey Pfau 8608f11154 GB: Add double speed 2016-02-17 01:19:06 -08:00
Jeffrey Pfau fb0555e4fb GB Video: Support priority background attribute 2016-02-16 23:41:15 -08:00
Jeffrey Pfau 2266ecf86e GB IO: Fix edge cases for JOYP 2016-02-16 23:40:02 -08:00
Jeffrey Pfau f47b6881fc GB Video: Fix OBJ ordering mask 2016-02-16 23:22:40 -08:00
Jeffrey Pfau 9d209aa9bb GB Memory: Add GDMAs 2016-02-16 23:00:24 -08:00
Jeffrey Pfau d7d8dacaa8 Qt: Update ROMInfo dialog 2016-02-16 22:18:31 -08:00
Jeffrey Pfau d232a538cc Core: Fix mDirectorySet 2016-02-16 22:18:31 -08:00
endrift a91d19f429 Merge pull request #229 from lioncash/gles
OpenGL: Correct boolean vector strcmp strings for uniforms
2016-02-16 18:28:16 -08:00
Lioncash e77334960a OpenGL: Correct boolean vector strcmp strings for uniforms 2016-02-16 20:51:50 -05:00
Jeffrey Pfau 58c09c9124 3DS: Auto-fit aspect ratios 2016-02-16 01:13:27 -08:00
Jeffrey Pfau ea67f6bc75 GB: Fix DMG palettes again 2016-02-16 00:36:50 -08:00
Jeffrey Pfau df619d4b56 GB Audio: Fix channel 1 shadow register 2016-02-16 00:23:45 -08:00
Jeffrey Pfau 0a6b66248b Libretro: Game Boy support 2016-02-15 23:13:55 -08:00
Jeffrey Pfau 061601672a Libretro: Restore sound 2016-02-15 23:13:55 -08:00
Jeffrey Pfau bdacbd5761 Core: Fix potential crashes with mAVStream 2016-02-15 23:13:55 -08:00
Jeffrey Pfau 965f274539 GB Video: Fix GBC background masking 2016-02-15 23:13:55 -08:00
Jeffrey Pfau f33a70a9dc Core: Allow changing video dimensions 2016-02-15 23:13:55 -08:00
Jeffrey Pfau aac1add766 GB Video: Support mAVStream.postVideoFrame 2016-02-15 23:13:55 -08:00
Jeffrey Pfau 245a13af63 GB: Start GBC support 2016-02-15 23:13:55 -08:00
Jeffrey Pfau 3d53f23e8d GUI: Fix config loading 2016-02-15 06:33:13 -08:00
Jeffrey Pfau 5c2dbc59a1 GBA BIOS: Fix RegisterRamReset setting DISPCNT to the wrong value 2016-02-15 01:04:29 -08:00
Jeffrey Pfau 2eb5696ff7 GB Video: Fix writing to WY 2016-02-15 00:22:54 -08:00
Jeffrey Pfau d6a45781f0 GB Audio: length counters can be written when audio off 2016-02-14 23:55:21 -08:00
Jeffrey Pfau ecdcef283b GB Video: Improve palettes 2016-02-14 23:18:37 -08:00
Jeffrey Pfau b6fc26a7bf GB: Deinit sram 2016-02-14 23:10:51 -08:00
Jeffrey Pfau 85e789c3e9 GB Memory: Initialize sram 2016-02-14 23:07:44 -08:00
Jeffrey Pfau ddc2932c95 GBA: Kill GBAGetState 2016-02-14 22:50:27 -08:00
Jeffrey Pfau de065be15c GB: Add mAVStream 2016-02-14 22:50:08 -08:00
Jeffrey Pfau 9a023168f4 GB Software: More minor optimization 2016-02-14 20:26:02 -08:00
Jeffrey Pfau 8257c85c95 GB Software: Special case a fast draw path for backgrounds 2016-02-14 20:08:41 -08:00
Jeffrey Pfau cd0a352a33 3DS, Wii: GB support partially working 2016-02-14 19:02:45 -08:00
Jeffrey Pfau 8615defda7 Core: Fix frameskip 2016-02-14 17:37:53 -08:00
Jeffrey Pfau 47062deb9f Core: Initialize keys 2016-02-14 11:33:27 -08:00
Jeffrey Pfau 52152a3a12 GB Video: Fix window underflow 2016-02-14 11:26:54 -08:00
Jeffrey Pfau 2a7b268728 GB Video: Fix Windows 2016-02-14 11:15:30 -08:00
Jeffrey Pfau 4360e73d14 GB Audio: Fix mode 3 playback 2016-02-14 10:32:20 -08:00
Jeffrey Pfau c2a7103d88 GBA Audio: Fix Wii build 2016-02-14 10:15:44 -08:00
Jeffrey Pfau e290e458b0 Platform: Speculative fix for Windows build 2016-02-14 10:12:33 -08:00
Jeffrey Pfau 4fca30b73d GB Audio: Fix crashes when audio->p is not set (e.g. GBA mode) 2016-02-14 02:11:21 -08:00
Jeffrey Pfau c89c3964db LR35902: Optimize CPU loop to prevent no-op cycles from being calculated 2016-02-14 01:57:53 -08:00
Jeffrey Pfau ed94288902 GB Audio: Fix write behavior on channel 3 2016-02-14 01:22:03 -08:00
Jeffrey Pfau 94ff4f7c4e GB Video: Optimize renderer 2016-02-13 23:57:02 -08:00
Jeffrey Pfau e6e535e39a 3DS: Fix GB build 2016-02-13 20:49:54 -08:00
Jeffrey Pfau bbd0453c9c GB Audio: Minor channel 3 revamp 2016-02-13 19:37:34 -08:00
Jeffrey Pfau b92482520c Qt: Fix SDL audio crash 2016-02-13 01:17:17 -08:00
Jeffrey Pfau f3daa19a6d Qt: More GB bringup 2016-02-13 01:06:36 -08:00
Jeffrey Pfau adf20bea09 GBA: Restore savestates 2016-02-13 01:00:24 -08:00
Jeffrey Pfau 61378f3926 Core: Logging cleanup 2016-02-13 00:56:47 -08:00
Jeffrey Pfau 47324f8701 GB Audio: Fix NR41 while disabled 2016-02-13 00:56:22 -08:00
Jeffrey Pfau 13e5ded34e GB Audio: Type cleanup 2016-02-13 00:55:50 -08:00
Jeffrey Pfau fb087688d7 GB Audio: Channel 3 cleanup 2016-02-13 00:55:23 -08:00
Jeffrey Pfau 26711ae9e6 GBA: Remove some dead code 2016-02-12 00:15:14 -08:00
Jeffrey Pfau ff637c84d1 GBA: Kill GBALog 2016-02-11 23:50:58 -08:00
Jeffrey Pfau 74fc29fc68 GB Audio: Reduce redundant GB NR52 code 2016-02-11 22:45:49 -08:00
Jeffrey Pfau b4af0f64e3 SDL: Set default volume 2016-02-11 22:43:15 -08:00
Jeffrey Pfau e97d36b7fc GB: More audio fixes 2016-02-11 00:42:52 -08:00
Jeffrey Pfau f1f9dee111 GB: Add back volume 2016-02-10 22:42:39 -08:00
Jeffrey Pfau 5bcf56c5ca Qt: GBA refactoring and cleanup 2016-02-10 22:42:39 -08:00
Jeffrey Pfau a75c019fab GBA Thread: Kill GBAThread 2016-02-10 22:42:39 -08:00
Jeffrey Pfau d25ba2ec59 OpenGL: Rename GBAGL to mGL 2016-02-10 22:42:39 -08:00
Jeffrey Pfau ef68c84e76 SDL: Remove GBAThread reference 2016-02-10 22:42:39 -08:00
Jeffrey Pfau 13f1ab5ab8 Core: Put back fpsTarget 2016-02-10 22:42:39 -08:00
Jeffrey Pfau ce085623de GB: More audio fixes 2016-02-10 22:42:39 -08:00
Jeffrey Pfau eefdcb6490 Core: Put back sync handling in _waitUntilNotState 2016-02-10 22:42:39 -08:00
Jeffrey Pfau d1b3ad08d8 Qt: Fix sending gameStopped twice 2016-02-10 22:42:39 -08:00
Jeffrey Pfau dd2fd9351c GB Audio: Re-optimize a bit 2016-02-10 22:42:39 -08:00
Jeffrey Pfau 755c1c66af GBA Test: Fix gba-fuzz 2016-02-10 22:42:39 -08:00
Jeffrey Pfau 2af1bf68e0 Core: Add core.setAudioBufferSize 2016-02-10 22:42:39 -08:00
Jeffrey Pfau 9ec62368bc Qt: Fix some config regressions 2016-02-10 22:42:39 -08:00
Jeffrey Pfau fae8ef7f42 OpenGL: Make video dimensions customizable 2016-02-10 22:42:39 -08:00
Jeffrey Pfau 73b58ec7c4 GB Core: Add dummied-out BIOS loader 2016-02-10 22:42:39 -08:00
Jeffrey Pfau 98266d1b83 GBA Core: Fix override loading from foreign configs 2016-02-10 22:42:39 -08:00
Jeffrey Pfau d481bd29fe OpenGL: Fix aspect ratio calculation for gles2 2016-02-10 22:42:39 -08:00
Jeffrey Pfau d8ad87504d Qt: Use mLog instead of GBALog 2016-02-10 22:42:39 -08:00
Jeffrey Pfau 5c81fc76d2 Core: Create mThreadLogger 2016-02-10 22:40:54 -08:00
Jeffrey Pfau b619ebf965 GBA BIOS: Kill GBA_LOG_SWI 2016-02-10 22:40:54 -08:00
Jeffrey Pfau 4f43b574e2 Qt: GB game loading 2016-02-10 22:40:54 -08:00
Jeffrey Pfau 533e96392b Core: Add mCoreFind 2016-02-10 22:40:54 -08:00
Jeffrey Pfau 53191d2068 Core: Add mCore.getGameTitle 2016-02-10 22:40:54 -08:00
Jeffrey Pfau d0771b78e2 Qt: Sloppy first pass at refactor 2016-02-10 22:40:54 -08:00
Jeffrey Pfau fc905657ad Core: Minor preparatory work 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2eaaaa8491 Core: Refactor GBAAVStream into mAVStream 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d86440e04f Debugger: Begin refactoring ARMDebugger into Debugger 2016-02-10 22:40:21 -08:00
Jeffrey Pfau fbfbbbf279 Core: Merge ARMComponent and LR35902Component 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 82c4d93dc4 Core: Add back screenshots 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3d402f6afd GBA Core: Only associate renderer if it has an output buffer 2016-02-10 22:40:21 -08:00
Jeffrey Pfau eccddde283 Debugger: Update createDebugger 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e4aed77f1e GBA Core: Fix BIOS loading 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e775c5900d Test: Move to mCoreThread 2016-02-10 22:40:21 -08:00
Jeffrey Pfau f0af862475 GBA: Kill GBAContext 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2a926e8dd5 GBA Test: Disuse GBAContext 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7a1f8ec86f Core, GUI, Platform: Disuse GBAContext 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 0d088f6e99 GB: Move DMG_LR35902_FREQUENCY for GBA build 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d135ad92ac Core: Fix some issues with various threading builds 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2e0ee682a5 SDL: Fix audio sync 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 1c6b98a2b4 GB Audio: More fixes 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b782d902e6 GB Memory: Fix bank switching overflow case 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 1425db6a7a Libretro: Convert to mCore 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e9fe4a1a9a GBA Core: Add loadBIOS 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5e75c94967 Core: Add ability to set default logger 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 752b4faaff OpenEmu: Convert to using mCore 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c581764e23 GB Video: Fix strange window y behavior when paritally disabled 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 88c9462209 GB Video: Fix LYC for scanline 0 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b752cec5cc GB Video: Fix LYC in VBlank 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3ade5188db GB: Add patch support 2016-02-10 22:40:21 -08:00
Jeffrey Pfau a712216c2e GB Audio: Small audio fixes 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d3fa698c81 GB Audio: Begin rewrite of frame counting 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 385059c63a GB IO: Fill in more registers 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c60251de73 GB Video: Fix oam-bug 1 2016-02-10 22:40:21 -08:00
Jeffrey Pfau adc57d0da7 GB Audio: Miscellaneous fixes 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c3c3bdc20c GB Audio: Fix wrong register being updated with playing state 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 770b80f2b2 GB: Actually fix EI this time 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3863513b2a SDL: More video refactoring, fix scaling and aspect ratio locking 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b325376f05 Video: Remove assumption about video backend dimensions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 1768721e7e SDL: Add back patch loading 2016-02-10 22:40:21 -08:00
Jeffrey Pfau a718a08e47 SDL: Remove mSDLRunGBA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 407335e2f4 Core: Refactor config loading in mCore 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7bc15e50c5 Core: Add state manipulation back 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 33a4c45f3f GBA: Add GBACore 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 28268a601b Core: Add patch loading stub 2016-02-10 22:40:21 -08:00
Jeffrey Pfau dd4b974a0c SDL: More refactoring 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 1e6f812003 SDL: Add missing call to mCoreThreadJoin 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 38f89a1bd8 Core: Clean up ROM loading 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 44116c9beb GB Video: Remove unused functions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 192f85259a Core: Add mCoreThread 2016-02-10 22:40:21 -08:00
Jeffrey Pfau cfd031f140 GB IO: Fix I/O category name in logs 2016-02-10 22:40:21 -08:00
Jeffrey Pfau a9ba3a2094 SDL: Refactor GBASDLEvents and GBASDLPlayer into mSDLEvents and mSDLPlayer 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 46590f98d8 Core: Add category names 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 92c6b90b03 GB: First pass at audio refactor 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 4edd7286f3 Core: Merge color_t definitions in 2016-02-10 22:40:21 -08:00
Jeffrey Pfau f5923c74a7 GB: MBC4 does not exist, but MBC6 does 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 041d1860ab GB: Add RTC support to MBC3 2016-02-10 22:40:21 -08:00
Jeffrey Pfau ed176177ce Core: Add mRTCGenericSource 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 59f78a05e4 Core: Refactor GBAInput into mInput 2016-02-10 22:40:21 -08:00
Jeffrey Pfau bc1a094bea Core: Refactor several input callbacks 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 811d8281c3 Core: Refactor GBAConfig into mCoreConfig 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 234ecd9619 Core: Refactor GBASync into mCoreSync 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6ec99ce4e4 Core: Refactor GBADirectorySet into mDirectorySet 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2716a0f64f Core: Add missing files 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2290dd6781 GB Video: Change to dot-based renderer 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 32f0bb9f1f GB Memory: Add SRAM bank switching to MBC5 2016-02-10 22:40:21 -08:00
Jeffrey Pfau a3d0b85d56 GB Video: OAM STAT can even happen in mode 1 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2399219663 GB: Fix DIV reseting timing 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d7d2a552d2 GB IO: Unstub SCY and SCX reads 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3ec4c79e12 GB: Fix DIV reset 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5d8f676bb0 GB Memory: Bypass GBStore8 for DMA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 1589b26ade GB Video: Register LYC during Vblank 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b9e6ac954d LR35902: Fix RST timing 2016-02-10 22:40:21 -08:00
Jeffrey Pfau da62e772a4 LR35902: Fix IRQ timing 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 213ba29964 GB: Fix DI 2016-02-10 22:40:21 -08:00
Jeffrey Pfau dbdd61cdcd GB Memory: REALLY fix DMA timing this time 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6bf77357af SDL: Initialize a missing variable 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3b279b3fbe LR35902: Add missing M-state to CALL 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7c087d5cb9 Core: Start adding mCore 2016-02-10 22:40:21 -08:00
Jeffrey Pfau fc0109282b GB Video: Fix underflow 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d456d6ff3c GB Memory: More logging 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7540bd3513 GB IO: Unstub reading STAT 2016-02-10 22:40:21 -08:00
Jeffrey Pfau efe1611614 SDL: Center GB screen 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3c8cf83083 GB Video: Fix disabled Obj 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2e77c45e06 GB Video: Fix WX 2016-02-10 22:40:21 -08:00
Jeffrey Pfau eee24961b1 GB: Partially fix timers 2016-02-10 22:40:21 -08:00
Jeffrey Pfau bac417d270 GB: Delay EI 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 81f8ad27d5 GB: CPU can still decode instructions during DMAs 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 0e4f64088c LR35902: Fix RST return address 2016-02-10 22:40:21 -08:00
Jeffrey Pfau fe36ff1933 LR35902: Fix CALL M-state order 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 04281f9f11 LR35902: Fix RET timing without condition 2016-02-10 22:40:21 -08:00
Jeffrey Pfau cf982746c2 LR35902: Fix RET timing 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c6a8cdbe73 GB: Fix uninitialized sramBank variable 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d13e186f91 LR35902: Fill in illegal opcodes 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 20b2e8af7e GB: More logging 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c9d0f651b6 LR35902: Fix IRQs and RST 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b9a42cc5a9 GB: Clean up some unused stuff 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5d7a43639b GB: Make sure save files are large enough 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 61e7cc9556 GB: Add basic logging support 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 487c54f0ac SDL: GB saving working 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 77886d4cf4 SDL: Fix crashing on GB game exit 2016-02-10 22:40:21 -08:00
Jeffrey Pfau eb19998e14 GB Video: Fix initialization 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d3a204086d GB Video: Sprite enhancements 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 90d280026d GB Memory: Add MBC7 stubs 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 497fc2ade3 GB: Save support 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 52875a082e LR35902: Fix timing on BIT 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 862e41ad6b GB: Fix HALT 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6fb8e296d4 GB Video: Fix sprite palettes 2016-02-10 22:40:21 -08:00
Jeffrey Pfau ff2641cbcc GB Video: Fix window y 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e11f9224ff GB Memory: Fix DMA timing 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 564810425e LR35902: Fix a bunch of flags 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 02132b2cac LR35902: Fix DAA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 47364e4769 GB Video: Implement LYC 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 25627bf6a3 Test: Remove GB test harness 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 8750f78808 GB: Implement sprites, SRAM 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5cd84799be LR35902: No writeback for BIT 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d2867c26a0 GB Memory: Implement DMA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 52adcb68db SDL: Add SDL_QUIT for GB runloop 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c59bfd173d GB Video: Add window support 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 950ea997d3 GB IO: Mark some registers as transparently handled 2016-02-10 22:40:21 -08:00
Jeffrey Pfau a2e32b61c2 GB: Fix keys 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 06f47c8d2c GB Video: Add basic scrolling support 2016-02-10 22:40:21 -08:00
Jeffrey Pfau a8b473870d LR35902: Mostly fix DAA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6ab3bdcc46 LR35902: Fix C flag in SRA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d1763869c6 LR35902: Fix a bunch of flag updates 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 9de8576e71 GB Video: Draw top scanline 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c0b965a41e LR35902: Fix a ton of Z flags 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6c399882f9 LR35902: Implement DAA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau f8469822d7 GB: Fix div timer 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7685bc8b00 LR35902: Popping AF should clear unused F bits 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 9140018b85 GB IO: Speculative keypad fix 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 73e3532277 GB IO: Unused MMIO bits read high 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e284a059a2 LR35902: Fix RES/SET/BIT HL 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 34b90477ce LR35902: Fix LD (HL) instructions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2322e942c4 LR35902: Implement LD (a16), SP and ADD SP, r8 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 781f3f76f1 GB: Fix some initializations 2016-02-10 22:40:21 -08:00
Jeffrey Pfau cbad932f45 LR35902: Implement LD SP, HL and LD HL, SP+r8 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 06e0908642 GB: Start on timers 2016-02-10 22:40:21 -08:00