Commit Graph

1931 Commits

Author SHA1 Message Date
J.D. Purcell b0141c516e Multi-disk Bundler: Fix DPI scaling issues and improve control positioning. 2016-12-15 15:06:35 -05:00
alyosha-tas 0c3da629c8 Fix for exception in marker window 2016-12-13 22:37:06 -05:00
adelikat 8c57dd98f3 NESHawk - add IsFDS flag and use it in NesSchema instead of a check for BoardName == "FDS" 2016-12-13 15:24:53 -06:00
adelikat 5ff33e7569 Rename IController.Type to IController.Definition to more clearly describe the property 2016-12-12 12:30:32 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
nattthebear df4b38990f GBAGPUView: Don't draw a sprite if its size + tile index combined make it go past the end of vram 2016-12-09 22:09:58 -05:00
adelikat b7e616482d Intellivision - movie mnemonics and virtual pads 2016-12-06 20:16:22 -06:00
adelikat 6889a72ba2 a bit more cleanup of MovieZone.cs 2016-12-06 11:10:50 -06:00
adelikat d0e632ad9d code cleanup in MovieZone.cs 2016-12-06 11:09:17 -06:00
adelikat 5c4b11d29b MacroInput - use the Emulator RequiredService property instead of Global.Emulator 2016-12-06 11:03:15 -06:00
adelikat 9e2ec00160 MacroInput tool - some code cleanup 2016-12-06 11:01:47 -06:00
adelikat ad41019a29 ToolBox use an IEmulator RequiredService instead of Global.Emulator 2016-12-06 10:44:37 -06:00
adelikat b346f9e7c5 Some slight code cleanup in ToolBox.cs 2016-12-06 10:40:09 -06:00
adelikat 3bfce81eae LuaConsole - have a RequiredService of IEmulator and pass it into the lua implementation instead of using Global.Emulator 2016-12-06 10:35:11 -06:00
adelikat f1e528f68f Virtual pads - pass the current core into schema objects instead of using Global.Emulator 2016-12-05 19:33:21 -06:00
adelikat 9ae3916166 Debugger - remove a usage of Global.Emulator and a TODO 2016-12-04 12:40:26 -06:00
adelikat e99bc9ba41 use the Emulator property instead of Global.Emulator in some lua library files 2016-12-04 12:37:29 -06:00
adelikat b11a76f739 MultidiskBundler - add a RequiredService of IEmulator and use that property instead of Global.Emulator 2016-12-04 12:34:37 -06:00
adelikat 5258f9385c Tastudio - use the Emulator property not Global.Emulator, fix another CoreExension method 2016-12-04 12:30:51 -06:00
adelikat 546947041b BasicBot - Remove unnecessary usage of Global.Emulator 2016-12-04 12:23:44 -06:00
adelikat 4ab2fadc93 Remove an unnecessary usage of Global.Emulator in Tastudio 2016-12-04 10:50:58 -06:00
adelikat 604ed74ff9 remove some usages of VideoProviderGlue by checking for VideoProvider availability before doing some dependent processes 2016-12-04 10:30:51 -06:00
adelikat 2f375388b5 Tastudio - refactor screenshot code to use a required dependency on VideoProvider instead of using Global.Emulator, also put it on the load event instead of the constructor 2016-12-04 09:20:22 -06:00
alyosha-tas 3be6c8917c TAStudio fix default window size
Prevents marker and branch bozes from having zero size.
2016-12-03 09:36:35 -05:00
feos 3b117752cf tastudio: refine autorestore again 2016-11-27 00:28:52 +03:00
feos beb204bb4c tastudio: when new seeking starts, kill the old one 2016-11-26 20:02:54 +03:00
feos 593433106b tastudio: attempt to fix autorestore during analog editing 2016-11-26 19:49:26 +03:00
feos 2f0ccb99f1 tastudio: don't jump to greenzone end when entering analog edit mode 2016-11-26 16:35:14 +03:00
feos f59ebfe126 tastudio: refactor restore logic again, fixes some more bugs
(_autoRestoreFrame completely replaced by LastPositionFrame)
2016-11-21 23:59:12 +03:00
feos 0e9e4cc034 tastudio: fix < button when seeking is paused 2016-11-21 21:19:53 +03:00
feos ef8068daa4 Revert "tastudio: move LastPositionFrame to TasMovie, prepare for another revision"
This reverts commit eea49f1895.
2016-11-21 20:03:56 +03:00
feos eea49f1895 tastudio: move LastPositionFrame to TasMovie, prepare for another revision 2016-11-21 19:29:11 +03:00
feos 95dc2fd6b3 tastudio: move arrow keys logic to hotkeys
disallow sending Minus to MainForm
2016-11-20 23:26:13 +03:00
feos acbdfbcec9 tastudio: make analog editing mode expandable along with selection
- apply the changes made using keys to all the analog edited cells
- clamp displayed value if needed the same the resulting value is clamped
2016-11-20 17:16:29 +03:00
adelikat b7a6542fb6 Lua - gui.drawImage(), gui.drawImageRegion() - log an error if image can not be found, instead of throwing an exception 2016-11-19 14:10:17 -06:00
feos a8dde12c1f tastudio:
- set Float type to analog control columns
- set their size taking into account their MaxDigits
- stop displaying neutral analog values

