Commit Graph

1866 Commits

Author SHA1 Message Date
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 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 07464e8f2b GBA: Cap out the ROM loaded size 2014-12-10 01:46:12 -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 7edf934a59 GBA Thread: Handle the lack of a sync object properly 2014-12-09 12:58:35 -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 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