Commit Graph

3160 Commits

Author SHA1 Message Date
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
Jeffrey Pfau 4b51783589 GB: Fix IRQs firing infinitely 2016-02-10 22:40:21 -08:00
Jeffrey Pfau dfaa06d0d2 SDL: More refactoring 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 4e64b4fde4 LR35902: Implement RRCA and RRA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 81cd68cbac GB IO: Implement key reading 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d2f97a8edc LR35902: Fix IRQ raising 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6f52a26668 LR35902: Implement bitwise instructions, RST 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b7e80deda0 GB Video: Initial rendering work 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5fb2cfde1d GB Memory: VRAM access 2016-02-10 22:40:21 -08:00
Jeffrey Pfau dabc92bf5f GB IO: Pass more video registers to the video renderer 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e4a17e12f4 LR35902: Fix ADD HL instructions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3158db06c2 GB: Start work on video rendering 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 23ca81708d LR35902: Fix pack pop pragma 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5a23814973 GB IO: Add missing function declaration 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 67050e44dd LR35902: Implement HALT, RETI and CPL 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7a91b4a98a LR35902: Implement SCF and CCF 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 4271d89129 LR35902: Increment double-wide adds 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7a104c07a7 LR35902: Implement remaining ALU instructions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 76c41a62ba GB Video: Fix event timing on LCD enable 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e019c54aad GB: Improve initialization 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 31b509e033 GB: Revamp STAT register 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b711432a5e GB: Start MBCs 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7c989fd818 LR35902: Implement more LD A memory instructions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 9a4db4b03d GB: Fix ROM bank initialization 2016-02-10 22:40:21 -08:00
Jeffrey Pfau cbc54ca09a LR35902: Implement INC/DEC 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3603958e02 LR35902: Implement POP/PUSH 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5bce4480db LR35902: Improve stalling behavior 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b104a5cd1c LR35902: Increment INC and DEC on double-wide registers 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e96da4c7b9 LR35902: Simplify pipeline 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 0bfbc2079e LR35902: Implement more LD forms 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c3abc16a94 GB: Fix writing IE 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 0d4bb5dc2b LR35902: Implement RET, add missing file 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 9170dd26da LR35902: Add CALL and more LD 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 8622ba7ed0 GB: Add basic I/O, interrupts and video 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 64676529ba LR35902, GB: Start work on GB core 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 811d654893 Qt: Fix unpausing 2016-02-10 22:38:46 -08:00
Jeffrey Pfau 2a80ddf8d0 Qt: Fix hang if audio sync is enabled and audio fails to initialize 2016-02-09 02:26:15 -08:00
Jeffrey Pfau 1fdf413ee9 Qt: Fix sending gameStopped twice 2016-02-09 02:22:06 -08:00
Jeffrey Pfau 564f58c7fb GBA: Slightly optimize GBAProcessEvents 2016-02-08 22:32:30 -08:00
Jeffrey Pfau be42f298da VFS: Fix reading 7z archives without rewinding first 2016-02-08 22:27:12 -08:00
Jeffrey Pfau 1f1bd3bd05 Wii: Increase sensitivity of controller axes 2016-02-02 20:41:39 -08:00
Jeffrey Pfau ed84d5cff0 GBA: Add GBADeleteState 2016-02-02 01:34:24 -08:00
Jeffrey Pfau 6af9a742bd VFS: Add VDir.deleteFile 2016-02-02 01:34:24 -08:00
Jeffrey Pfau 8e99508717 GUI: Show icons in key remapping 2016-02-02 01:34:24 -08:00
Jeffrey Pfau d53004650d Qt: Set window flags on dialogs 2016-02-01 00:01:29 -08:00
Jeffrey Pfau c69c34ab2d SDL: Fix crash when attempting to sample sensors with no controller attached 2016-01-31 23:52:03 -08:00
Jeffrey Pfau 78ef8523ac Qt: Make key binding fields have a width relative to its height 2016-01-31 14:56:50 -08:00
Jeffrey Pfau fbea708ed4 GUI: Fix top button on scrollbars being upside down 2016-01-31 14:35:27 -08:00
Jeffrey Pfau 1fce327192 3DS: Enable L2 cache on n3DS 2016-01-31 14:08:28 -08:00
Jeffrey Pfau 6646baa3b3 Qt: Add ability to force old versions of OpenGL 2016-01-31 12:24:09 -08:00
Jeffrey Pfau 66d005030f 3DS: DSP audio 2016-01-30 23:39:22 -08:00
Jeffrey Pfau 6ee60dd79b GUI: UI refinements, fixes 2016-01-30 14:02:35 -08:00
Jeffrey Pfau f1fba59152 GBA Context: Add additional constraints on MINIMAL_CORE==2 2016-01-28 22:52:45 -08:00
Jeffrey Pfau 7436a5afef OpenGL: Simplify desaturation by using mix 2016-01-26 23:28:34 -08:00
Jeffrey Pfau b9b650ead2 Qt: Fix default settings page 2016-01-26 23:19:25 -08:00
Jeffrey Pfau 388582776e Qt: Allow loading of ZIPs when using minizip 2016-01-25 20:11:55 -08:00
Jeffrey Pfau 4f1788b2e0 Qt: Add ability to customize savestate data, add rewind duration box 2016-01-25 20:11:30 -08:00
Jeffrey Pfau 6d8a34a6dc Qt: Unify state saving/loading flags 2016-01-24 18:25:07 -08:00
Jeffrey Pfau 0501944b5a GBA: Savestates can store currently used cheats 2016-01-24 17:59:45 -08:00
Jeffrey Pfau 26e9e8d63f GBA Cheats: Remove trailing newline 2016-01-24 17:50:18 -08:00
Jeffrey Pfau e436f2a727 GBA Cheats: Add GBACheatDeviceClear 2016-01-24 17:48:44 -08:00
Jeffrey Pfau a53c3e0628 OpenEmu: Cheat support 2016-01-24 14:26:31 -08:00
Jeffrey Pfau 15dadb8387 GBA Cheats: Fix cheats setting the Action Replay version 2016-01-24 14:26:31 -08:00
endrift b2850af002 Merge pull request #211 from xerpi/master
Vita: Update to latest SDK version
2016-01-24 03:54:36 -08:00
Jeffrey Pfau bee854bb61 Platform: Dirmode is dead 2016-01-24 01:04:09 -08:00
Jeffrey Pfau 181174c810 Qt: Fix keys being mapped incorrectly when loading configuration file (fixes #212) 2016-01-23 20:14:46 -08:00
Jeffrey Pfau 3a134fcda6 GBA: Allow jumping to OAM and palette RAM 2016-01-23 19:52:03 -08:00
Jeffrey Pfau 6fe43d1d4c GBA BIOS: Finish implementing RegisterRamReset 2016-01-23 19:50:31 -08:00
Sergi Granell b5c813e829 Vita: Update to latest SDK version 2016-01-23 12:27:42 +01:00