Commit Graph

2644 Commits

Author SHA1 Message Date
Jeffrey Pfau 01f7036401 GBA BIOS: Fix some regressions regarding signed 16-bit loads (fixes #196) 2015-02-21 10:58:24 -08:00
Jeffrey Pfau 8a90066965 GBA Thread: Make GBASyncWaitFrameStart time out 2015-02-21 03:44:15 -08:00
Jeffrey Pfau 37fd51df39 Qt: Fix thread sync issues with QtMultimedia audio driver 2015-02-21 02:44:59 -08:00
Jeffrey Pfau 56475e578b Qt: Fix crash when starting GDB stub after closing a game 2015-02-21 02:01:55 -08:00
Jeffrey Pfau 2235dcf2ab Qt: Fix crash when adjusting settings after closing a game 2015-02-21 01:59:33 -08:00
Jeffrey Pfau 7f592f78e8 Qt: Runtime configurable audio driver 2015-02-21 01:54:50 -08:00
Jeffrey Pfau 7cad9ab33a Qt: Fix QtMultimedia build with blip 2015-02-21 01:02:26 -08:00
Jeffrey Pfau 86ff4b1577 GBA: Silence some warnings in cheats 2015-02-20 23:59:12 -08:00
Jeffrey Pfau 1994977c8f Qt: Fix crash starting a GDB stub if a game isn't loaded 2015-02-20 00:23:03 -08:00
Jeffrey Pfau d983f31b38 GBA: Fix savestate loading of DISPSTAT and WAITCNT registers 2015-02-18 02:37:21 -08:00
Jeffrey Pfau 0cdb26df54 Qt: Move frame upload back onto main thread 2015-02-17 22:22:31 -08:00
Jeffrey Pfau 848cf162af GBA Thread: Fix possible deadlock in video sync 2015-02-17 22:20:37 -08:00
Jeffrey Pfau 1273ab4ca5 Qt: Optimize logo drawing 2015-02-17 21:27:23 -08:00
Jeffrey Pfau d3ebcda24b Qt: Ability to properly copy cheats 2015-02-17 01:17:29 -08:00
Jeffrey Pfau cc214e0f44 GBA: Cheat saving 2015-02-15 04:52:21 -08:00
Jeffrey Pfau bc8175515b Util: Hopefully fix all of the Socket warnings this time 2015-02-15 00:31:57 -08:00
Jeffrey Pfau f0e99779d4 All: Fix more warnings 2015-02-14 23:47:08 -08:00
Jeffrey Pfau 2ec2e75634 Util: Fix warnings on Windows 2015-02-14 23:40:59 -08:00
Jeffrey Pfau 8c7d5b5b86 GBA: Cheat set disabling 2015-02-14 23:04:56 -08:00
Jeffrey Pfau ca6b2e7b09 Qt: Display hex values within cheats 2015-02-14 22:45:40 -08:00
Jeffrey Pfau 8741a374a5 Qt: Removing cheats 2015-02-14 18:39:18 -08:00
Jeffrey Pfau dc5fb14fa1 Qt: Clear cheats when the game ends 2015-02-14 18:04:01 -08:00
Jeffrey Pfau 297551a5be Qt: Start cheat input 2015-02-14 17:45:46 -08:00
Jeffrey Pfau c8d3488804 GBA: Split out autodetected version cheats from GameShark cheats 2015-02-14 17:44:53 -08:00
Jeffrey Pfau 0bd9ae087e Qt: Start Cheats view 2015-02-14 16:38:29 -08:00
Jeffrey Pfau 1f08d4c3c5 Debugger: Add CLI functions for examining memory regions 2015-02-13 01:14:08 -08:00
Jeffrey Pfau 90e57c027b Debugger: Rename read/write commands 2015-02-13 00:56:43 -08:00
Jeffrey Pfau 8ca2e3adbd Debugger: Make I/O register names be addresses instead of values 2015-02-13 00:49:13 -08:00
Jeffrey Pfau 61c95ed7fb Util: Fix warnings on FreeBSD 2015-02-12 00:37:52 -08:00
Jeffrey Pfau 1e71f62a3c Util: Add universal float parsing and formatting functions 2015-02-11 00:26:30 -08:00
Jeffrey Pfau f2c29bc8d6 Util: Fix Win32 build 2015-02-10 02:46:12 -08:00
Jeffrey Pfau 4b14b71861 Util: Use proper locale for reading and writing float values 2015-02-10 02:21:40 -08:00
Jeffrey Pfau 9c3e16925b GBA: Allow overriding GameShark type 2015-02-10 00:42:11 -08:00
Jeffrey Pfau 7d36331dc4 GBA: Make some codes work without master codes 2015-02-10 00:34:50 -08:00
Jeffrey Pfau 5015975e4c GBA: Fix CodeBreaker codes 2015-02-10 00:24:36 -08:00
Jeffrey Pfau 31a9bafae8 GBA: Cheats can now be grouped and named 2015-02-09 02:54:17 -08:00
Jeffrey Pfau 3d44065826 GBA: Add more Pro Action Replay v3 skeleton 2015-02-08 21:03:53 -08:00
Jeffrey Pfau 05e18ac255 GBA: Change how GameShark ROM patches work 2015-02-08 21:03:05 -08:00
Jeffrey Pfau 2b92eab1b2 GBA: Add GameShark reseeding 2015-02-08 01:26:56 -08:00
Jeffrey Pfau 3c9cc0ad87 GBA: GameShark v1/v2 codes mostly complete 2015-02-07 18:46:26 -08:00
Jeffrey Pfau e30312f360 GBA: Fix Windows build 2015-02-06 03:31:51 -08:00
Jeffrey Pfau 502fdfcfad GBA RR: Fix fallthrough error when reading tags from a movie 2015-02-05 23:39:15 -08:00
Jeffrey Pfau ef65d185a3 GBA: Support for unencrypted CodeBreaker codes 2015-02-05 03:20:02 -08:00
Jeffrey Pfau af6ead2c97 Util: Fix VFile.readline 2015-02-05 03:18:37 -08:00
Jeffrey Pfau 8eeaa11256 ARM7: Add ARMRunFake for rolling back the PC and running a fake opcode 2015-02-04 23:30:04 -08:00
Jeffrey Pfau f9110fc51e ARM7: Make component numbers be size_t instead of int 2015-02-04 02:35:30 -08:00
Jeffrey Pfau f62c068a2c Util: Add Vector append 2015-02-04 02:34:59 -08:00
Jeffrey Pfau 09cd56820f Util: Add a simple Vector definition 2015-02-04 01:11:02 -08:00
Jeffrey Pfau 15b3a3281f GBA Memory: Add GBAPatch functions for force-writing and patching memory addresses 2015-02-03 23:49:34 -08:00
Jeffrey Pfau 56291e63e5 Debugger: Add support for soft breakpoints 2015-02-03 03:12:04 -08:00
Jeffrey Pfau 8caf58ee42 ARM7: Add function for turning r15 into the address of the current instruction 2015-02-03 03:12:04 -08:00
Jeffrey Pfau 7149dd3102 GBA: Refactor gba directory, dropping gba- prefix and making supervisor directory 2015-02-03 03:12:04 -08:00
Jeffrey Pfau 5499ec8113 GBA: Refactor gba-sensors and gba-gpio into gba-hardware 2015-01-29 23:50:02 -08:00
Jeffrey Pfau 0de46a7867 GBA: Add API for getting Configuration structs for overrides and input 2015-01-29 23:16:25 -08:00
Jeffrey Pfau 370bbd83ba Qt: Rename GamePakView to OverrideView 2015-01-29 00:37:30 -08:00
Jeffrey Pfau b9c7016c30 Qt: Expand RTC to Realtime clock in strings 2015-01-29 00:37:30 -08:00
Jeffrey Pfau d665105082 Qt: Support idle loop optimization 2015-01-29 00:37:30 -08:00
Jeffrey Pfau 9992282b1c GBA: Add constant for invalid idle loop address 2015-01-29 00:25:15 -08:00
Jeffrey Pfau eb4f33e23a Qt: Split out sensor editor from override view 2015-01-28 23:37:11 -08:00
Jeffrey Pfau 41559813b7 Merge branch 'optimization/idle-loop-detection' 2015-01-28 22:34:06 -08:00
Jeffrey Pfau 7e973c207a GBA BIOS: Prevent CpuSet and CpuFastSet from using BIOS addresses as a source (fixes #184) 2015-01-27 21:43:28 -08:00
Jeffrey Pfau e61acf6218 Merge branch 'master' into optimization/idle-loop-detection 2015-01-27 02:09:53 -08:00
Jeffrey Pfau 6d08ed3dd8 GBA Video: Fix DISPSTAT write after refactor 2015-01-27 02:09:41 -08:00
Jeffrey Pfau 2dc710feeb Merge branch 'master' into optimization/idle-loop-detection
Conflicts:
	src/gba/gba-overrides.c
	src/gba/gba.c
2015-01-26 22:29:41 -08:00
Jeffrey Pfau 10ba7d16b3 GBA: Fix FFTA idle loop location 2015-01-26 01:56:44 -08:00
Jeffrey Pfau d11428ad40 GBA: Bump idle loop detection threshold to 10000 2015-01-26 01:56:44 -08:00
Jeffrey Pfau e1fc839ed8 GBA: Bump idle detection down to idle removal if a pre-vetted idle loop is known 2015-01-26 01:56:44 -08:00
Jeffrey Pfau e85e8968f2 ARM7: Tidy up decoder MSR and MRS instructions 2015-01-26 01:42:21 -08:00
Jeffrey Pfau 96bc5b9bc7 Debugger: Disassembly now lists PSR bitmasks (fixes #191) 2015-01-26 01:41:06 -08:00
Jeffrey Pfau 96ac72fbf9 Debugger: Watchpoints now report address watched (fixes #68) 2015-01-26 01:16:24 -08:00
Jeffrey Pfau 6116f730e7 Qt: Saving of game overrides 2015-01-25 16:01:03 -08:00
Jeffrey Pfau f33e9c060f Qt: Configurable game overrides for Game Pak devices 2015-01-25 15:21:48 -08:00
Jeffrey Pfau f4fcdf35d4 Debugger: Clean up debugger interface, removing obsolete state (fixes #67) 2015-01-25 13:28:14 -08:00
Jeffrey Pfau eb4c41d6fc Qt: Drag and drop game loading (fixes #146) 2015-01-25 04:54:18 -08:00
Jeffrey Pfau 0367a9db06 SDL: Properly clean up if a game doesn't launch 2015-01-25 03:37:15 -08:00
Jeffrey Pfau 19eaba3cdd GBA: Fix unmapping values that are out of range 2015-01-25 03:34:14 -08:00
Jeffrey Pfau 09db378531 Perf: Fix crash when the GBA thread fails to start 2015-01-25 03:12:53 -08:00
Jeffrey Pfau e70df7b6f7 All: Fix warnings 2015-01-25 00:24:18 -08:00
Jeffrey Pfau e67bf2fd42 Third-Party: Fix warnings in LZMA SDK 2015-01-25 00:20:46 -08:00
Jeffrey Pfau 0cf3006952 GBA Thread: Fix possible hang when loading an archive 2015-01-25 00:12:33 -08:00
Jeffrey Pfau c50b228243 All: Support 7-Zip files (fixes #151) 2015-01-25 00:11:36 -08:00
Jeffrey Pfau a30ca1ac2c Util: Add UTF-16 and UTF-8 parsing functions 2015-01-25 00:02:55 -08:00
Jeffrey Pfau 075308e837 GBA Thread: Make sure idle loop setting is set at the right time 2015-01-24 21:08:17 -08:00
Jeffrey Pfau dba275c570 GBA: Fix warning in config loader 2015-01-24 21:08:08 -08:00
Jeffrey Pfau 030f12e39f Perf: Detect idle loops by default 2015-01-24 21:08:08 -08:00
Jeffrey Pfau 43ddcf56cc Qt: Show window later that usual to ensure that it scales properly initially 2015-01-24 15:50:04 -08:00
Jeffrey Pfau 19758d7115 GBA Video: Refactor video routines to be in a more consistent state during callbacks 2015-01-24 01:02:09 -08:00
Jeffrey Pfau a7357df857 GBA Thread: Interrupting should halt the emulation as soon as possible 2015-01-24 00:32:56 -08:00
Jeffrey Pfau acb510619f Qt: Add error message if listening for GDB port fails 2015-01-21 22:57:45 -08:00
Jeffrey Pfau c7593d7073 Qt: Add menu items for adjusting in-game solar levels 2015-01-21 01:13:28 -08:00
Jeffrey Pfau fc172147ee GBA: Stop trying to detect idle loops if it fails too many times 2015-01-20 22:16:21 -08:00
Jeffrey Pfau 71e5aacd5b SDL: Faster texture uploads for GL using glTexSubImage2D 2015-01-19 22:04:15 -08:00
Jeffrey Pfau ca3566de8c Qt: Remove leftover code from GDB fixup 2015-01-19 03:21:11 -08:00
Jeffrey Pfau 2400b760c8 Qt: Fix crash if a game pauses before any frames are shown 2015-01-19 02:40:55 -08:00
Jeffrey Pfau 21f9c0107a Qt: Close GDB window when shutting down a game 2015-01-19 02:39:43 -08:00
Jeffrey Pfau 973f1a64a0 Debugger: Ensure GDB stub never hard-blocks 2015-01-19 02:34:36 -08:00
Jeffrey Pfau 29623ecd0b Qt: GDB debugger can now accept without blocking main thread 2015-01-19 01:46:16 -08:00
Jeffrey Pfau ddfffd22de GBA Memory: Fix prefetch values in Thumb mode 2015-01-19 01:16:18 -08:00
Jeffrey Pfau 6d43fb7890 Debugger: Merge Thumb BL instructions when disassembling (fixes #133) 2015-01-18 13:28:58 -08:00
Jeffrey Pfau 99d75ee9ed Debugger: Simplify debugger state machine to play nicer with the GBA thread loop 2015-01-18 02:27:25 -08:00
Jeffrey Pfau 1f75e41bae GBA: Make sure axes are properly mapped and unmapped vis-a-vis buttons 2015-01-18 01:21:01 -08:00
Jeffrey Pfau 61467cacd9 Util: Add easy way to remove keys 2015-01-18 01:19:28 -08:00
Jeffrey Pfau 0ba9d1e247 GBA Audio: Revert 16-bit audio FIFO write behavior outside of DMAs 2015-01-17 09:16:49 -08:00
Jeffrey Pfau b66ce64c47 GBA: Fix timers 2 and 3 updating incorrectly 2015-01-17 02:21:49 -08:00
Jeffrey Pfau 3a7bdbf8dd GBA: Only run idle loop detection outside of BIOS region 2015-01-17 00:53:14 -08:00
Jeffrey Pfau d49a9a84f7 Merge branch 'master' into optimization/idle-loop-detection
Conflicts:
	CHANGES
	src/gba/gba-overrides.c
	src/gba/gba-thread.h
	src/gba/gba.c
2015-01-16 02:55:21 -08:00
Jeffrey Pfau 56d5fb579d Debugger: Clean up GDB stub network interfacing 2015-01-16 00:50:15 -08:00
Jeffrey Pfau 69fb4e4c7b Util: Fix SOCKET_FAILED macro 2015-01-16 00:11:50 -08:00
Jeffrey Pfau d5ce3d5ee1 Debugger: Enable GDB stub to update while running 2015-01-15 21:23:32 -08:00
Jeffrey Pfau 535d179eb0 GBA: Improve accuracy of event timing 2015-01-15 20:52:49 -08:00
Jeffrey Pfau 900dc3c13f GBA Audio: Properly initialize audio FIFO channels 2015-01-15 20:49:39 -08:00
Jeffrey Pfau c2040a1f63 GBA Video: Fix mode 0 being able to read tiles above appropriate tile range 2015-01-15 02:01:33 -08:00
Jeffrey Pfau 1a9b0eec6f GBA BIOS: Fix HuffUnComp boundary conditions 2015-01-15 01:35:02 -08:00
Jeffrey Pfau 06bf931b77 GBA Memory: Fix alignment of open bus 8- and 16-bit loads 2015-01-15 01:10:54 -08:00
Jeffrey Pfau 1119d773e1 Util: Fix some warnings 2015-01-15 00:13:41 -08:00
Jeffrey Pfau 543ffac706 GBA: Add prefetch data to savestate 2015-01-14 22:39:23 -08:00
Jeffrey Pfau 10b0ad961a GBA BIOS: Fix BIOS prefetch after reset 2015-01-14 22:08:51 -08:00
Jeffrey Pfau 68e6fc4dd7 GBA BIOS: Fix BIOS prefetch after returning from an IRQ 2015-01-14 22:06:55 -08:00
Jeffrey Pfau 6f11092565 Debugger: Make watchpoints work with STM/LDM (fixes #169) 2015-01-14 20:51:07 -08:00
Jeffrey Pfau 7bc39569ed GBA Video: Start video at the last scanline instead of the first 2015-01-14 02:29:45 -08:00
Jeffrey Pfau e7dd041618 GBA BIOS: Fix BIOS prefetch after returning from an HLE SWI 2015-01-14 00:51:37 -08:00
Jeffrey Pfau cf88e47a8a GBA Memory: Fix initial DMA state 2015-01-14 00:28:49 -08:00
Jeffrey Pfau 47661def29 GBA BIOS: Reject bit length 1 in HuffUnComp 2015-01-13 21:37:38 -08:00
Jeffrey Pfau 369ccc6402 GBA Memory: Properly bounds-check VRAM accesses 2015-01-13 21:24:41 -08:00
Jeffrey Pfau 787b2bd1a3 GBA BIOS: Fix GetBiosChecksum to return the value of a real GBA, regardless of used BIOS 2015-01-13 21:23:07 -08:00
Jeffrey Pfau 2688642f01 GBA BIOS: Fix HuffUnComp to work when games pass an invalid bit length 2015-01-13 20:46:29 -08:00
Jeffrey Pfau cb14f00279 GBA: Even less stringent GBA ROM detection 2015-01-13 04:06:47 -08:00
Jeffrey Pfau c05b166469 SDL: Clean up key handling, change rewind key to backtick 2015-01-13 03:02:36 -08:00
Jeffrey Pfau b9623efc0c Perf: Load the config file 2015-01-13 02:41:49 -08:00
Jeffrey Pfau 466916729e GBA: Configurable game overrides 2015-01-13 02:41:49 -08:00
Jeffrey Pfau eb81fc3c65 Perf: Load the config file 2015-01-13 02:40:01 -08:00
Jeffrey Pfau cafc67a606 GBA: Make idle loop detection configurable 2015-01-13 02:39:48 -08:00
Jeffrey Pfau 542662ca68 Merge branch 'master' into optimization/idle-loop-detection
Conflicts:
	CHANGES
2015-01-13 01:57:45 -08:00
Jeffrey Pfau 5f62e33717 GBA: Configurable game overrides 2015-01-13 01:54:02 -08:00
Jeffrey Pfau eced06bc2a GBA: Split out save autodetect from no save present 2015-01-12 00:59:48 -08:00
Jeffrey Pfau 19648c786d GBA SIO: Add timing data 2015-01-11 16:31:02 -08:00
Jeffrey Pfau 8118c94c81 GBA: Move numbered savestate loading to GBAThread, clear rewind buffer when loading (fixes #174) 2015-01-11 06:24:24 -08:00
Jeffrey Pfau 1fe5a7847a Util: Perform checksum validation on BPS patches 2015-01-11 06:22:58 -08:00
Jeffrey Pfau 8c2d3e5d59 Util: Add BPS patch support (fixes #150) 2015-01-11 01:38:04 -08:00
Jeffrey Pfau a6001496bc Util: Add VFile.size function (fixes #153) 2015-01-11 00:35:26 -08:00
Jeffrey Pfau c8be60f88b Qt: Restrict load types 2015-01-10 23:28:41 -08:00
Jeffrey Pfau 087810a125 Qt: Error dialog if a game fails to load 2015-01-10 23:28:30 -08:00
Jeffrey Pfau 78002b4df7 GBA: Add overrides for Japanese Boktai games 2015-01-10 23:17:43 -08:00
Jeffrey Pfau 372eb39599 Qt: Save directory of last loaded file 2015-01-10 22:46:59 -08:00
Jeffrey Pfau 97291824a5 GBA BIOS: Fix LZ77UnCompVram to use 16-bit loads from decompressed memory 2015-01-10 20:55:01 -08:00
Jeffrey Pfau 54ef61f715 GBA: Implement idle loop detection 2015-01-10 15:44:11 -08:00
Jeffrey Pfau 293831e3bf ARM: Fix some decoder errors 2015-01-10 14:19:05 -08:00
Jeffrey Pfau 7a3db31eb2 Perf: Return non-zero if a game crashes 2015-01-10 04:44:09 -08:00
Jeffrey Pfau cd4c790050 GBA Memory: Fix open bus 16-bit loads 2015-01-10 04:44:09 -08:00
Jeffrey Pfau 6d18b9aea5 GBA Memory: Simplify memory API and use fixed bus width 2015-01-10 01:20:21 -08:00
Jeffrey Pfau f0f929665e Qt: Fix window geometry on launch when window is still hidden 2015-01-09 23:23:31 -08:00
Jeffrey Pfau 76bf0427f1 Util: Support IPv6 2015-01-09 02:03:57 -08:00
Jeffrey Pfau 968069ff5e GBA: Fix logging moving events 2015-01-08 23:46:31 -08:00
Jeffrey Pfau f22391275b SDL: Better error checking 2015-01-08 20:06:05 -08:00
Jeffrey Pfau f05a385d6a GBA Thread: Add a crashed state to the thread 2015-01-08 20:06:05 -08:00
Jeffrey Pfau 4d0f855923 Debugger: Add rewind command 2015-01-08 20:06:05 -08:00
Jeffrey Pfau da094de3da Debugger: Fix binary print putting spaces between digits 2015-01-08 01:03:27 -08:00
Jeffrey Pfau 12fce1fba0 Qt: Migrate axis bindings to GamepadAxisEvent 2015-01-08 00:24:43 -08:00
Jeffrey Pfau f2e24f9c55 GBA BIOS: Implement SoftReset 2015-01-07 22:33:16 -08:00
Jeffrey Pfau afc0a9df57 GBA BIOS: Implement (most of) RegisterRamReset 2015-01-07 22:24:18 -08:00
Jeffrey Pfau 600080ba0c GBA BIOS: Implement Diff8bitUnFilterVram 2015-01-07 21:43:21 -08:00
Jeffrey Pfau fb35a8b3f7 GBA BIOS: Clean up decompression routines and add writeback 2015-01-07 21:31:39 -08:00
Jeffrey Pfau 7059fcc257 GBA BIOS: Fix Diff16bitUnFilter 2015-01-07 21:30:04 -08:00
Jeffrey Pfau 9da3e5e1f9 Util: Fix socket code to not use struct designated initialization 2015-01-07 02:06:38 -08:00
Jeffrey Pfau aa12eeef3a Qt: Update debugger portions to use threadInterrupt/threadContinue 2015-01-07 02:05:52 -08:00
Jeffrey Pfau 7a7dcea212 GBA: Remove unused GBAError struct 2015-01-07 02:05:18 -08:00
Jeffrey Pfau f9120b842f ARM: Create component hotplugging and use it for attaching and detaching the debugger 2015-01-07 02:05:04 -08:00
Jeffrey Pfau 30c28f2259 GBA Memory: Filter out top nybble of DMA addresses 2015-01-07 00:58:31 -08:00
Anthony J. Bentley ce28d6d966 All: Clarify that -p takes an argument. (Merge pull request #2) 2015-01-07 00:13:47 -08:00
Jeffrey Pfau c3fef5febd GBA Video: Properly combine OBJWIN blend flags with BG blend flags 2015-01-07 00:09:10 -08:00
Jeffrey Pfau fac82c2ca1 GBA BIOS: Implement Diff8bitUnFilterWram and Diff16bitUnFilter 2015-01-06 23:07:59 -08:00
Jeffrey Pfau f97ba6517b Qt: Expose rewind (fixes #136) 2015-01-05 23:14:07 -08:00
Jeffrey Pfau d6e24b2051 GBA Thread: Rewind API enhancements 2015-01-05 23:11:56 -08:00
Jeffrey Pfau 5c699e9d6c GBA: Fix rewind boundary conditions 2015-01-05 22:56:56 -08:00
Jeffrey Pfau 24fc26d560 GBA Video: Properly separate OBJWIN blend flags from BG blend flags 2015-01-05 04:19:15 -08:00
Jeffrey Pfau ec5445d5ad Qt: Allow tab and backtab to be mapped for key sequences 2015-01-05 02:27:50 -08:00
Jeffrey Pfau 851d942cdd Qt: Fix a few more UX grievances 2015-01-05 02:06:37 -08:00
Jeffrey Pfau c90d105e34 Qt: Add clear button for shortcut editor 2015-01-05 01:57:25 -08:00
Jeffrey Pfau 3854c7e401 Qt: Fix a handful of UX issues with gamepad mapping 2015-01-05 01:17:53 -08:00
Jeffrey Pfau e263467f13 Qt: Fix focus loss after cancelling a save state load/save 2015-01-05 01:01:49 -08:00
Jeffrey Pfau 721145a319 Qt: Persist shortcut configurations to a settings file 2015-01-05 00:13:57 -08:00
Jeffrey Pfau 92f877e6a7 Qt: Move MRU to QSettings 2015-01-04 23:23:08 -08:00
Jeffrey Pfau 4da22679b9 Qt: Only send button events if there is a widget in focus 2015-01-04 22:45:20 -08:00
Jeffrey Pfau ac686e3942 Qt: Clear axis direction when setting a button value (fixes #179) 2015-01-04 22:35:41 -08:00
Jeffrey Pfau c96c1f6211 Qt: Fix some cases where key mapping can break if focus is adjusted 2015-01-04 22:30:23 -08:00
Jeffrey Pfau 4fdb4991f4 GBA: Detect when a BIOS file is not actually a BIOS file 2015-01-04 19:11:46 -08:00
Jeffrey Pfau 98a6510b92 Qt: Fix race condition when a game crashes immediately 2015-01-04 19:11:46 -08:00
Jeffrey Pfau 811ad23e61 Qt: Shortcut view now supports held events 2015-01-04 16:49:10 -08:00
Jeffrey Pfau a1480e2698 Qt: Get submenus working with the shortcut editor 2015-01-04 15:46:35 -08:00
Jeffrey Pfau 33c4b17941 Qt: Add GamepadButtonEvent and remove signal associated; use this for button controls in emulator 2015-01-04 04:23:20 -08:00
Jeffrey Pfau 53c586044d Qt: Allow shortcuts to be controlled with a gamepad 2015-01-04 02:16:43 -08:00
Jeffrey Pfau d15c4f4bfb Qt: Refactor out gamepad monitoring code into a new class 2015-01-04 01:14:36 -08:00
Jeffrey Pfau 0ce8ca36fa Qt: Start on key shortcut editor 2015-01-03 23:57:37 -08:00
Jeffrey Pfau bb78cc1bd3 Qt: Move settings items to consistent location in Tools 2015-01-03 14:59:27 -08:00
Jeffrey Pfau caef397ad4 Qt: Fix build on OS X with Qt 5.4 2015-01-03 13:08:47 -08:00
Jeffrey Pfau 9ec24a5b97 Qt: Minor code cleanup for setTurbo 2015-01-02 02:04:09 -08:00
Jeffrey Pfau 569e6ef7db Qt: Clear active buttons when focus is lost 2015-01-02 02:03:12 -08:00
Jeffrey Pfau 3384863382 GBA Audio: Fix GB audio channels being too quiet 2015-01-01 23:19:16 -08:00
Jeffrey Pfau 9933c58eec Qt: Fix integer overflow in frame -> seconds calculation 2015-01-01 22:40:55 -08:00
Jeffrey Pfau 682ed7dcee Qt: Add "Now" button to RTC overrides 2015-01-01 16:26:42 -08:00
Jeffrey Pfau d676d26f5f Qt: Use low logLevel for GBA object, overridden by GBAThread 2015-01-01 16:05:36 -08:00
Jeffrey Pfau 642ba374e7 GBA: Allow GBAThread to override GBA object logLevel 2015-01-01 16:05:07 -08:00
Jeffrey Pfau b51710e92f GBA: Use GBALog with appropriate GBA object in new GPIO code 2015-01-01 16:04:05 -08:00
Jeffrey Pfau 6938c8bea6 Video: Fix FFmpeg crashing when the file extension is wrong 2015-01-01 14:51:20 -08:00
Jeffrey Pfau 24e10fe0df Qt: Fix Windows build 2015-01-01 03:36:48 -08:00
Jeffrey Pfau da5d109d69 GBA: Add frame counter and more GPIO state to savestates 2015-01-01 03:21:29 -08:00
Jeffrey Pfau 8c0f082a83 Qt: RTC overrides 2015-01-01 03:01:40 -08:00
Jeffrey Pfau f534638342 Qt: Add tilt sensor properly into the Game Pak override interface 2015-01-01 00:43:33 -08:00
Jeffrey Pfau 85c3ed4178 GBA Video: Fix sprite boundary conditions with mosaic 2014-12-31 20:53:50 -08:00
Jeffrey Pfau bbfd7d8e2c GBA Video: Fix window interactions with 16-color mode 0 mosaic 2014-12-31 19:59:26 -08:00
Jeffrey Pfau eeb7060bda SDL: Fix blip audio buffer repeat while paused 2014-12-31 14:51:52 -08:00
Jeffrey Pfau c141063101 GBA: Implement tilt sensor 2014-12-31 14:43:02 -08:00
Jeffrey Pfau c9b8254971 GBA Audio: Remove sample rate adjustment code 2014-12-31 13:41:34 -08:00
Jeffrey Pfau d83b00e4fa GBA: Put in tilt sensor stubs 2014-12-31 04:43:06 -08:00
Jeffrey Pfau 38a4e9988f All: Silence a few warnings 2014-12-31 03:11:06 -08:00
Jeffrey Pfau aaf96b43cd Qt: Fix bug with frame not resizing properly 2014-12-31 02:27:29 -08:00
Jeffrey Pfau 794b9f0e64 Qt: Actually enable light sensor control widgets 2014-12-31 00:56:39 -08:00
Jeffrey Pfau 7935d58eac Qt: Light sensor setting from GUI 2014-12-30 23:24:39 -08:00
Jeffrey Pfau d759305e23 Qt: Game Pak override dialog, half implemented 2014-12-30 22:56:55 -08:00
Jeffrey Pfau a55a3cb4d4 GBA: Refactor out savetype forcing 2014-12-30 22:56:17 -08:00
Jeffrey Pfau 1e60a30114 GBA Video: Fix sprite mis-ordering behavior in some cases (fixes #168) 2014-12-29 23:33:12 -08:00
Jeffrey Pfau 38cb3eeaa8 Merge branch 'feature/blip-buf' 2014-12-29 02:38:38 -08:00
Jeffrey Pfau 4fa9401971 Qt: Fix OS X build in some unusual circumstances 2014-12-29 02:34:16 -08:00
Jeffrey Pfau 73a6b47879 GBA Audio: Rip out FFmpeg resampler 2014-12-29 01:51:50 -08:00
Jeffrey Pfau b92ed79a85 GBA Audio: Add blip_buf support 2014-12-29 01:45:24 -08:00
Jeffrey Pfau 37d21b24b8 Qt: Remove absolute path for bundle installation to make CPack work 2014-12-27 19:11:48 -08:00
Jeffrey Pfau 27eb75fcde Qt: Replace macdeployqt with tools/deploy-mac.py 2014-12-27 18:17:47 -08:00
Jeffrey Pfau 747fcca3b2 Debugger: Add CLI functions for writing to memory 2014-12-26 01:40:50 -08:00
Jeffrey Pfau 63d4929c0c GBA: Ability to use an external source for the RTC 2014-12-26 01:37:24 -08:00
Jeffrey Pfau 90a3872552 GBA: Fix GPIO being readable when set to write-only 2014-12-25 14:49:06 -08:00
Jeffrey Pfau f25821524d Debugger: Fix watchpoints triggering too late 2014-12-25 14:48:30 -08:00
Jeffrey Pfau ca51098ca0 GBA: Hook up light sensor API 2014-12-25 04:17:33 -08:00
Jeffrey Pfau 9b1769d67d GBA: Implement light sensor GPIO interface with a hardcoded value for the moment 2014-12-25 04:17:32 -08:00
Jeffrey Pfau a6f895da7d Debugger: Align PC-relative loads in Thumb 2014-12-25 04:17:32 -08:00
Jeffrey Pfau 8515036cb9 Qt: Further CMakeLists fixes 2014-12-25 04:03:07 -08:00
Jeffrey Pfau b6d189d88b GBA Video: Fix windows not disabling target 1 appropriately (fixes #161) 2014-12-24 20:27:52 -08:00
Jeffrey Pfau b8076be860 All: Use COMPONENT for selecting installation pieces 2014-12-24 18:40:36 -08:00
Jeffrey Pfau 9edf42b454 Video: Fix uncompressed PCM audio recording 2014-12-24 00:06:26 -08:00
Jeffrey Pfau 6656f53f61 Qt: Fix uninitialized value 2014-12-23 23:15:40 -08:00
Jeffrey Pfau d6def0d407 Video: Ensure FFmpeg encoder has audio frames 2014-12-23 23:15:40 -08:00
Jeffrey Pfau 55df6ce26b Qt: Guard GDBController class with an ifdef 2014-12-23 23:00:24 -08:00
Jeffrey Pfau 280c803305 Qt: Fix FPS target and SDL initialization audio issues 2014-12-23 21:58:29 -08:00
Jeffrey Pfau 5b3a2e04b1 GBA Audio: Redo lavr audio loop 2014-12-23 21:57:42 -08:00
Jeffrey Pfau e89e7cc18a GBA: Fix prefetch value on bus 2014-12-23 03:00:51 -08:00
Jeffrey Pfau c942758af0 GBA Memory: Implement 16- and 32-bit loads from SRAM 2014-12-23 02:59:26 -08:00
Jeffrey Pfau 65bb4b4996 Qt: Add FPS target back to settings view 2014-12-23 00:26:47 -08:00
Jeffrey Pfau 2414df6527 Qt: Fix maxing out at 120 FPS on OS X 2014-12-23 00:23:31 -08:00
Jeffrey Pfau ee8dedeea1 GBA Video: Fix blend issues with obscured middle layers 2014-12-23 00:10:08 -08:00
Jeffrey Pfau 6cc8890226 Qt: Add MRU list 2014-12-22 23:00:31 -08:00
Jeffrey Pfau 9c92a29b28 3DS: Remove duplicate license headers 2014-12-22 21:57:31 -08:00
Jeffrey Pfau 0d4999ff33 Qt: Clarify some phrasing in the menus 2014-12-21 22:24:19 -08:00
Jeffrey Pfau c91c46ce97 GBA Audio: Audio buffer sizes are now correct sizes for both sample rates 2014-12-21 21:30:59 -08:00
Jeffrey Pfau 892a5e5d5e GBA Audio: Make larger buffer sizes than 2048 actually work properly 2014-12-21 21:27:55 -08:00
Jeffrey Pfau c7a49ce8f2 Qt: Set default log level to FATAL, ERROR and WARN 2014-12-21 20:22:49 -08:00
Jeffrey Pfau 9a0640f834 GBA: Add option to skip BIOS start screen 2014-12-21 20:21:27 -08:00
Jeffrey Pfau f53f9555a2 GBA: Add bilinear resampling option 2014-12-21 16:50:55 -08:00
Jeffrey Pfau 7c8f1d9726 Qt: Rudimentary settings window 2014-12-21 16:29:56 -08:00
Jeffrey Pfau 22826f2e7a Qt: Fix config options being erroneously added as null 2014-12-21 16:01:55 -08:00
Jeffrey Pfau 4420309dc5 Qt: Properly set default video recording settings 2014-12-21 15:24:49 -08:00
Jeffrey Pfau 830511472a GBA Memory: Properly initialize 1 Mb flash, and add debug logging 2014-12-21 14:49:54 -08:00
Jeffrey Pfau c52a5d2859 GBA Audio: Support 16-bit writes to FIFO audio 2014-12-21 03:19:56 -08:00
Jeffrey Pfau ce0ad004e4 GBA Audio: Better audio resampling via FFmpeg 2014-12-21 02:13:27 -08:00
Jeffrey Pfau 660ac6a6be GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples 2014-12-21 02:13:27 -08:00
Jeffrey Pfau 2fb098cb01 GBA Config: Expose emulator config directory 2014-12-20 18:41:41 -08:00
Jeffrey Pfau 0a3cf87745 Debugger: Negative PC-relative loads now properly subtract the offset 2014-12-20 15:10:54 -08:00
Jeffrey Pfau 48c0dcf320 GBA BIOS: Fix BIOS prefetch after returning from a SWI 2014-12-20 06:08:55 -08:00
Jeffrey Pfau 28ac288d2c ARM7: Extend prefetch by one stage 2014-12-20 05:19:16 -08:00
Jeffrey Pfau f57b47b3f2 GBA Memory: Fix value obtained from missing SRAM 2014-12-20 05:17:29 -08:00
Jeffrey Pfau da612b51e8 Debugger: Add CLI "frame", frame advance command 2014-12-20 01:43:48 -08:00
Jeffrey Pfau 9aed9754d0 Qt: Handle a game crash without crashing 2014-12-19 20:36:38 -08:00
Jeffrey Pfau 802e4b8720 GBA: Exit cleanly on FATAL if the port supports it 2014-12-19 20:36:38 -08:00
Jeffrey Pfau 6bb61bc670 GBA Memory: Don't call into GPIO write calls if GPIO devices are absent 2014-12-19 20:36:38 -08:00
Jeffrey Pfau 7c7af90b5c Qt: Set strong focus policy on main Window 2014-12-18 02:17:17 -08:00
Jeffrey Pfau 58d8cdde82 Qt: Focusing a button when mapping a gamepad now works 2014-12-18 01:31:20 -08:00
Jeffrey Pfau 61fc28e03e Qt: Ensure holding down a button while mapping only takes effect once 2014-12-18 01:20:37 -08:00
Jeffrey Pfau e80cf92eee Qt: Return active axis values as signs, to ensure sets are consistent 2014-12-18 01:20:08 -08:00
Jeffrey Pfau 0ae81e6e8f Qt: Improved versioning information 2014-12-17 21:25:43 -08:00
Jeffrey Pfau 3d21ce1fd0 ARM7: Fix LDM writeback to a register already written 2014-12-17 21:15:49 -08:00
Jeffrey Pfau 9eca161dc9 GBA BIOS: Fix HLE Lz77 and RL functions to properly account for width and invalid addresses 2014-12-17 02:36:22 -08:00
Jeffrey Pfau 9bd5b02644 GBA Video: Remove stale renderers 2014-12-16 23:30:18 -08:00
Jeffrey Pfau 9c1ec8c96d GBA Thread: Allow halted games to exit cleanly 2014-12-16 22:36:46 -08:00
Jeffrey Pfau 43b0d070b8 SDL: Add scale presets for up to 6x 2014-12-16 22:25:35 -08:00
Jeffrey Pfau 65a8a4e76b Qt: Add scale presets for up to 6x 2014-12-16 22:23:58 -08:00
Jeffrey Pfau 0351d2e0ec Qt: Fix emulator crashing when full screen if a game is not running 2014-12-16 22:13:42 -08:00
Jeffrey Pfau d0604c35af Qt: Add ability to lock aspect ratio (fixes #147) 2014-12-16 01:33:08 -08:00
Jeffrey Pfau 1ee69deffb Qt: Fix issue with set frame sizes being the wrong height 2014-12-16 00:21:29 -08:00
Jeffrey Pfau fcac245b98 Qt: Fix crash when mapping gamepad if no key is selected 2014-12-16 00:12:57 -08:00
Jeffrey Pfau 412aa147ea Qt: Axis mapping 2014-12-14 21:16:17 -08:00
Jeffrey Pfau 1c1fbfe163 GBA Input: Add ability to save configured axes 2014-12-14 00:56:06 -08:00
Jeffrey Pfau a9106d526c GBA Input: Add key names 2014-12-14 00:55:48 -08:00
Jeffrey Pfau 1b6389164c Util: Enumerating a Table should list the key, too 2014-12-14 00:41:03 -08:00
Jeffrey Pfau 2b6462c3a8 Qt: Fix axes overriding hats 2014-12-14 00:28:15 -08:00
Jeffrey Pfau 0aea272583 SDL: Axis mapping loading 2014-12-14 00:27:57 -08:00
Jeffrey Pfau 9b74e27d7a Qt: Disable sync to video by default 2014-12-14 00:01:48 -08:00
Jeffrey Pfau a10a84aa89 SDL: Add gamepad axis support, not currently mappable 2014-12-14 00:00:48 -08:00
Jeffrey Pfau e25fa272a8 Qt: Fix Qt::5Multimedia build 2014-12-13 16:07:04 -08:00
Jeffrey Pfau a66fa48aa5 Qt: Fix build if USE_GDB_STUB is disabled 2014-12-12 14:33:52 -08:00
Jeffrey Pfau 8ea97f0047 Perf: Fix deadlock when interrupting the process 2014-12-12 01:10:53 -08:00
Jeffrey Pfau 31f0e179c0 GBA Thread: Wake up threads waiting for frames when ending a GBA thread 2014-12-11 22:34:07 -08:00
Jeffrey Pfau 7faee5a426 GBA: Fix I/O register lookup table 2014-12-11 16:08:37 -08:00
Jeffrey Pfau ad2c401505 GBA Thread: Properly stop thread when video wait is enabled 2014-12-11 04:57:37 -08:00
Jeffrey Pfau 4d7fbf37db All: Add Debian-style dependencies for CPack 2014-12-10 21:26:55 -08:00
Jeffrey Pfau e0851f2f44 Qt: Fix build if QtMultimedia is not installed 2014-12-10 19:55:48 -08:00
Jeffrey Pfau 29ea8d1539 Video: Make FFmpeg encoder work with libav 2014-12-10 19:55:27 -08:00
Jeffrey Pfau 8cf1e449f0 Qt: Set default audio buffer size to 2048 to ensure smoothness on as many platforms as possible 2014-12-10 17:21:32 -08:00
Jeffrey Pfau 6d23328bda GBA Memory: Force disable a repeating DMA when it would repeat infinitely 2014-12-10 06:44:39 -08:00
Jeffrey Pfau d931dab37c 3DS: Press X to go back to homebrew menu 2014-12-10 05:38:31 -08:00
Jeffrey Pfau 5f7bbb1c4d 3DS: Rotate and center screen 2014-12-10 04:55:05 -08:00
Jeffrey Pfau 57828f6d85 3DS: Get input working 2014-12-10 03:13:38 -08:00
Jeffrey Pfau 40d14fe613 3DS: General cleanup 2014-12-10 03:13:26 -08:00
Jeffrey Pfau 2d6749f8c8 3DS: Use linearAlloc instead of malloc 2014-12-10 03:12:47 -08:00
Jeffrey Pfau 07464e8f2b GBA: Cap out the ROM loaded size 2014-12-10 01:46:12 -08:00
Jeffrey Pfau ae71a7ec19 GBA: Cap out the ROM loaded size 2014-12-10 01:44:22 -08:00
Jeffrey Pfau 3d5e0f29fa 3DS: Better implementation of VFile3DS.map 2014-12-10 01:43:56 -08:00
Jeffrey Pfau 82cccd74eb 3DS: Working main loop 2014-12-10 01:43:32 -08:00
Jeffrey Pfau 13a6f4b924 3DS: Fixes to CMakeToolchain 2014-12-10 01:39:55 -08:00
Jeffrey Pfau 21cdbf6438 3DS: Implement threading primitives, but leave them disabled 2014-12-09 23:47:39 -08:00
Jeffrey Pfau bdb6a46910 3DS: Fix name of libctru 2014-12-09 23:18:22 -08:00
Jeffrey Pfau 63a439406c GBA Memory: Fix DMA cycle counting 2014-12-09 17:04:48 -08:00
Jeffrey Pfau c5cf9957a1 GBA Thread: Revert 0a946a0b43, it broke vsync 2014-12-09 15:55:19 -08:00
Jeffrey Pfau df3f2796f7 GBA: Error check to make sure ROM and BIOS mapping succeed 2014-12-09 15:19:51 -08:00
Jeffrey Pfau 090048ec06 GBA Thread: Handle the lack of a sync object properly 2014-12-09 12:58:47 -08:00
Jeffrey Pfau 7edf934a59 GBA Thread: Handle the lack of a sync object properly 2014-12-09 12:58:35 -08:00
Jeffrey Pfau da3c45a0e7 3DS: Clean out unnecessary abstraction in VFS 2014-12-09 03:46:34 -08:00
Jeffrey Pfau 4b5822a8ec 3DS: Add 3DS main file 2014-12-08 19:39:07 -08:00
Jeffrey Pfau 39c88da650 3DS: Add VFile3DS type 2014-12-08 19:32:29 -08:00
Jeffrey Pfau d6952b6fa6 3DS: Add 3dstool relocation 2014-12-08 18:58:45 -08:00
Jeffrey Pfau 211616e4f1 3DS: 3DS-capable version of _vfdMap and _vfdUnmap 2014-12-08 18:58:19 -08:00
Jeffrey Pfau 461eb3bae0 GBA Thread: Dummy out threading functions, let GBASync* functions still be called 2014-12-08 18:50:08 -08:00
Jeffrey Pfau 53023441da GBA Thread: Dummy out threading functions, let GBASync* functions still be called 2014-12-08 18:49:05 -08:00
Jeffrey Pfau 2aae3dc660 3DS: Progress on 3DS linking 2014-12-08 18:42:13 -08:00
Jeffrey Pfau 4748ef7d5d 3DS: Update CMakeToolchain with properties from devkitARM makefiles 2014-12-08 18:36:52 -08:00
Jeffrey Pfau b2a4780b17 3DS: Get core library building on 3DS 2014-12-08 17:42:17 -08:00
Jeffrey Pfau eb2315cdd8 3DS: Add CMakeToolchain for 3DS 2014-12-08 16:02:11 -08:00
Jeffrey Pfau ed8852bbe0 GBA Thread: Add half-baked ability to disable threading 2014-12-08 16:00:08 -08:00
Jeffrey Pfau a4a7ef4a1b Debugger: Properly isolate CLI debugger code 2014-12-08 15:59:17 -08:00
Jeffrey Pfau 9299b75be5 Qt: Rename project binaries for platforms excluding OS X and Windows 2014-12-06 19:25:57 -08:00
Jeffrey Pfau 5a9cf99249 Qt: Bundle OS X target app 2014-12-06 19:11:10 -08:00
Jeffrey Pfau f6a7fedb28 All: Add MPL 2.0 license and associated headers 2014-12-03 00:39:06 -08:00
Jeffrey Pfau e6ea94d229 Qt: Rudimentary gamepad mapper 2014-12-03 00:07:56 -08:00
Jeffrey Pfau 091e717133 Qt: Add Opus to the audio codec mapping and list 2014-11-28 14:41:33 -08:00
Jeffrey Pfau eb2809829d Qt: Show FPS in title bar 2014-11-27 17:35:25 -08:00
Jeffrey Pfau 12a014e726 GBA: Add load and save CLI debugger commands 2014-11-27 11:18:41 -08:00
Jeffrey Pfau 97931784e7 GBA: Do not put decoded image on the stack 2014-11-27 11:18:22 -08:00
Jeffrey Pfau 55ba676d7c Debugger: Actually execute system commands 2014-11-27 11:02:47 -08:00
Jeffrey Pfau 15ef638f95 GBA: Add identifier lookup for GBA registers 2014-11-27 10:36:19 -08:00
Jeffrey Pfau 4a9b87cfd0 GBA: Add skeleton of GBA-specific CLI debugger 2014-11-27 10:11:10 -08:00
Jeffrey Pfau a8731d280f Debugger: Add support for additional platforms in CLI 2014-11-27 09:47:03 -08:00
Jeffrey Pfau 8ec961d2e8 Debugger: Add reset command 2014-11-27 08:58:22 -08:00
Jeffrey Pfau e7fa65f876 SDL: Ensure that the emulation loop cannot end between a redraw and an SDL event poll 2014-11-27 08:48:58 -08:00
Jeffrey Pfau 65d74a2e34 Qt: Discard log levels without cross-thread communication if we can 2014-11-27 01:23:25 -08:00
Jeffrey Pfau 467fbcf54d GBA: Add overrides for Pokemon Mystery Dungeon 2014-11-27 00:39:56 -08:00
Jeffrey Pfau 64ba9d2d8e GBA: Make sure interrupting the thread actually pauses it 2014-11-27 00:06:49 -08:00
Jeffrey Pfau 22e7eff33c GBA BIOS: Clear BIOS-acknowledged interrupt flag before IntrWait 2014-11-26 00:34:28 -08:00
Jeffrey Pfau e3573d402f Qt: Remove aac codec mapping; ffmpeg has a built-in aac encoder 2014-11-25 05:08:20 -08:00
Jeffrey Pfau 0cbe5eb4ad Qt: Require CMake 2.8.11 2014-11-25 04:55:44 -08:00
Jeffrey Pfau c5e5efca2e Perf: Fix perf build on Windows 2014-11-25 04:55:00 -08:00
Jeffrey Pfau 6a40e3e455 SDL: Use constants instead of literals for the screen dimensions 2014-11-23 04:37:03 -08:00
Jeffrey Pfau 3177226e8e GBA: BLDALPHA is readable 2014-11-23 00:24:02 -08:00
Jeffrey Pfau 5a0e4e7a2d GBA Audio: Fix integer overflow sampling of channel 3 2014-11-23 00:23:37 -08:00
Jeffrey Pfau ebe543e482 GBA Video: Fix another window bug with windows going too far 2014-11-22 23:33:09 -08:00
Jeffrey Pfau 89f7a69f3a GBA Video: Fix vertical window wrapping 2014-11-22 20:17:24 -08:00
Jeffrey Pfau a1712f038d GBA Video: Fix poorly documented window case with windows that wrap around 2014-11-22 19:56:59 -08:00
Jeffrey Pfau 881dc1d8a3 Qt: Always show menu bar when paused, even in full screen 2014-11-22 02:10:50 -08:00
Jeffrey Pfau 636e01d8df Video: Fix ImageMagick warnings 2014-11-22 00:39:14 -08:00
Jeffrey Pfau 279cc1027b GBA Video: Fix a format string warning 2014-11-22 00:33:41 -08:00
Jeffrey Pfau 942ae92c4e GBA Video: Disable sentinel code in release builds 2014-11-22 00:24:55 -08:00
Jeffrey Pfau ed70ab9f05 Qt: Fix erroneous filename casing 2014-11-21 00:58:10 -08:00
Jeffrey Pfau 90b27e758a GBA: Fix DMA count register not being copied into savestate 2014-11-21 00:40:30 -08:00
Jeffrey Pfau 52b96e16f8 GBA Video: Reset renderer when reseting video 2014-11-20 22:58:26 -08:00
Jeffrey Pfau cf55fcbb52 GBA: Improve reset behavior 2014-11-20 22:55:29 -08:00
Jeffrey Pfau 1205ff1895 GBA Video: Fix edge cases in mode 0 rendering, add sentinels to make sure any more get caught 2014-11-20 22:34:19 -08:00
Jeffrey Pfau 38ab86fdcb GBA: Add DANGER level, which is ERROR in release and FATAL in debug 2014-11-20 22:34:18 -08:00
Jeffrey Pfau 271211846f GBA Video: Fix windowing with sprites after c9f0ac5 2014-11-20 22:34:18 -08:00
Jeffrey Pfau d8b7452526 SDL: Fix SDL audio in some cases 2014-11-20 22:34:04 -08:00
Jeffrey Pfau 51896cdcd6 Qt: Use SDL audio, when available 2014-11-19 23:14:44 -08:00
Jeffrey Pfau 853bcec0c2 ARM: Use a more robust ROR idiom 2014-11-19 03:37:40 -08:00
Jeffrey Pfau 9e400e86da ARM: multiply wait macros should write to local variable instead of global cycle count 2014-11-19 03:37:40 -08:00
Jeffrey Pfau 3c41bd2427 ARM: Reduce size of ARM condition prediction 2014-11-19 03:37:40 -08:00
Jeffrey Pfau 845d6e1d24 ARM: Run tighter loop in CPU 2014-11-19 03:37:40 -08:00
Jeffrey Pfau 888b64f8b5 Video: GIF encoder using ImageMagick 2014-11-19 03:36:14 -08:00
Jeffrey Pfau 0308f136c7 GBA Memory: partially unroll loops for LDM/STM and add UNLIKELYs 2014-11-18 04:37:17 -08:00
Jeffrey Pfau d49df216b8 GBA Memory: Simplify LDM/STM loop 2014-11-18 04:37:17 -08:00
Jeffrey Pfau 37554a40ea Add likely/unlikely macros 2014-11-18 04:37:17 -08:00
Jeffrey Pfau c9f0ac5c7b GBA Video: Fix postprocessing sprites with objwin and win0/1 2014-11-18 03:03:18 -08:00
Jeffrey Pfau 5b5c8c8d2d Video: Allow GIF recording 2014-11-18 01:40:48 -08:00
Jeffrey Pfau 5a6d09405d GBA BIOS: Remove outdated, inaccurate comment 2014-11-18 00:57:57 -08:00
Jeffrey Pfau a1829a920d GBA Config: Fix null ports from crashing 2014-11-17 01:17:56 -08:00
Jeffrey Pfau 9176260044 Perf: Fix perf port crashing with some implementations of strlen 2014-11-16 20:26:39 -08:00
Jeffrey Pfau 938c9e965d Util: Fix build with strndup on some platforms 2014-11-16 20:25:52 -08:00
Jeffrey Pfau c19673ce40 Qt: Hide menu bar when in full-screen and allow shortcuts to still work 2014-11-16 05:37:45 -08:00
Jeffrey Pfau d030914c37 Qt: Fix build with g++, grumble grumble 2014-11-16 03:58:06 -08:00
Jeffrey Pfau 6f4a6d6372 Debugger: Disassemble shifted registers in addressing mode 2 2014-11-15 17:16:11 -08:00
Jeffrey Pfau 8b44ea61ab Debugger: Fix *RBT being called *RTB 2014-11-15 17:04:34 -08:00
Jeffrey Pfau 5ace8e5023 Debugger: Fix ARM LDM/STM disassembling 2014-11-15 16:54:19 -08:00
Jeffrey Pfau 264f6f1df2 Debugger: disassemble register shifts 2014-11-15 16:32:38 -08:00
Jeffrey Pfau cade03e10d Qt: Prevent flicker upon pausing the emulator 2014-11-15 15:00:27 -08:00
Jeffrey Pfau 81b85d1843 GBA Video: Implement mosaic for modes 2 - 5, untested with windows 2014-11-15 01:32:58 -08:00
Jeffrey Pfau eb51195769 Qt: Move FPS target options to A/V menu 2014-11-15 00:28:54 -08:00
Jeffrey Pfau 5988b4ad2e Qt: Increase bitrates of h.264 video now that the video is being encoded at a faster, lower quality 2014-11-14 03:55:13 -08:00
Jeffrey Pfau 97f2594ec9 Video: Automatically use different presets based on video size 2014-11-14 03:53:30 -08:00
Jeffrey Pfau 8607275f9f Video: Fix x264 tune option 2014-11-14 03:26:10 -08:00
Jeffrey Pfau 793f552f43 GBA: Fix DMA in savestates hopefully for good this time 2014-11-14 01:19:34 -08:00
Jeffrey Pfau d3a60f6555 Video: Try to improve encoding speed/ratefactor a bit 2014-11-14 01:18:53 -08:00
Jeffrey Pfau ec0b206fee Qt: Add ability to manually specify and lock video aspect ratio 2014-11-12 02:22:05 -08:00
Jeffrey Pfau 72fd09dbc9 Qt: Fix radio button unchecking in Video UI 2014-11-12 01:47:46 -08:00
Jeffrey Pfau 61cfdbaccb Qt: Disallow opening the context twice 2014-11-12 01:35:51 -08:00
Jeffrey Pfau b0fdbab77e Video: Support scaling the output frame 2014-11-12 01:25:50 -08:00
Jeffrey Pfau 046a1b71ed Qt: Add video recording presets 2014-11-12 00:55:37 -08:00
Jeffrey Pfau e51285a0db GBA Config: Load config from the correct location on Windows 2014-11-11 02:07:50 -08:00
Jeffrey Pfau 20c5c27bf9 Qt: Reset audio output when changing sample size 2014-11-11 01:25:46 -08:00
Jeffrey Pfau 5c0c966a74 GBA Config: Windows support 2014-11-11 00:46:30 -08:00
Jeffrey Pfau a64259f12c Qt: Use common idiom for interrupting thread within the GameController 2014-11-11 00:01:25 -08:00
Jeffrey Pfau 0ef07f7c26 Util: Configuration should use FILE instead of fds to be more portable 2014-11-11 00:01:25 -08:00
Jeffrey Pfau fba659daa1 Qt: Fix non-USE_FFMPEG build 2014-11-11 00:01:25 -08:00
Jeffrey Pfau bbdb8b513b Qt: re-layout menus 2014-11-10 04:53:08 -08:00
Jeffrey Pfau b1e6a0df08 Qt: Video view should codecs update as you type 2014-11-10 04:52:50 -08:00
Jeffrey Pfau 04af84a1d2 Qt: Add some more video formats 2014-11-10 04:52:34 -08:00
Jeffrey Pfau 9f5df2a6f2 GBA Config: Move config file to ~/.config/mgba/config.ini 2014-11-09 23:27:43 -08:00
Jeffrey Pfau 6066c6e373 Qt: Fix boolean setting loading 2014-11-09 23:44:06 -08:00
Jeffrey Pfau ea66055c63 Qt: Turn on video sync by default 2014-11-09 22:51:05 -08:00
Jeffrey Pfau d83520c5a2 GBA Thread: Make GBAThreadInterrupt and -Continue check for the thread status, resolving several deadlocks 2014-11-09 20:31:24 -08:00
Jeffrey Pfau 6e62ba8bb2 Qt: Fix deadlock while telling GL thread to stop 2014-11-09 16:36:36 -08:00
Jeffrey Pfau c2564c77a9 Qt: Init joystick bindings 2014-11-09 16:10:18 -08:00
Jeffrey Pfau 237e354636 SDL: Fix typo in function name 2014-11-09 16:07:56 -08:00
Jeffrey Pfau 7c8401e7f8 SDL: Set higher number of audio samples if the obtained audio spec is more samples than requested 2014-11-09 16:07:35 -08:00
Jeffrey Pfau e10d28918d SDL: Fix command line graphics arguments 2014-11-09 15:56:09 -08:00
Jeffrey Pfau 2d37f8cd60 SDL: Set default width and height 2014-11-09 15:51:06 -08:00
Jeffrey Pfau f008c68761 GBA Thread: Make GBAThreadInterrupt thread-safe 2014-11-08 04:28:16 -08:00
Jeffrey Pfau 190ea71646 GBA Thread: Wakeup audio condition if trying to interrupt the thread to avoid a deadlock 2014-11-08 03:49:20 -08:00
Jeffrey Pfau 7cdcdbd7b4 Qt: Fix g++ build 2014-11-08 01:21:31 -08:00
Jeffrey Pfau 26a087d24e Qt: Keymap saving 2014-11-08 00:14:42 -08:00
Jeffrey Pfau 0f2c4e5baf Qt: Draw with QPicture instead of a pixmap 2014-11-07 22:46:53 -08:00
Jeffrey Pfau 81e65c08d8 Qt: Add keyboard remapper 2014-11-07 03:11:44 -08:00
Jeffrey Pfau 0efe988161 Qt: Add log level SWI 2014-11-06 00:30:35 -08:00
Jeffrey Pfau d75042ea38 GBA Input: Refactor SDL and Qt input code 2014-11-06 00:17:58 -08:00
Jeffrey Pfau 9ba250e9bb GBA Video: Fix rendering of sprites with objwin passthrough (fixes #128) 2014-11-05 05:07:44 -08:00
Jeffrey Pfau 25f5520b0b SDL: Merge egl-main 2014-11-05 04:11:09 -08:00
Jeffrey Pfau d5b8fdf81c SDL: Fix SDL 1.2 build 2014-11-05 03:42:19 -08:00
Jeffrey Pfau 9cc43cd883 SDL: Split out non-shared functionality of GL and SW into their own files 2014-11-05 03:34:23 -08:00
Jeffrey Pfau fb7f1d07ef SDL: Unify gl-main and sw-main 2014-11-05 03:21:50 -08:00
Jeffrey Pfau 2b8d1dda7c SDL: Only use scancodes with SDL2 2014-11-05 02:59:04 -08:00
Jeffrey Pfau b01e15b913 Qt: Fix memory leak in ~GameController 2014-11-05 02:45:23 -08:00
Jeffrey Pfau f4d6ef74b4 Util: Fix memory leak in Configuration 2014-11-05 02:45:00 -08:00
Jeffrey Pfau 0fd9e9ad0f GBA Config: const-correctness 2014-11-05 02:34:51 -08:00
Jeffrey Pfau 50d76d9528 Qt: Fix draw context memory leak when deleting the GameController 2014-11-05 02:28:03 -08:00
Jeffrey Pfau cbe5fbfeea Qt: Remove stale TODO 2014-11-05 02:24:49 -08:00
Jeffrey Pfau a3fff6d1a5 Qt: Store window size setting when resizing 2014-11-05 02:23:47 -08:00
Jeffrey Pfau 8751f5cc0c Qt: Add integrated configuration loader for the menu 2014-11-05 02:17:26 -08:00
Jeffrey Pfau 19346dff87 GBA Config: Add GBAConfigGetValue 2014-11-05 02:16:35 -08:00
Jeffrey Pfau 37212c1f23 Qt: Move configuration loading to its own class 2014-11-05 00:34:05 -08:00
Jeffrey Pfau 2ddb074bda GBA Config: Refresh configuration system to be more versatile 2014-11-04 23:54:09 -08:00
Jeffrey Pfau e884bc4d7a Util: Add helper functions for setting overloaded Configuration types 2014-11-04 23:48:09 -08:00
Jeffrey Pfau 11bf4fdfda Util: Adding a null value to a Configuration removes the value 2014-11-04 23:47:31 -08:00
Jeffrey Pfau 75557d11b2 GBA: const-correctness in GBAMap*ToContext 2014-11-04 01:56:59 -08:00
Jeffrey Pfau 4115b240eb GBA Config: Add audio/video sync setting 2014-11-04 01:19:10 -08:00
Jeffrey Pfau d3bb022bf1 Video: Fix setting global extradata in FFmpeg 2014-11-04 00:15:54 -08:00
Jeffrey Pfau 67e31c9666 Third-Party: Move third-party to src/third-party 2014-11-03 23:32:18 -08:00
Jeffrey Pfau 72136951bf SDL: Swap A and B for more standard default layout 2014-11-03 23:28:56 -08:00
Jeffrey Pfau 629196e7a1 SDL: Load SDLK and SDLB input maps 2014-11-03 23:28:33 -08:00
Jeffrey Pfau 3e75a8e3fe GBA Input: Add input map loading 2014-11-03 23:27:47 -08:00
Jeffrey Pfau ab4d35c7d9 SDL: Use scancodes instead of keycodes 2014-11-03 22:35:08 -08:00
Jeffrey Pfau 6d89c37886 Qt: Support setting for width and height 2014-11-02 18:30:46 -08:00
Jeffrey Pfau d744714ac5 Qt: Load configuration file 2014-11-02 18:30:46 -08:00
Jeffrey Pfau 6788008418 Qt: Support loading fpsTarget and audioBuffers 2014-11-02 18:30:46 -08:00
Jeffrey Pfau 776c64b0c8 Qt: Initialize arguments and options 2014-11-02 18:30:46 -08:00
Jeffrey Pfau a7dc4e3285 GBA Config: Add audio buffers and FPS target 2014-11-02 18:30:46 -08:00
Jeffrey Pfau 6afa678a41 GBA Config: Further separate arguments from options, renaming things in the process 2014-11-02 18:30:46 -08:00
Jeffrey Pfau f36a74759a GBA Config: Begin refactor of separating out command line args from settings 2014-11-02 18:30:46 -08:00
Jeffrey Pfau 5607a13039 GBA Config: Support loading BIOS from config files 2014-11-02 18:30:45 -08:00
Jeffrey Pfau 3ed2993e8c GBA: Add configuration loader 2014-11-02 18:30:45 -08:00
Jeffrey Pfau 5f440b6a02 Util: Add Configuration datatype 2014-11-02 18:30:45 -08:00
Jeffrey Pfau e66bcfb818 Util: Flesh out Table and add HashTable 2014-11-02 18:30:45 -08:00
Jeffrey Pfau f7c76788f3 Util: Add murmurhash3 hashing 2014-11-02 18:30:45 -08:00
Jeffrey Pfau e0b05403f4 Util: Pull basic table struct from another branch 2014-11-02 18:30:45 -08:00
Jeffrey Pfau bd9fae1466 GBA Memory: Fix out-of-bounds BIOS reads to read off of the bus 2014-11-02 18:28:22 -08:00
Jeffrey Pfau 8b6a76142a GBA DMA: Emulate DMA bus 2014-11-02 16:54:11 -08:00
Jeffrey Pfau 2ff5809252 GBA Memory: Fix LDM in BIOS 2014-11-02 01:31:50 -07:00
Jeffrey Pfau acb69161bb Video: Kludgily fix warnings in sws_scale call 2014-11-01 22:03:54 -07:00
Jeffrey Pfau 1cc4839d4f Fix build on older versions of FFmpeg 2014-11-01 22:00:31 -07:00
Jeffrey Pfau d8bee5d34b GBA Memory: Return misaligned addresses from LDM/STM 2014-11-01 14:40:13 -07:00
Jeffrey Pfau 3ad2047855 Video: Support AAC in MP4 2014-10-28 23:30:15 -07:00
Jeffrey Pfau eab30ebf05 Video: Consolidate state initialization 2014-10-28 02:53:52 -07:00
Jeffrey Pfau c101703b20 Qt: Re-add Xvid and use YUV libx264 instead of RGB 2014-10-28 02:27:32 -07:00
Jeffrey Pfau 3878e4b196 Video: use libswscale to handle video format conversion 2014-10-28 02:17:18 -07:00
Jeffrey Pfau 9c83462343 Qt: Fix VBR 2014-10-28 01:35:31 -07:00
Jeffrey Pfau f4f6ff902c Qt: fix bitrates for video 2014-10-27 23:38:40 -07:00
Jeffrey Pfau e9333c8749 Fix audio frame pts 2014-10-27 23:31:51 -07:00
Jeffrey Pfau 4fb82e4b80 Remove specialized code for resampling to allow for broader variety of sample formats 2014-10-27 22:57:26 -07:00
Jeffrey Pfau aed170b670 Merge branch 'port/qt' 2014-10-27 22:03:02 -07:00
Jeffrey Pfau e9b26dda08 FFmpeg resampling 2014-10-27 21:59:10 -07:00
Jeffrey Pfau c3e29f2df2 Lower bitrate limits for video to be more sensible for 240x160 video 2014-10-27 00:54:28 -07:00
Jeffrey Pfau 5dcf3a5d43 Use libfaac for aac 2014-10-27 00:32:52 -07:00
Jeffrey Pfau 1a09f93b27 Allow videos to be recorded from when a ROM is loaded, and end when a ROM is shut down 2014-10-27 00:17:29 -07:00
Jeffrey Pfau b51e72fcab Hook up and finish up video recorder 2014-10-26 23:49:25 -07:00
Jeffrey Pfau 61569c0559 Merge branch 'master' into port/qt 2014-10-26 23:48:52 -07:00
Jeffrey Pfau 281f190ae6 Enhance usability and resiliency of ffmpeg encoder 2014-10-26 23:48:34 -07:00
Jeffrey Pfau 3dfc2bfcb3 Begin setting up video recording UI 2014-10-26 18:27:53 -07:00
Jeffrey Pfau 27c7041008 Make sure Qt knows where SDL2 libs are 2014-10-26 03:51:36 -07:00
Jeffrey Pfau f98d6486ef Merge branch 'master' into port/qt 2014-10-26 03:49:12 -07:00
Jeffrey Pfau 21ea47ea9e Fix SDL2 library exporting 2014-10-26 02:04:24 -07:00
Jeffrey Pfau 8d002913f0 Fix windows build on case-sensitive filesystems 2014-10-26 02:03:07 -07:00
Jeffrey Pfau a5b9faa88c Fix savestate size on Windows 2014-10-25 18:52:16 -07:00
Jeffrey Pfau 6c9a5a2420 Fix savestate size on Windows 2014-10-25 18:50:33 -07:00
Jeffrey Pfau f49ceb7e3b Remove out-of-date comment 2014-10-25 18:10:15 -07:00
Jeffrey Pfau b33e75daec Move thread unpausing from destructor to shutdown 2014-10-25 17:32:11 -07:00
Jeffrey Pfau fe3f01a5ae Fix potential overflow in huffman decoding 2014-10-25 06:05:00 -07:00
Jeffrey Pfau 10a907e387 Remove out-of-date comment 2014-10-25 05:57:49 -07:00
Jeffrey Pfau d40d4c1cf2 Use ICO file on Windows 2014-10-25 03:21:46 -07:00
Jeffrey Pfau b51ec046da Fix C++ flags 2014-10-25 03:06:57 -07:00
Jeffrey Pfau 2415d59d94 Windows C++ fixes 2014-10-25 03:06:45 -07:00
Jeffrey Pfau c8d5219212 Merge branch 'master' into port/qt 2014-10-25 01:53:15 -07:00
Jeffrey Pfau 732e29e3c6 Fix argument number errors 2014-10-25 01:48:55 -07:00
Jeffrey Pfau 86003496b0 Handle out-of-bounds SRAM and ROM reads 2014-10-25 01:48:55 -07:00
Jeffrey Pfau 5450bd8d59 Force files into binary mode on Windows 2014-10-25 01:45:42 -07:00
Jeffrey Pfau a265cf45a9 Fix build on Windows 2014-10-24 22:01:13 -07:00
Jeffrey Pfau bd74fa1fbc Add frameskip 2014-10-24 21:45:50 -07:00
Jeffrey Pfau dcbfba03c3 Fix locking up when triggering turbo with no game loaded 2014-10-24 21:45:37 -07:00
Jeffrey Pfau 02116415d1 Unload patch after the end of the game 2014-10-24 02:25:18 -07:00
Jeffrey Pfau 26c1b3c6c9 Patch menu 2014-10-24 02:23:48 -07:00
Jeffrey Pfau a2ee0c20dc Fix filename getting deleted early 2014-10-24 02:23:37 -07:00
Jeffrey Pfau 397ddafdd2 Game resets when loading a patch or BIOS 2014-10-24 01:57:18 -07:00
Jeffrey Pfau 422e2e2f62 Move screen widget to its own class, allowing for a size hint 2014-10-24 01:47:12 -07:00
Jeffrey Pfau 6041bf422a Load patch from command line 2014-10-24 01:25:06 -07:00
Jeffrey Pfau 344364695e Fix parsing of numbers starting with 0 (and disregarding octal) 2014-10-23 01:53:18 -07:00
Jeffrey Pfau 61915939b5 Log division by zero 2014-10-23 01:53:18 -07:00
Jeffrey Pfau 768316a8d3 Fix two small consistency issues 2014-10-23 01:53:18 -07:00
Jeffrey Pfau d3b78b2fd2 Log level for SWI 2014-10-23 01:53:17 -07:00
Jeffrey Pfau 043bb75a6b Use cleaner mechanism for checking the register list bits 2014-10-22 22:01:48 -07:00
Jeffrey Pfau 1619b760e1 Use better popcount than the GCC one... 2014-10-22 22:01:11 -07:00
Jeffrey Pfau eecf70ee58 Fix magic number for some games 2014-10-22 22:00:08 -07:00
Jeffrey Pfau 0050fb23c3 Use proper literal sizes for uint64_t 2014-10-22 00:47:32 -07:00
Jeffrey Pfau f484ef9fa8 Fix timing on palette RAM and VRAM 32-bit load/stores 2014-10-21 23:42:24 -07:00
Jeffrey Pfau a57312d0cc Refine and reuse STM/LDM code 2014-10-21 23:31:49 -07:00
Jeffrey Pfau 9abe700d37 Use GCC popcount intrinsic for popcount 2014-10-21 22:51:39 -07:00
Jeffrey Pfau 537480b940 Load/Store multiple functions 2014-10-21 22:35:02 -07:00
Jeffrey Pfau 4bb8b7b1fd Shutdown thread preemptively if the loaded file is not a ROM 2014-10-21 22:24:32 -07:00
Jeffrey Pfau 03b5e2d78e Change the GBA magic to work on even improperly compiled ROMs 2014-10-21 22:17:52 -07:00
Jeffrey Pfau 8903d31458 Pepper logging throughout the savegame loading mechanism 2014-10-21 22:12:57 -07:00
Jeffrey Pfau c52edab71a Add override for NES classic series games 2014-10-21 22:10:20 -07:00
Jeffrey Pfau b11528c69d Prevent deinitializing savegame data when the data is not masked 2014-10-21 22:08:20 -07:00
Jeffrey Pfau 501b6b621c Classic NES games jump to VRAM 2014-10-21 22:07:18 -07:00
Jeffrey Pfau f7b1cee66e Use branchType instead of branches in decoder for more expressive branch decoding 2014-10-21 00:45:06 -07:00
Jeffrey Pfau e7bd5f9ade Remove loop in DMA to find a value we already know 2014-10-19 23:30:10 -07:00
Jeffrey Pfau d44bf73a81 Check if VFileOpen is actually passed a path before trying to open it 2014-10-19 21:13:32 -07:00
Jeffrey Pfau ba5c77523d Remove stale file 2014-10-19 18:56:55 -07:00
Jeffrey Pfau 10509fe69d Fix objwin on objs when objs are off in winout 2014-10-19 06:24:09 -07:00
Jeffrey Pfau f1afeae74c Properly reset after loading BIOS 2014-10-19 05:41:35 -07:00
Jeffrey Pfau 29337a60b5 Mark DMA registers as special to keep loading them from messing up state 2014-10-19 05:19:19 -07:00
Jeffrey Pfau 6b382caa0f Fix decoding of {STR/LDR}[B]T 2014-10-19 03:45:11 -07:00
Jeffrey Pfau ca5f7a45ee Move string utilities out to separate file (really fixing Linux build this time) 2014-10-19 03:01:26 -07:00
Jeffrey Pfau bfa5fb6173 Merge branch 'master' into qt 2014-10-19 01:17:09 -07:00
Jeffrey Pfau 894cc3783b *Wait -> bool 2014-10-19 01:13:55 -07:00
Jeffrey Pfau 05ec732a83 Add turbo 2014-10-19 01:10:00 -07:00
Jeffrey Pfau 24094ecdf0 Make audo/video sync adjustable externally 2014-10-19 00:50:23 -07:00
Jeffrey Pfau ad12bdde9d Move savestates to file menu 2014-10-19 00:39:24 -07:00
Jeffrey Pfau e7bf4388a4 Merge branch 'master' into qt 2014-10-19 00:30:27 -07:00
Jeffrey Pfau 0a946a0b43 Don't wait on for a frame if we already have any pending 2014-10-19 00:30:07 -07:00
Jeffrey Pfau 65be8610f3 Unblock audio processing when reducing buffer size 2014-10-19 00:13:34 -07:00
Jeffrey Pfau 8aa5880afd Support FileOpen events on OS X 2014-10-18 23:18:08 -07:00
Jeffrey Pfau 8fc3ef27ad Don't initialize SDL video in Qt port 2014-10-18 23:16:13 -07:00
Jeffrey Pfau e84727c94b Load BIOS from menu 2014-10-18 17:21:05 -07:00
Jeffrey Pfau 54be75bb92 Load BIOS from command line 2014-10-18 17:15:39 -07:00
Jeffrey Pfau 23592af3cc Add screenshot support 2014-10-18 16:37:05 -07:00
Jeffrey Pfau b24b02d46c Screenshot numbering 2014-10-18 16:25:48 -07:00
Jeffrey Pfau 9efd8f2452 Close the savestate window, not just hiding it, when we shut things down 2014-10-18 05:07:45 -07:00
Jeffrey Pfau e2901db7c1 Unmark the Qt frontend as a separate project 2014-10-18 04:39:44 -07:00
Jeffrey Pfau 2627d1c768 Mark Qt frontend as C++ 2014-10-18 04:33:46 -07:00
Jeffrey Pfau bfb986b974 Make logo scaled to the correct device pixel ratio 2014-10-18 04:33:30 -07:00
Jeffrey Pfau 711231add6 Add custom plist.info.in file 2014-10-18 04:33:09 -07:00
Jeffrey Pfau 2c74cb46ab Ensure savestate window closes when a game is shut down 2014-10-18 04:12:44 -07:00
Jeffrey Pfau e3bfe86579 Disable drawing while the thread is shutting down 2014-10-18 04:10:34 -07:00
Jeffrey Pfau e2812b30b2 Remove code that expects the GBA thread to still be around after it has ended 2014-10-18 04:09:49 -07:00
Jeffrey Pfau dbe5e7e2a5 Only blank cursor for Display widget, even when in full screen 2014-10-18 03:40:26 -07:00
Jeffrey Pfau 8e4a3439c0 Fix threading issues with the video thread and the main thread deadlocking 2014-10-18 02:26:32 -07:00
Jeffrey Pfau f1de3d603a Merge branch 'master' into qt 2014-10-18 02:24:05 -07:00
Jeffrey Pfau 4d9c375f0e If video sync is suspended, do not wait 2014-10-18 02:23:54 -07:00
Jeffrey Pfau c0d1ca089c Expose GBASync{Suspend/Resume}Drawing 2014-10-18 02:08:20 -07:00
Jeffrey Pfau 4b7883e1fd Add command line parsing to Qt frontend 2014-10-18 01:54:51 -07:00
Jeffrey Pfau acd0e58235 Add dirmode to Qt frontend 2014-10-18 01:54:35 -07:00
Jeffrey Pfau c32122c153 Add slot for setting all the log levels at once 2014-10-18 01:40:44 -07:00
Jeffrey Pfau 093036db76 Detect Qt modules without hard-failing 2014-10-18 01:10:47 -07:00
Jeffrey Pfau fb5f01e46a Show project name and game title in title bar 2014-10-18 01:07:42 -07:00
Jeffrey Pfau c12b8e6e6d Merge branch 'master' into qt 2014-10-18 01:06:35 -07:00
Jeffrey Pfau 1fcca799eb Add GBAGetGameTitle 2014-10-18 01:06:17 -07:00
Jeffrey Pfau 2b012ef0bc Remove unnecessary QFile object add zip loading 2014-10-18 00:51:47 -07:00
Jeffrey Pfau d0b63162d5 Add exit menu item on non-OS X 2014-10-18 00:42:35 -07:00
Jeffrey Pfau 830e6dbda6 Write back to GBAThread.audioBuffers if not previously initialized 2014-10-17 23:41:03 -07:00
Jeffrey Pfau 0867325b96 Fix GBASyncProduceAudio signature 2014-10-17 23:40:39 -07:00
Jeffrey Pfau 1dbecb2c64 Initialize FIFO samples 2014-10-17 23:40:26 -07:00
Jeffrey Pfau add64ce269 Initialize audio drift 2014-10-17 23:39:38 -07:00
Jeffrey Pfau 3bf43133cb Replace soundbias with a bitfield 2014-10-17 03:26:47 -07:00
Jeffrey Pfau 62a0447cc9 Draw logo when a game is not loaded 2014-10-17 01:45:34 -07:00
Jeffrey Pfau c91ad7f85f Fix resizeEvent blocking when the thread has shut down 2014-10-17 01:38:00 -07:00
Jeffrey Pfau a6f5bbbeb9 Redo background texturing 2014-10-17 00:53:34 -07:00
Jeffrey Pfau b74a5a5293 Allow enter to be used to select a state 2014-10-16 04:15:57 -07:00
Jeffrey Pfau 556209e75f Fix warning 2014-10-16 04:11:09 -07:00
Jeffrey Pfau 0fda035c21 Fix typo 2014-10-16 04:07:42 -07:00
Jeffrey Pfau b9d4101937 Paint background on savestate window 2014-10-16 04:07:19 -07:00
Jeffrey Pfau 1d00ccf6dd Show savestate manager over game when in fullscreen 2014-10-16 01:52:45 -07:00
Jeffrey Pfau 73d28a1ae4 Mouse enter tracking for savestate screen 2014-10-16 01:32:06 -07:00
Jeffrey Pfau f49494cd1d Don't open a new state window if one is already open 2014-10-16 00:28:41 -07:00
Jeffrey Pfau 4a9ab53231 Don't block while forcing a draw 2014-10-16 00:19:11 -07:00
Jeffrey Pfau d52be5b3d9 Key overrides for selecting states 2014-10-16 00:18:58 -07:00
Jeffrey Pfau a8d87a7979 Remove redundant shortcut code 2014-10-16 00:17:26 -07:00
Jeffrey Pfau cd8cc12829 Draw text for empty slots 2014-10-16 00:17:09 -07:00
Jeffrey Pfau e2de508b99 Quick savestate menu 2014-10-15 23:53:01 -07:00
Jeffrey Pfau be9363b7f4 Set real size to minimum for display 2014-10-15 23:42:24 -07:00
Jeffrey Pfau 05cb9d47ab Load the right states in the right slots 2014-10-15 23:40:52 -07:00
Jeffrey Pfau 961121808d Wake up the drawing thread after loading a state to make sure it draws the loaded state 2014-10-15 23:40:40 -07:00
Jeffrey Pfau 8c02615593 Name slots more predictably 2014-10-15 23:26:46 -07:00
Jeffrey Pfau 6afc00b472 Move state loading/storing into GameController 2014-10-15 23:22:30 -07:00
Jeffrey Pfau ad37ae3d61 Only unpause after savestate window if the game was not previously paused 2014-10-15 23:09:50 -07:00
Jeffrey Pfau 71458f2140 Close savestate window with Esc 2014-10-15 23:08:05 -07:00
Jeffrey Pfau cd8b1e56db Pause game while savestate window is open 2014-10-15 23:06:23 -07:00
Jeffrey Pfau 0579ececb3 Merge branch 'master' into qt 2014-10-15 04:57:20 -07:00
Jeffrey Pfau 69d041d373 VFile write should use const void* 2014-10-15 04:55:46 -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 ca128a97ea Make Display take a QGLFormat 2014-10-15 04:48:59 -07:00
Jeffrey Pfau ddd8c8db29 Make AudioDevice::setFormat thread-safe 2014-10-15 04:48:18 -07:00
Jeffrey Pfau 7353092b84 Merge branch 'master' into qt 2014-10-15 02:49:22 -07:00
Jeffrey Pfau 49b676fa7e Fix double-ending the GBA thread 2014-10-15 02:48:37 -07:00
Jeffrey Pfau 39b5396c0b Set thread priorities for time-critical threads 2014-10-15 02:38:58 -07:00
Jeffrey Pfau bd731e8266 Remove unneeded GL context code 2014-10-15 02:38:43 -07:00
Jeffrey Pfau 1ef3f4256f Fix flickering when resizing emulator window 2014-10-15 02:28:32 -07:00
Jeffrey Pfau 113d7da345 Small style fix 2014-10-15 02:16:57 -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 fdbb0ac753 Fix build in g++ 2014-10-15 01:47:01 -07:00
Jeffrey Pfau 38187bac7a Rename crc32 to doCrc32 to avoid symbol naming conflicts 2014-10-15 01:41:50 -07:00
Jeffrey Pfau ae256542cb Better, C++11 style initialization of m_threadContext 2014-10-15 01:40:16 -07:00
Jeffrey Pfau 7d8041cb58 Increase savestate view usability 2014-10-15 00:50:15 -07:00
Jeffrey Pfau c60a5ea545 Fix path name use-after-free 2014-10-14 23:15:31 -07:00
Jeffrey Pfau fdf2ce299c Add savestate load/saving in Qt frontend 2014-10-14 23:15:15 -07:00
Jeffrey Pfau 642b92fed3 Add VFileDevice QIODevice subclass 2014-10-14 23:14:25 -07:00
Jeffrey Pfau 54f5f133b7 VFile write should use const void* 2014-10-14 03:08:39 -07:00
Jeffrey Pfau 51a6371eef Close LogView if the main window closes 2014-10-14 01:58:36 -07:00
Jeffrey Pfau 78759dc12e Fix QAction ownership 2014-10-14 01:57:49 -07:00
Jeffrey Pfau aaf9c42782 C++ build fixes 2014-10-14 01:48:56 -07:00
Jeffrey Pfau 02ef49dea8 Expose GBAGetState 2014-10-14 01:05:53 -07:00
Jeffrey Pfau 49d668f285 Fix crashing on exit 2014-10-13 22:22:43 -07:00
Jeffrey Pfau 2e031a8c49 Update log view styling 2014-10-13 03:03:47 -07:00
Jeffrey Pfau 24a579044f Ability to adjust line limit 2014-10-13 02:56:08 -07:00
Jeffrey Pfau d3a4c027e4 Clear backlog automatically 2014-10-13 02:43:27 -07:00
Jeffrey Pfau fa255dc808 Start of log view 2014-10-13 02:24:54 -07:00
Jeffrey Pfau eef1a5e8a3 Clean up Qt CMakeLists 2014-10-13 01:25:39 -07:00
Jeffrey Pfau dd1387732d Remove stopgap measure 2014-10-13 01:02:19 -07:00
Jeffrey Pfau 51ad9d37e1 Merge branch 'master' into qt 2014-10-12 21:00:01 -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 435edc8017 Prefix completion 2014-10-10 03:27:10 -07:00
Jeffrey Pfau ab904f2cfd Don't tab complete null 2014-10-10 03:22:44 -07:00
Jeffrey Pfau ef6e1f9e74 Fix tab-completing past the end of the completions list 2014-10-10 02:56:13 -07:00
Jeffrey Pfau 0b736c9cc8 Add disassemble alias 2014-10-10 02:50:09 -07:00
Jeffrey Pfau be82f04618 Print address alongside disassembled instructions 2014-10-10 02:45:57 -07:00
Jeffrey Pfau 6aee0693ec Add support for 0b-style literals 2014-10-10 02:38:05 -07:00
Jeffrey Pfau fd1128f90a Fix 0 not being recognized as a valid token 2014-10-10 02:33:50 -07:00
Jeffrey Pfau e293134a78 Unify optional directory file opening 2014-10-09 23:55:02 -07:00
Jeffrey Pfau 747e30c5e1 Fix perf-main parsing when errno is not cleared 2014-10-09 03:43:51 -07:00
Jeffrey Pfau 8ae1a3a3a3 Use bitfield for BIOS Huffman nodes 2014-10-09 03:02:35 -07:00
Jeffrey Pfau 59f1018dd2 Speculative fixes for SDL fallback and failing configuring 2014-10-08 04:48:23 -07:00
Jeffrey Pfau 0890d21645 Fix types for some LP64 systems 2014-10-08 01:16:50 -07:00
Jeffrey Pfau b12f7a136e Fix printf format string to use unsigned instead of signed 2014-10-08 01:04:19 -07:00
Jeffrey Pfau 6560db2ef5 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
2014-10-07 02:50:57 -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 ad7f1ae939 Fix build when PNG support is not enabled 2014-10-06 23:38:48 -07:00
Jeffrey Pfau e9864cbc99 Add some missing usage documentation 2014-10-06 23:36:52 -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 8bbac2f512 Add __attribute__((unused)) to generated bitfield functions 2014-10-06 00:18:53 -07:00
Jeffrey Pfau 0c18e415e8 Use bitfields for windows 2014-10-06 00:16:33 -07:00
Jeffrey Pfau 4f8c021f95 Enhance CMake lists to have unified feature detection, summaries 2014-10-05 23:08:11 -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 f30a625b51 Reduce size of ARMInstructionInfo 2014-10-02 04:42:18 -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 235141f1f3 Fix PSRs on some PPC compilers 2014-10-01 12:42:12 +00:00
Jeffrey Pfau d1f8e58b13 Attempt to stabilize PPC asm across compilers 2014-10-01 12:41:51 +00: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 56a105e3da Fix addresses being truncated 2014-10-01 03:23:16 -07:00
Jeffrey Pfau 14b6393b51 Replace BGCNT with bitfield 2014-10-01 02:50:10 -07:00
Jeffrey Pfau 0a5a099059 Make PPC asm directives a bit more resilient to different compilers 2014-10-01 09:33:37 +00:00
Jeffrey Pfau 996cfe8a26 Fix crashes in sdl/sw-main 2014-10-01 01:59:03 -07:00
Jeffrey Pfau 5afd8ea1bb The old implementation of endian swapping was sufficient, put it back 2014-10-01 00:57:52 -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 3cd0b50bce Add phony strndup implementation for when we do not have one 2014-09-30 22:05:07 -07:00
Jeffrey Pfau b6b1060676 Fix PPC asm directives on older GCCs 2014-09-30 22:03:49 -07:00
Jeffrey Pfau 6672aebfe4 Proper endian swapping on older PPC ISAs 2014-09-30 10:08:43 +00: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 834395d5d9 Add customizable parsers per command 2014-09-02 21:54:19 -07:00
Jeffrey Pfau 232ae47a6c CLI debugger help 2014-09-02 09:55:05 -07:00
Jeffrey Pfau 9cdc93eeed Add watchpoints to gdb stub 2014-09-01 02:24:00 -07:00
Jeffrey Pfau 21437e91f6 Implement watchpoint removing 2014-09-01 02:23:31 -07:00
Jeffrey Pfau 98cb4698f8 Fix GDB stub not responding to invalid Z packets 2014-09-01 02:06:07 -07:00
Jeffrey Pfau c1abe54ec9 Fix debuggers not logging 2014-09-01 02:05:37 -07:00
Jeffrey Pfau be13627d37 Send correct signal back to gdb when stepping 2014-09-01 01:57:11 -07:00
Jeffrey Pfau be46f2bac9 Fix frames redrawing in the middle of syncing 2014-09-01 00:52:16 -07:00
Jeffrey Pfau 4fb42d58b6 Clean up setting up vsync on SDL port 2014-09-01 00:51:45 -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 9a87840e7e Add invalid commands to the CLI debugger history instead of discarding them 2014-08-30 04:02:19 -07:00
Jeffrey Pfau e6148ddb13 Add p/t to CLI debugger 2014-08-30 04:00:17 -07:00
Jeffrey Pfau 383c630891 Selectable disassemble modes in CLI debugger (fixes #113) 2014-08-30 03:48:14 -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 6cff3d423e Remove unnecessarily duplicated code in ARMStep 2014-08-29 01:41:32 -07:00
Jeffrey Pfau 4d2ccd5df4 Add busy loop optimization back 2014-08-29 00:35:43 -07:00
Jeffrey Pfau 5002cf44f4 Fix savestate loading after prefetch changes 2014-08-29 00:34:12 -07:00
Jeffrey Pfau baa71027e3 Reimplement prefetch, temporarily removing busy loop optimization 2014-08-28 05:45:37 -07:00
Jeffrey Pfau ca3e1c428e Add missing newline in perf usage 2014-08-28 05:11:16 -07:00
Jeffrey Pfau 433f0ba360 Tighter looping for ARMRun 2014-08-28 05:00:38 -07:00
Jeffrey Pfau 61c410154f Use older const png_bytep instead of png_const_bytep 2014-08-15 01:54:13 -07:00
Jeffrey Pfau a78772ee47 Add mGBA icon for OS X 2014-08-13 00:14:25 -07:00
Jeffrey Pfau 8f5145f4b8 Rename Qt frontend 2014-08-12 23:43:52 -07:00
Jeffrey Pfau 2b3631dc91 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
2014-08-12 23:37:29 -07:00
Jeffrey Pfau 30fa9d8675 Remove prototype for removed function 2014-08-12 23:23:14 -07:00
Jeffrey Pfau 94d091b6ed Use DualShock 3 button mapping for now 2014-08-12 23:19:13 -07:00
Jeffrey Pfau 2805cc5fea Fix gamepad input 2014-08-12 22:50:24 -07:00
Jeffrey Pfau d7968ccc0d Merge branch 'ffmpeg' 2014-08-12 22:28:13 -07:00
Jeffrey Pfau 9ed4fad33c Add library versions and installation targets 2014-08-12 22:18:06 -07:00
Jeffrey Pfau 09c49d5f3b Clean up list usage in CMakeLists 2014-08-12 22:06:31 -07:00
Jeffrey Pfau 408223cfef External support for changing codecs in FFmpeg encoder 2014-08-12 02:11:43 -07:00
Jeffrey Pfau 11c00d8958 Use FFV1 for reduced filesize 2014-08-09 04:17:34 -07:00
Jeffrey Pfau 88695a5ab1 Rough FFmpeg video encoder 2014-08-09 03:59:31 -07:00
Jeffrey Pfau 6291a62860 Fix stream recording resumption 2014-08-07 02:01:17 -07:00
Jeffrey Pfau 484a7f299a Add rerecord count 2014-08-07 01:13:50 -07:00
Jeffrey Pfau e732448aa4 Write full finalization data when stopping recording 2014-08-07 01:13:34 -07:00
Jeffrey Pfau a4cd807b70 Fix writing max strem ID in RR metadata 2014-08-07 01:13:03 -07:00
Jeffrey Pfau ba993980dc Big cleanup to how RR handles separate segments, and adding lots of logging (fixes #106) 2014-08-07 00:24:25 -07:00
Jeffrey Pfau f005326800 Add backslash as another frame advance key 2014-08-07 00:23:05 -07:00
Jeffrey Pfau 06da7fcb09 Fix rr writing to the wrong file 2014-08-06 21:57:35 -07:00
Jeffrey Pfau 0389237fc6 Loading savestates now changes the active branch 2014-08-05 23:52:08 -07:00
Jeffrey Pfau 5ee336d274 Fix masking savegames so it can write to a masked savegame 2014-08-04 23:46:33 -07:00
Jeffrey Pfau 82b31c46f1 RR starting from savegame (currently broken) and savestate 2014-08-04 23:37:37 -07:00
Jeffrey Pfau 86a2edbdf1 Save/load state with file parameter 2014-08-04 22:40:11 -07:00
Jeffrey Pfau d979e04606 Unmask savedata if reseting while a movie is not recording or replaying 2014-08-04 22:24:43 -07:00
Jeffrey Pfau f8fff828e3 Start working on ability to bundle save data with movies 2014-08-04 01:11:46 -07:00
Jeffrey Pfau 220d836f13 Save initialization type and metadata magic number 2014-08-04 00:54:50 -07:00
Jeffrey Pfau ff200093ca Fix crashing when trying to start recording while recording 2014-08-03 20:19:19 -07:00
Jeffrey Pfau fabdfc86f3 Add magic numbers to movie files 2014-08-03 20:15:34 -07:00
Jeffrey Pfau a09bb6d51a Detect basic desync in rr 2014-08-03 19:47:02 -07:00
Jeffrey Pfau 4534574f50 Fix game ID for Wario Ware Twisted override 2014-07-30 01:50:22 -07:00
Jeffrey Pfau 5ca6888840 Savestate loading during recording and replaying 2014-07-30 00:13:11 -07:00
Jeffrey Pfau 28218b2465 Fix .log -> .dat for the first chunk, and make sure it bails if the load fails 2014-07-30 00:03:19 -07:00
Jeffrey Pfau 9cc97410d3 Make sure not to reload an old rr stream chunk when reaching the end of a file 2014-07-29 23:39:55 -07:00
Jeffrey Pfau e3410fc457 Fix _readTag to not crash if the VFile has been closed 2014-07-29 23:15:08 -07:00
Jeffrey Pfau fade994137 Clean up logic with an EOF tag 2014-07-29 23:13:16 -07:00
Jeffrey Pfau 6845454969 Add more rr tags, some implemented 2014-07-29 22:50:46 -07:00
Jeffrey Pfau 35bf1f3990 Keep max stream ID separate from current stream ID 2014-07-29 22:50:19 -07:00
Jeffrey Pfau 0023613625 Clean up movie state when exiting 2014-07-29 22:49:24 -07:00
Jeffrey Pfau dbc6567317 Only make GUI_MOD SDL events happen when no other modifiers are active 2014-07-29 22:48:55 -07:00
Jeffrey Pfau 9873da0eb7 Ability to chunk movie streams into multiple files 2014-07-27 19:06:30 -07:00
Jeffrey Pfau b115cb564d Fix GBARR not starting in SDL port 2014-07-27 18:22:53 -07:00
Jeffrey Pfau 45b8ffb9cf New movie format 2014-07-27 18:22:39 -07:00
Jeffrey Pfau f39d7e3640 Move screenshot function to gba-thread.h 2014-07-27 18:21:58 -07:00
Jeffrey Pfau b4d90e7e84 Restore pixels from PNG when loading savestate 2014-07-26 14:06:28 -07:00
Jeffrey Pfau a872bd3642 Remove some ifdefed code by adding a constant for number of bytes per pixel 2014-07-26 13:28:44 -07:00
Jeffrey Pfau 15ece309b7 PNG savestate loading 2014-07-26 13:20:29 -07:00
Jeffrey Pfau 89bb9c7eac Code for embedding savestates in PNG chunk, loading not yet implemented 2014-07-26 00:04:24 -07:00
Jeffrey Pfau deb278dc22 Add function to GBAVideoRenderer for taking screenshot 2014-07-26 00:03:54 -07:00
Jeffrey Pfau bbe52bf632 Add screenshot capability 2014-07-25 05:44:20 -07:00
Jeffrey Pfau 103bef17c9 Avoid compiler warnings 2014-07-25 03:45:54 -07:00
Jeffrey Pfau 5189d9afd4 Add mechanism for adding halts to busy loops 2014-07-24 04:21:33 -07:00
Jeffrey Pfau a701a6d9dd Benchmark option to disable video rendering fully 2014-07-24 03:23:41 -07:00
Jeffrey Pfau 8e49360ffd Add missing dummy video functions 2014-07-24 03:20:12 -07:00
Jeffrey Pfau e2c3c4068d Pull out vram pointer 2014-07-24 02:52:02 -07:00
Jeffrey Pfau 553f345bbd Remember to initialize rr 2014-07-24 02:38:36 -07:00
Jeffrey Pfau 436c53b0a6 Remove redefinition of COMPOSITE_16_NO_OBJWIN 2014-07-24 02:37:04 -07:00
Jeffrey Pfau 900d1684a9 Fix window edge case that might cause 0-width windows to draw 2014-07-24 02:34:42 -07:00
Jeffrey Pfau a855f53355 Fix mosiac on edges of mode 0 regions 2014-07-24 02:02:44 -07:00
Jeffrey Pfau cbb522a702 Fix *mull, *mlal instructions in disassembler 2014-07-23 23:12:54 -07:00
Jeffrey Pfau 5477c891c5 Fix cmp and related opcodes in disassembler 2014-07-23 23:12:28 -07:00
Jeffrey Pfau 5eb729faf6 Remove unused HLE BIOS length constant 2014-07-23 23:05:17 -07:00
Jeffrey Pfau 6c9ee4c212 Modernize egl-main 2014-07-23 22:57:58 -07:00
Jeffrey Pfau 754d3f50ce Check if we have a subparser before trying to use it 2014-07-23 22:57:44 -07:00
Jeffrey Pfau ec4eb253e5 Unify swi state saving, keep I bit 2014-07-23 03:06:09 -07:00
Jeffrey Pfau f1a58c7254 Fix ObjAffineSet over multiple inputs 2014-07-23 00:54:11 -07:00
Jeffrey Pfau c7f7d0f752 Don't make empty savestate files when loading savestates 2014-07-23 00:19:50 -07:00
Jeffrey Pfau 94001b1133 Fix crashes when GBARR is not initialized 2014-07-23 00:09:14 -07:00
Jeffrey Pfau 3051143fa3 First pass at input mapping 2014-07-23 00:06:44 -07:00
Jeffrey Pfau f55d085162 Change log handler API 2014-07-22 22:34:08 -07:00
Jeffrey Pfau 08fee36c20 Window resizing options 2014-07-22 03:26:16 -07:00
Jeffrey Pfau d020bf4f0a Add FPS target options 2014-07-22 03:14:28 -07:00
Jeffrey Pfau 2ce9806de5 Fix ability to make audio buffers as big as they initially were 2014-07-22 02:33:45 -07:00
Jeffrey Pfau 0717e4ab76 Use lambda syntax for audio buffer size slots 2014-07-22 02:33:01 -07:00
Jeffrey Pfau a7588f25bb Sync pause setting with the menu properly 2014-07-22 02:22:03 -07:00
Jeffrey Pfau 42041fa059 Fix frame advance 2014-07-22 02:11:41 -07:00
Jeffrey Pfau 04823fb06c Merge branch 'master' into qt 2014-07-22 01:53:34 -07:00
Jeffrey Pfau d1eda4250d Thread pausing refining 2014-07-22 01:52:16 -07:00
Jeffrey Pfau b0662fe766 Run audio pausing in the right thread 2014-07-22 01:13:27 -07:00
Jeffrey Pfau fe7deb0aab Only try to stop audio output if there is an audio output device 2014-07-22 00:44:43 -07:00
Jeffrey Pfau 8ff6d77869 Make shutdown disabled when a game is not running 2014-07-22 00:43:53 -07:00
Jeffrey Pfau 6403d531bd Add reset option and reshuffle menu items a bit 2014-07-22 00:40:42 -07:00
Jeffrey Pfau 71211bac46 Add sound buffer resizing menu options 2014-07-22 00:32:38 -07:00
Jeffrey Pfau 62f6471c0d Move AudioThread into AudioProcessor, run in its own thread 2014-07-22 00:10:38 -07:00
Jeffrey Pfau d5c0dffb29 Remove unused member in GameController 2014-07-21 23:08:31 -07:00
Jeffrey Pfau ae534aff74 Merge branch 'master' into qt 2014-07-21 22:51:26 -07:00
Jeffrey Pfau 6e727db553 Set buffer size to 512 samples in the SDL/GL port 2014-07-21 00:29:38 -07:00
Jeffrey Pfau e527220398 Ability to resize internal sound buffers 2014-07-21 00:14:48 -07:00
Jeffrey Pfau 10fc916425 Revise circle buffer types 2014-07-20 23:56:12 -07:00
Jeffrey Pfau eabac4c413 Variable FPS target 2014-07-20 23:45:30 -07:00
Jeffrey Pfau b14f22191c Function for calculating audio rate for target FPS 2014-07-20 23:24:02 -07:00
Jeffrey Pfau ad5cdb97a8 Fix memory leak 2014-07-20 22:07:08 -07:00
Jeffrey Pfau a57f911ecc Handle closing games a bit safer 2014-07-20 21:44:06 -07:00
Jeffrey Pfau c9f74b43af Make SDL port QUIT events thread-safe 2014-07-20 21:32:05 -07:00
Jeffrey Pfau a77f7f0be2 Cleanup merge issues 2014-07-20 21:28:25 -07:00
Jeffrey Pfau 489b932c52 Header include cleanup 2014-07-20 20:28:01 -07:00
Jeffrey Pfau 23679adc38 Fix build after GBAThread API changes 2014-07-20 16:38:27 -07:00
Jeffrey Pfau 4da65d0f2f Merge branch 'master' into qt 2014-07-20 16:38:00 -07:00
Jeffrey Pfau d48dad27d1 Fix build against C++ 2014-07-20 16:37:54 -07:00
Jeffrey Pfau f62ccde49d Merge branch 'master' into qt 2014-07-20 16:28:12 -07:00
Jeffrey Pfau e77238e5ef Fix typos in savestate format documentation 2014-07-20 15:53:37 -07:00
Jeffrey Pfau 3915158c96 Update GPIO for serialization 2014-07-20 15:53:15 -07:00
Jeffrey Pfau 381fc94d73 Move file CRC32 code into crc32.h 2014-07-20 15:11:22 -07:00
Jeffrey Pfau 7a0f86ae99 Serialize ROM CRC32 for error checking 2014-07-20 15:10:59 -07:00
Jeffrey Pfau b4d6d11d19 Add ability to resume recording as soon as a movie ends 2014-07-20 03:14:55 -07:00
Jeffrey Pfau 74dae5033b Rewrite rr to be streaming-only 2014-07-20 02:50:43 -07:00
Jeffrey Pfau a95e2c06b7 Remove unused function 2014-07-20 01:40:05 -07:00
Jeffrey Pfau 16cf389986 Make writing to RO mapped memory perform COW 2014-07-20 01:36:18 -07:00
Jeffrey Pfau 5825c2ee5f Move vfs-zip into vfs folder 2014-07-19 22:15:39 -07:00
Jeffrey Pfau 7d4f1fb661 Fix loading too many states from a file 2014-07-19 17:54:29 -07:00
Jeffrey Pfau 7172e6428c Create concept of state directory 2014-07-19 17:48:37 -07:00
Jeffrey Pfau e8a78c9547 Very basic movie saving/loading 2014-07-19 17:38:25 -07:00
Jeffrey Pfau c6cd179101 Fix scanline rendering when parameters change mid-scanline 2014-07-19 15:59:27 -07:00
Jeffrey Pfau 79301a365f Fix perf build 2014-07-19 15:58:58 -07:00
Jeffrey Pfau 3202811e41 Be more rigorous when reseting 2014-07-19 14:34:24 -07:00
Jeffrey Pfau 6456a88669 Reset memory when reseting the board (fixes #94) 2014-07-19 04:13:25 -07:00
Jeffrey Pfau 823b97603a Properly account for LDR I cycles (fixes #90) 2014-07-19 00:39:51 -07:00
Jeffrey Pfau 14636f5b8a Beginning of rerecording code, ability to record/replay from a savegame 2014-07-19 00:09:18 -07:00
Jeffrey Pfau c50bd95258 Fix naming of savegames from files with no . 2014-07-18 00:53:08 -07:00
Jeffrey Pfau 5a0247ac78 Place save files in directories when loading in dirmode 2014-07-18 00:52:53 -07:00
Jeffrey Pfau a14ce5c815 Add some missing cleanup 2014-07-18 00:52:22 -07:00
Jeffrey Pfau c9ec91b75f Forcibly disable some currently unsupported zip operations 2014-07-18 00:52:07 -07:00
Jeffrey Pfau 2367abe67d Don't crash if no ROM is loaded 2014-07-17 02:55:13 -07:00
Jeffrey Pfau 74fcdf54e0 Fix reading more than a block but less than the rest of the file 2014-07-17 02:51:38 -07:00
Jeffrey Pfau 793a89d091 Fix seeking to end of file 2014-07-17 02:51:17 -07:00
Jeffrey Pfau d2272ba9ba Support reading from ZIPs 2014-07-17 02:45:17 -07:00
Jeffrey Pfau ee5c918ff2 Directory mode for loading the first ROM in a directory, still a bit buggy 2014-07-17 00:53:17 -07:00
Jeffrey Pfau 73425e80b5 Move VFile to vfs.h and add VDirs 2014-07-17 00:52:21 -07:00
Jeffrey Pfau 80c61379a0 Clean up GBAThread variables 2014-07-16 23:53:11 -07:00
Jeffrey Pfau e53135a7b9 Clean up command line args 2014-07-16 23:47:47 -07:00
Jeffrey Pfau 6519fad652 Fix some signatures 2014-07-16 03:02:16 -07:00
Jeffrey Pfau 42484bbcc3 Allow save file to be specified externally 2014-07-16 02:57:04 -07:00
Jeffrey Pfau 7bb5e29a98 Now that mapping is done through a different code path, we can properly allocate large memory chunks on Windows 2014-07-16 02:20:29 -07:00
Jeffrey Pfau 0584c19229 Remove declaration for unimplemented function 2014-07-16 02:09:19 -07:00
Jeffrey Pfau f1f55cea47 Use VFiles for all file operations 2014-07-16 02:08:54 -07:00
Jeffrey Pfau 377d8e60a7 VFiles for abstract file operations, used at first in patches 2014-07-16 01:31:10 -07:00
Jeffrey Pfau d8654f3b88 Use stdbool for readability 2014-07-16 01:02:34 -07:00
Jeffrey Pfau fce2fb9252 Move flags and masks into defines to avoid making enums with values that are too large 2014-07-15 23:38:44 -07:00
Jeffrey Pfau e89a705419 Revise macros for stricter C99 conformance 2014-07-15 23:30:55 -07:00
Jeffrey Pfau 6716b13621 Ability to reset emulator while running 2014-07-15 00:01:35 -07:00
Jeffrey Pfau 939c349533 Slightly more accurate waitstate emulation 2014-07-13 22:21:37 -07:00
Jeffrey Pfau 94438e141e Only assemble NEON code when NEON is enabled 2014-07-13 18:32:10 -07:00
Jeffrey Pfau 0b9d6e03f1 Support 5_6_5 in SDL/GL port 2014-07-13 18:31:28 -07:00
Jeffrey Pfau ca23c47aeb Add missing include 2014-07-13 05:47:16 -07:00
Jeffrey Pfau 5958d8c0da Fix missing value for divide precedence 2014-07-12 18:41:11 -07:00
Jeffrey Pfau 4638e4a017 Add parenthesis support 2014-07-12 17:58:03 -07:00
Jeffrey Pfau a58f8f8675 Support identifiers 2014-07-12 17:25:51 -07:00
Jeffrey Pfau b89d6216ac Free identifiers 2014-07-12 17:13:58 -07:00
Jeffrey Pfau ce1dd4416f Proper parser, without identifier support currently 2014-07-12 17:12:35 -07:00
Jeffrey Pfau f71edb1684 Parse expressions in a separate function 2014-07-12 14:50:09 -07:00
Jeffrey Pfau f74815988b Remove redundant includes 2014-07-12 04:43:41 -07:00
Jeffrey Pfau 5b7da978d1 Remove project name strings from the code 2014-07-12 04:29:12 -07:00
Jeffrey Pfau 8f151ec90f DebugVectors should inherit failure 2014-07-12 04:12:04 -07:00
Jeffrey Pfau 903f384e05 Operations on numbers in CLI debugger 2014-07-12 04:04:15 -07:00
Jeffrey Pfau 5b7a551ed8 Add disassemble CLI debugger command 2014-07-12 03:36:04 -07:00
Jeffrey Pfau aefa5f0ab8 Merge branch 'decoder'
Conflicts:
	src/debugger/cli-debugger.c
2014-07-12 00:40:40 -07:00
Jeffrey Pfau 3261dd482c Fix should-be-zero operands being listed 2014-07-12 00:39:05 -07:00
Jeffrey Pfau b41e11d4c1 Decode MSR and MRS 2014-07-12 00:29:00 -07:00
Jeffrey Pfau a2eec31632 Show s flag for ARM instructions 2014-07-12 00:13:11 -07:00
Jeffrey Pfau d245eb3f88 Remove leftover code 2014-07-11 23:52:17 -07:00
Jeffrey Pfau 027a6f129c Fix ordering of flags and condition 2014-07-11 23:31:46 -07:00
Jeffrey Pfau a09d8649ee Begin work on ARM disassembler 2014-07-11 03:50:29 -07:00
Jeffrey Pfau ba4874f8b7 Cleaning up writeback and add some TODOs 2014-07-11 03:19:02 -07:00
Jeffrey Pfau 874f23fc59 Add mnemonics and fourth operand for ARM 2014-07-11 01:28:02 -07:00
Jeffrey Pfau 2b0dccb243 Fold direction into memory format 2014-07-11 01:27:32 -07:00
Jeffrey Pfau 45c6299b3b Fix decoding Thumb TST 2014-07-11 01:26:57 -07:00
Jeffrey Pfau 2921ba8842 Split ARM emitters into own file 2014-07-10 23:21:28 -07:00
Jeffrey Pfau fde2107a6b Fix disassembler memory boundary conditions 2014-07-10 03:31:24 -07:00
Jeffrey Pfau 64cc5ada86 Merge Thumb mnemonics into ARM mnemonics in preparation for ARM decoder 2014-07-10 03:30:59 -07:00
Jeffrey Pfau a22c89fedb Remove notion of special register 2014-07-10 02:33:16 -07:00
Jeffrey Pfau 6c1476403e Reorder log levels so more important ones have lower numbers 2014-07-10 01:12:25 -07:00
Jeffrey Pfau b810e38bd7 Fix a compiler warning in SIO code 2014-07-10 01:05:28 -07:00
Jeffrey Pfau d56dec79e7 Fix function prototype for GBAThreadInterrupt 2014-07-10 01:03:02 -07:00
Jeffrey Pfau c2fc2dbac3 Remove unused variable 2014-07-10 01:02:13 -07:00
Jeffrey Pfau 55977796f3 Move UNUSED macro to common.h 2014-07-10 01:00:38 -07:00
Jeffrey Pfau 0a48d4cc2f Draw a polygon every frame, even when paused, to make sure screen is not stale (fixes #87) 2014-07-09 23:18:34 -07:00
Jeffrey Pfau 87913a4c33 Add missing return statement 2014-07-09 23:17:51 -07:00
Jeffrey Pfau 642cbf3429 Hopefully fix edge cases for windows for real this time (fixes #88) 2014-07-09 23:09:28 -07:00
Jeffrey Pfau b762ce41a0 Only take slow mosaic path when mosiac is actually in play 2014-07-09 23:01:03 -07:00
Jeffrey Pfau e6863a6cc5 Fix mosaic drawing of 256-color mirrored background tiles 2014-07-09 22:49:05 -07:00
Jeffrey Pfau c3136b914e Fix sampling order of sound channel 3 2014-07-09 03:53:23 -07:00
Jeffrey Pfau 3e827c24a8 Fix 8-bit IO writes on SOUND3CNT_X 2014-07-09 03:53:23 -07:00
Jeffrey Pfau 78bd884a05 Fix setting window sizes to 0xFFFF from actually making a window 2014-07-09 03:53:23 -07:00
Jeffrey Pfau 3ee3f7625f Link with SDL2_LIBDIR if necessary 2014-07-09 01:46:40 -07:00
Jeffrey Pfau f1b4e7039f Fix sprites whose tiles go out of bounds 2014-07-09 01:32:02 -07:00
Jeffrey Pfau 79cfc4fd0a Make GBAThreadInterrupt work properly with paused threads again 2014-07-09 00:36:04 -07:00
Jeffrey Pfau ecee71cfa1 Resizing of SDL2 windows 2014-07-09 00:03:05 -07:00
Jeffrey Pfau 548793e551 Remove audio processing loop now that there is an event processing loop 2014-07-08 22:00:53 -07:00
Jeffrey Pfau 83e16d56c0 Fix a case where deserializing the FIFO may not restore up to three bytes 2014-07-08 21:56:03 -07:00
Jeffrey Pfau a62a932282 Ensure interrupting the GBA thread actually gets to a safe point to read from the thread 2014-07-08 00:04:38 -07:00
Jeffrey Pfau 8c9790bb3b Add audio FIFOs to savestates 2014-07-08 00:02:39 -07:00
Jeffrey Pfau 6bf0e704d2 Allow for savestates to be loaded between BIOS versions so long as they aren't in BIOS code 2014-07-07 22:59:24 -07:00
Jeffrey Pfau ea656f188e Remove out-of-date TODO 2014-07-07 03:00:58 -07:00
Jeffrey Pfau a450b0470a UPS patch loading support 2014-07-07 01:54:40 -07:00
Jeffrey Pfau f420232bbf IPS patch loading support 2014-07-06 23:39:27 -07:00
Jeffrey Pfau a6c8089601 Add read watchpoints (fixes #69) 2014-07-05 22:30:20 -07:00
Jeffrey Pfau 28ba251cfb Fix some warnings 2014-07-05 16:29:31 -07:00
Jeffrey Pfau ced5220975 Out of bounds start coordinates are treated as 0 for windows (fixes #82) 2014-07-05 14:40:15 -07:00
Jeffrey Pfau 7142a0f820 Fix WININ priority trampling over the active windows (fixes #75) 2014-07-05 14:34:10 -07:00
Jeffrey Pfau ae12dd907c Reduce the code size of division by zero a bit 2014-07-05 13:55:36 -07:00
Jeffrey Pfau 2fd9ab1197 Emulate division by zero edge cases (fixes #80) 2014-07-05 05:19:58 -07:00
Jeffrey Pfau 26c33b18e1 Properly do bounds checking in CpuSet and CpuFastSet (fixes #81) 2014-07-05 03:52:07 -07:00
Jeffrey Pfau 34145543f2 Remove redundant checks that are in the BIOS code already 2014-07-05 01:03:04 -07:00
Jeffrey Pfau dea143829a Prevent lr from being trampled in the middle of long-running CpuSet 2014-07-05 01:01:29 -07:00
Jeffrey Pfau 107f91aac8 Fix typo in documentation 2014-07-05 00:13:54 -07:00
Jeffrey Pfau 678c5465ff Add (currently undocumented) command line flag for setting logging level 2014-07-04 18:43:07 -07:00
Jeffrey Pfau 80d1764e6c Save some registers we were overwriting in IntrWait 2014-07-04 18:41:13 -07:00
Jeffrey Pfau d6a28c8a6e Log SWIs in debug 2014-07-04 18:17:34 -07:00
Jeffrey Pfau 599537a41b Fix and optimize CpuSet and CpuFastSet a bit 2014-07-04 17:48:38 -07:00
Jeffrey Pfau fde6515a56 Implement CpuSet/CpuFastSet in assembly (fixes #31 and #76) 2014-07-03 03:51:53 -07:00
Jeffrey Pfau e5245b6cbb Reset timers when enabling them (fixes #78) 2014-07-02 00:48:20 -07:00
Jeffrey Pfau 2693f9d09b Implement high VRAM mirroring for writes 2014-07-01 00:26:57 -07:00
Jeffrey Pfau a7eced1324 Fix stub debugger entering 2014-04-26 18:25:45 -07:00
Jeffrey Pfau 12e5425b9b Use subparsers instead of stuffing everything into one parser 2014-04-26 16:05:09 -07:00
Jeffrey Pfau 6ca25e44aa Add some NEON resizing code 2014-04-26 03:31:53 -07:00
Jeffrey Pfau 6e32ade69e Clear alpha channel in fragment shader (fixes #51) 2014-04-25 23:48:51 -07:00
Jeffrey Pfau 084f0f037e Fix fullscreen initialization 2014-04-25 21:33:07 -07:00
Jeffrey Pfau 0386d41b40 Add option of not using GL 2014-04-25 03:34:21 -07:00
Jeffrey Pfau 7e90eb2631 Start porting sw-main to SDL2 2014-04-25 03:34:03 -07:00
Jeffrey Pfau 82f3a45888 Build fix in case no debuggers are being built 2014-04-23 21:50:26 -07:00
Jeffrey Pfau 64e8d3fb83 Fix GBDStub build on Windows 2014-04-23 21:42:08 -07:00
Jeffrey Pfau 16608a408c Bring sw-main into line 2014-04-23 02:09:27 -07:00
Jeffrey Pfau ffea820148 Remove some redundant flags 2014-04-23 02:09:06 -07:00
Jeffrey Pfau 232abab7f4 Add long-missing arm-algo.S 2014-04-23 02:05:50 -07:00
Jeffrey Pfau 53389684db Add more command line options and perf-main duration 2014-04-20 22:15:17 -07:00
Jeffrey Pfau 810c35c318 Disentagle graphics flags from global flags 2014-04-20 21:54:05 -07:00
Jeffrey Pfau 5b300bbcff Make command line arguments more dynamic 2014-04-20 21:41:21 -07:00
Jeffrey Pfau 7334b89833 Add more command line options + usage 2014-04-20 21:33:27 -07:00
Jeffrey Pfau 7c356ffd07 Move debugger creation off the stack 2014-04-20 04:19:03 -07:00
Jeffrey Pfau 89ccb41b03 Start moving command line parsing into a separate file 2014-04-20 04:06:44 -07:00
Jeffrey Pfau e739e4000b Initialize halt 2014-04-20 01:05:29 -07:00
Jeffrey Pfau 9bf77f6653 Call ARMDeinit 2014-04-20 00:52:37 -07:00
Jeffrey Pfau 7a4ca414e5 Restructure watchpoints 2014-04-20 00:47:49 -07:00
Jeffrey Pfau 0f68dbc832 Redo component model/type punning 2014-04-20 00:19:55 -07:00
Jeffrey Pfau c0eb7c81f7 Remove ARMMemory and ARMBoard shims 2014-04-19 18:14:17 -07:00
Jeffrey Pfau 775e417cc6 Move halting functionality out of GBAHalt 2014-04-16 23:05:44 -07:00
Jeffrey Pfau b8ecabbaa9 Fix the build 2014-04-03 00:00:06 -07:00
Jeffrey Pfau ecb1939ff1 Move common headers to common.h, remove util and debugger from being first class include directories 2014-04-02 23:51:35 -07:00
Jeffrey Pfau 73d32e7cc7 Initialize some SIO variables properly 2014-04-02 23:16:37 -07:00
Jeffrey Pfau fec4040691 Load/store with immediate width corrections 2014-03-29 23:08:32 -07:00
Jeffrey Pfau fc132b4d93 Some instructions can write to pc directly 2014-03-29 23:08:32 -07:00
Jeffrey Pfau 01d4672f56 Reclassify thumb load/store multiple instructions 2014-03-29 23:08:32 -07:00
Jeffrey Pfau 764d9740ee Fix exporting of ARMDecodeThumb 2014-03-29 23:08:32 -07:00
Jeffrey Pfau c8a2f595d4 Start cycle counting 2014-03-29 23:08:32 -07:00
Jeffrey Pfau 9b2cd97505 Split out decoder files in preparation of ARM decoder 2014-03-29 23:08:31 -07:00
Jeffrey Pfau c8e1a9cd59 PC-relative disassembling 2014-03-29 23:08:31 -07:00
Jeffrey Pfau 39e1a85ffc Implement memory decoding 2014-03-29 23:06:07 -07:00
Jeffrey Pfau f32155526b More thumb decompilation 2014-03-29 23:06:07 -07:00
Jeffrey Pfau e60cbfaf84 Begin disassembler 2014-03-29 23:06:07 -07:00
Jeffrey Pfau 58545f112e Rename decompiler to decoder 2014-03-29 22:59:40 -07:00
Jeffrey Pfau 65c1d67dfd Descriptions of all opcodes 2014-03-29 22:59:40 -07:00
Jeffrey Pfau 5d19919df2 Extract emittor macros into headers 2014-03-29 22:59:39 -07:00
Jeffrey Pfau 66d1c0c55c Start fleshing out decompiler 2014-03-29 22:59:39 -07:00
Jeffrey Pfau 5b91d6d336 Small framework for decompiler 2014-03-29 22:59:39 -07:00
Jeffrey Pfau 4c1014685f Fix some valgrind errors 2014-03-29 22:58:58 -07:00
Jeffrey Pfau 2cd4bb3cff Initialize memory->eventDiff; fixes a valgrind warning 2014-03-29 22:58:58 -07:00
Jeffrey Pfau 2f39a57567 Get RPi EGL port building again 2014-03-29 22:58:58 -07:00
Jeffrey Pfau 8f241e2cfb Partially implement SOUNDBIAS 2014-03-29 22:53:56 -07:00
Jeffrey Pfau 683e90fa06 Remove special treatment for DISPSTAT 2014-03-29 22:53:52 -07:00
Jeffrey Pfau 8e51ffbf2c Add function for connecting to an already-open TCP port 2014-02-11 00:19:29 -08:00
Jeffrey Pfau c5d243fca2 Merge branch 'master' into qt 2014-02-10 23:59:12 -08:00
Jeffrey Pfau 4d8a00c180 Add thread-interrupt functions for having multiple threads that want to pause the GBA thread 2014-02-10 23:59:07 -08:00
Jeffrey Pfau e9c4412819 Put missing returns in SDL event handling 2014-02-10 23:13:39 -08:00
Jeffrey Pfau eb5580f719 Make DriverSet setting read in normal driver 2014-02-10 01:42:44 -08:00
Jeffrey Pfau 6451aeaefc Support normal mode drivers 2014-02-10 01:42:44 -08:00
Jeffrey Pfau 764b3fce10 Fix SIO loading of a driver that is for the current mode 2014-02-10 01:42:44 -08:00