Commit Graph

1816 Commits

Author SHA1 Message Date
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
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