input OSD:
- obtain real neutral analog value the given core uses and hide it, instead of hiding hardcoded zero
2016-11-19 19:31:04 +03:00
feos 3ea3012aa7 tastudio:
- properly setup autoloaded and normally loaded project columns
- actually call the callback that updates scrollbars and other stuff
2016-11-19 00:50:40 +03:00
feos 2a9bd175d8 tastudio: kill zombie denoteStatesWithBGColor and co. in InputRoll, having them in Settings is enough 2016-11-17 20:25:06 +03:00
feos edf21b8bfe fix tastudio crashes when:
- setting 0 space for disk states
- righclicking on selection if a bunch of selected frames contains the last frame
- cutting the last frame
2016-11-17 20:05:41 +03:00
adelikat 30f573729c Use Count not Count() 2016-11-14 15:21:26 -06:00
feos 0b1245d769 tastudio: when loading another project, update column menus
todo: fix autoload
2016-11-14 22:39:58 +03:00
feos 52506433a2 tastudio: don't try to apply ClientSettings (columns) before SyncSettings (amount of players) 2016-11-14 20:13:08 +03:00
adelikat 889feeeeba fix #414 by idiot-proofing the lua console command window, if emu.frameadvance() is called, log a warning instead of blowing up 2016-11-13 11:26:09 -06:00
adelikat ddf23e4c3a Lua console - use string.IsNullOrWhiteSpace when checking the command line box 2016-11-13 11:15:30 -06:00
feos 578b688d51 tastudio analog editing: Escape key cancels all changes
also prevent marker set from entering analog mode and releasing the LMB over the frame column (might happen after drag editing)
2016-11-13 16:42:24 +03:00
feos dbc35224e6 tastudio analog editing:
- autorestore after every drag edited change
- increase the mouse move step to 4 from 3
2016-11-13 16:19:46 +03:00
adelikat e73a66b07e When ram watch is open with a file open, and loading another rom, only keep the ram watch file open if all the domains are compatible, else close it, addresses #285. There is arguably not a black and white expectation in this scenario but I think this is marginally more expected than exceptions and erroneous watch values 2016-11-12 11:46:32 -06:00
adelikat 0213755d16 Cheats - when editing a cheat's domain, if the address is out of range, don't update, rather than create a separator, fixes #539 2016-11-12 09:00:36 -06:00
feos 175862a5f3 tastudio analog editing:
- mouse dragging during float edit mode updates the displayed value and fires restore on mouse up
- Enter key exits float edit mode after applying the dragged value, while Escape exits it after ignoring the dragged value (should Escape cancel all changes?)
- currently disabled switch to enter float edit mode by single click
2016-11-12 17:53:15 +03:00
feos e2d5a1d390 tastudio analog editing: typing past max digits overwrites existing value
this required a new method in FloatRange class
2016-11-12 15:30:44 +03:00