Commit Graph

2239 Commits

Author SHA1 Message Date
SuuperW 6013b9ed2b Implemented feature: Auto-adjust Input according to Lag;
Added option: Hide WasLag Frames
-Changed implementation of TasLagLog
-Removed single-line Marker functions from TAStudio.
2015-03-10 17:11:29 +00:00
SuuperW 9891e73313 Added a couple Refreshes to TAStudio; Lag History is no longer completely cleared on making an edit. 2015-03-10 06:14:14 +00:00
SuuperW 5fd1f6912b TAStudio:
Fixed the Greenzone Integiry Check feature.
Bugfix: Right-click menu didn't show up.
2015-03-10 05:12:13 +00:00
SuuperW e2f79254be Changed TAStudio to not reference the no longer used StickyXORAdapter.
Chagned GetFloatValue to GetFloatState (to match SetFloatState)
2015-03-10 04:16:42 +00:00
SuuperW 36c7d50528 TAStudio: Columns menu set up during initialization; toggling visibility of a player's input keeps individual column selections; toggling a button's visibility leaves the menu open. 2015-03-10 00:33:58 +00:00
SuuperW 0322e3bdbe TAStudio: Grouped column display options by player, added mass toggle by player. 2015-03-09 23:27:01 +00:00
SuuperW 6fd8aad86b Lots of work on the Macro Tool. 2015-03-09 22:30:54 +00:00
adelikat eccbe1ce2a MultiHawk - removing more stuff 2015-03-09 21:06:40 +00:00
adelikat aaa615533b Start a Macro Input tool 2015-03-08 20:11:02 +00:00
SuuperW 7360badb4a Added AutoFire support in TAStudio, fixed/improved patterns.
-A couple minor fixes
2015-03-08 04:42:04 +00:00
adelikat 5aeaff8c15 Move controller images to the images folder 2015-03-08 01:39:30 +00:00
zeromus 4d89558301 fix multihawk opengl window mixup and change GLManager to a singleton to stop that from happening again 2015-03-06 03:05:46 +00:00
jdpurcell 67802eca8f (Issue 403) Fix misaligned highlighting in Hex Editor at non-default DPI settings. 2015-03-06 02:45:53 +00:00
adelikat 06d9fd7b06 EmuHawk - Remove unnecessary use of GlobalWin.Mainform in the mainform itself 2015-03-06 02:06:19 +00:00
adelikat 415e3e3a14 MultiHawk - fix up frame counter when a movie is active 2015-03-06 00:48:31 +00:00
SuuperW 49c3fe2449 TAStudio HistoryBox deleted. 2015-03-04 19:05:44 +00:00
SuuperW 189ecfeb2e TAStudio:
-Undo History UI, some history bugfixes
-Painting input past the movie no longer moves markers
2015-03-04 19:03:00 +00:00
jdpurcell 9d4c0cb530 Remove developer build check for Debugger menu item. 2015-03-04 03:47:02 +00:00
adelikat dfe5b40ba9 Tastudio - hide undo history box for now 2015-03-03 23:28:30 +00:00
SuuperW 1e0ce3b7c1 -Feature: Changing input past the movie now extends the movie.
-Implemented max undo levels feature.
-Started making TAStudio UI for undo history.
2015-03-03 21:10:48 +00:00
SuuperW e4c4910b37 TAStudio:
-Several buggixes
-Feature: Right-click dragging frames to move/copy/clone. (Combine with Shift and/or Ctrl.)
2015-03-03 18:22:54 +00:00
SuuperW e40b10a0b6 -marker undo code moved to proper place
-undo history fixes
-feature: binding markers to input
-bugfix: TasView wasn't always refreshing when inserting/deleting frames
2015-03-03 08:32:39 +00:00
SuuperW 25e54f4390 -More StateHistory names
-Smarter state history management
TAStudio: A few bugfixes and performance boosts
2015-03-03 06:56:45 +00:00
SuuperW 2c876858f2 -Bugfix: TAStudio couldn't re-save a project.
-Bugfix: tasproj files without StateHistory couldn't load.
-Gave a bunch of StateHistory stuff proper names.
2015-03-02 23:43:52 +00:00
SuuperW bff3d64a4a -Various fixes, mostly to Undo/Redo.
-Changed Program.cs to not use a couple try statements when debugger is attached.
-Implemented the Undo/Redo menu item buttons.
-Ctrl-deselecting frames in TasView now supports dragging.
2015-03-01 19:29:33 +00:00
SuuperW cf081ce1fc TAStudio:
-Moved Toggle/SetStates from TasMovie.cs to TasMovie.Editing.cs
-bugfix: Yet another bug in setting LastVisibleFrame
-Removed unused declaration
-Fixed MarkerControl to not mess up display when a deleted marker is still selected.
-feature: Basic undo/redo history functions seem to work. (Ctrl+Z/Y in TasView)
2015-03-01 05:47:32 +00:00
SuuperW c12d715c12 TAStudio:
-Bugfix: Didn't refresh when changing lag frames to hide.
-Bugfix: Another error with setting LastVisisbleFrame.
-Bugfix: Truncating a movie didn't remove truncated marker selection.
2015-02-27 19:34:31 +00:00
SuuperW 836659264d TAStudio:
-Bugfix: Dragging to change a float was backwards.
-Fix: Setting LastVisibleRow with lag frames hidden now goes to the correct frame.
-TasView now sets FirstVisibleRow when jumping backwards
-Bugfix: Deleting a marker didn't remove selection; refresh messed up.
-Moved InputRoll.cs, SelectAll/DeselectAll to the Api region.
-Bugfix: Couldn't edit next-frame float values.
2015-02-27 19:06:02 +00:00
SuuperW 7624a92021 TAStudio edits:
-Bugfix: TAStudio was refreshing before autoscrolling to cursor.
-Partial fix: Made setting last visible frame more accurate when lag frames are hidden.
-Removed a line that set an unused local variable.
-Bugfix: Scrolling away from selection with lag frames hidden messed up the display.
2015-02-26 21:12:12 +00:00
adelikat f305ca5666 Don't crash if user elected to autoload Ram Watch but not autoload a Rom 2015-02-25 22:32:50 +00:00
SuuperW 81a8d38ca4 TAStudio work:
-Fixed InputRoll.VisibleRows property.
-Removed useless check for NeedsScrollbar.
-Removed TAStudio.ListView.cs property for hiding lag frames; changed InputRoll.cs to do that work more efficiently.
-Feature: User can now edit float values by holding the mouse button and dragging up/down.
-Bugfix: Moving the cursor past first displayed row while painting would not cause first displayed row to be painted. (and similarly with last)
2015-02-25 21:17:50 +00:00
adelikat aa2984dd96 Tastudio - Columns menu - show button names in addition to the column mnemonics 2015-02-24 22:46:35 +00:00
adelikat 0055bc1949 Tastudio - hack to remove N64 "fake analog" buttons from the list 2015-02-24 22:44:47 +00:00
adelikat 8af99c9066 Tastudio - make < and > buttons repeatable buttons 2015-02-24 21:44:26 +00:00
adelikat 6a02656417 Tastudio - track lag log history (1 level deep) and color "invalidated greenzone" using this information (a lighter shade of normal greezone colors) 2015-02-24 21:23:16 +00:00
SuuperW 734101a8fd TAStudio: Fixed arrow keys not being picked up in KeyPress, plus minor edits/bugfixes to arrow key editing of float values. 2015-02-24 20:55:24 +00:00
adelikat a4ce9de091 Tastudio - wire up the Lag Frames to Hide UI, and have it save in the Tasproj file 2015-02-24 20:38:46 +00:00
SuuperW 369c883ac0 TAStudio feature added:
-Hiding lag frames feature implemented. (Still needs a user interface to change the settings.)
2015-02-24 19:00:12 +00:00
scepheo 32b788b352 Hex Editor and new RAM Watch now default to memory domain byte size. 2015-02-24 10:18:20 +00:00
SuuperW db09b12925 More updates to TAStudio: (again all my changes marked with SuuperW)
-bugfix: Local variable hid another; float input couldn't be painted.
-bugfix: Bool input couldn't be painted starting from past the last frame.
-feature: Double-clicking a float input allows user to type value in. (arrow keys would also work, but those aren't seen by the InputRoll, no idea why)
-change: Selected cells are now half-highlighted, so user can still see the non-highlighed color.
2015-02-24 06:47:32 +00:00
SuuperW e3b9b7c795 A few edits to TAStudio:
-Double-click markers to jump to that frame.
-Drag painting input was one frame behind cursor.
-Some commented-out code for stuff I was messing with may also be present. (All edits were marked with SuuperW comment line.)
2015-02-24 03:06:57 +00:00
adelikat 5a2146bde2 Lua - fix fill behavior in drawBox, drawRectangle, drawEllipse, and drawPie 2015-02-24 00:37:56 +00:00
adelikat 29fc42ec71 Better UI for low res large screenshot feature 2015-02-23 23:43:51 +00:00
adelikat 8055acec1a fix extraneous separator in the SMS menu when in SG-1000 mode 2015-02-23 03:33:25 +00:00
adelikat b45d3820be Lua - gui library - make all colors optional parameters and use defaults if not provided (initially white foreground and transparent background). Add gui.defaultForeground(color) and gui.defaultBackground(color) to change those defaults 2015-02-23 03:10:38 +00:00
adelikat be51677fde Remove Global.NullControls 2015-02-22 20:38:10 +00:00
adelikat 817c798eab Remove Global.CoreComm since it was pointless 2015-02-22 20:06:30 +00:00
adelikat fd1621a536 pass in an Emulator instance to QueueNewMovie() 2015-02-22 19:57:24 +00:00
adelikat 7e92f38eb3 AutofireController - pass in an instance of an emulator rather than use Global.Emulator 2015-02-22 18:02:56 +00:00
adelikat 7e763408e2 Move MainForm.SupportedPlatforms to Emulation.Common.SystemLookup 2015-02-22 17:15:09 +00:00
jdpurcell 7155067e89 Remove unused SlimDX.DirectSound usings. 2015-02-22 04:43:52 +00:00
adelikat ecaf95f400 ToolManager - a small cleanup now that there is an owner variable 2015-02-22 04:06:40 +00:00
adelikat 41950cb9e0 ToolManager - take a Form owner in the constructor and pass it in to any tools that are also Form objects (all of them). ToolBox - use the Parent property instead of GlobalWin.MainForm now that it is populated 2015-02-22 04:02:30 +00:00
adelikat 1514faf300 Move PresentationPanel from GlobalWin to Mainform, since it was primarily used there (and the few other places knew about GlobaWin.MainForm anyway) 2015-02-22 03:53:07 +00:00
adelikat e3f9388a17 Move HotkeyCoalescer from GlobalWin to MainForm since only MainForm uses it anyway 2015-02-22 03:45:00 +00:00
adelikat 2bc68b99c7 Hex Editor - fix Load .tbl file menu item when rom is in an archive 2015-02-22 03:36:54 +00:00
adelikat f3c29e5bc2 replace some references to GlobalWin.MainForm in MainForm itself, because that makes no sense. 2015-02-22 03:26:00 +00:00
jdpurcell 7a7dec0ca9 OpenAL: cleanup. 2015-02-19 14:34:06 +00:00
jdpurcell 255900e4e2 OpenAL: cleanup. 2015-02-19 14:27:53 +00:00
jdpurcell 40eca38aee OpenAL - small cleanup. 2015-02-19 06:07:10 +00:00
jdpurcell 8f32899afd OpenAL sound device configuration. 2015-02-19 06:00:07 +00:00
jdpurcell 730694644d Add option for OpenAL on Windows. 2015-02-19 03:22:20 +00:00
jdpurcell 18bb662017 OpenAL fix. 2015-02-19 02:37:49 +00:00
jdpurcell c56edd6e93 Add OpenAL sound output.
XAudio2: Some stuff I forgot to dispose.
2015-02-19 02:30:55 +00:00
adelikat c759eb80d5 mark Debugger tool as released 2015-02-17 00:55:21 +00:00
zeromus dbbfda1c85 add (odd) resolution warning to choose a/v writer and make 'autodetect' button apply CaptureOSD setting 2015-02-17 00:13:19 +00:00
adelikat 73c1bedd9e Virtual Pad buttons - don't do anything on space, tab, and shift+tab 2015-02-14 03:51:29 +00:00
mathew1800 abbee1672e Specify the parameter for argument-based exceptions. Correct the parameter names of others.
Common mistake.
2015-02-10 04:19:34 +00:00
scepheo 186f28a2fe Oops. 2015-02-09 14:19:44 +00:00
scepheo 48a6686f31 Lua Console: Command window gives slightly more sensible output now. 2015-02-08 23:47:15 +00:00
scepheo 152323d891 Lua Console: Console and immediate fields now use Courier New. 2015-02-08 23:09:58 +00:00
adelikat abbfcad071 Fix Ram Watch designer file 2015-02-08 22:30:18 +00:00
scepheo 714f4a9687 RAM Watch: Added read/write breakpoint setting to context menu. 2015-02-08 17:39:59 +00:00
jdpurcell 2261e8dc03 Remove duplicate CheatList.Changed event wireup (happens in constructor as well). 2015-02-08 15:41:38 +00:00
jdpurcell b3ecd5dd28 Debugger / Trace Logger: Clean up newline handling in Copy code (newline may not be 2 characters on different platforms). 2015-02-08 15:32:56 +00:00
jdpurcell a1dcd9928e Fix empty DisassemblerView with non-standard DPI settings. 2015-02-08 15:16:28 +00:00
adelikat e6c5f023dd Platform Chooser - show game hash 2015-02-08 14:43:00 +00:00
jdpurcell a660aa3c57 EditSubtitlesForm - Revert changes from r7614 caused by WinForms designer not running at 96 DPI. 2015-02-08 14:23:44 +00:00
jdpurcell 3e64e317f9 BizBox - Revert changes from r9061 caused by WinForms designer not running at 96 DPI. 2015-02-08 14:14:39 +00:00
scepheo 0ff1808101 RAM Search: Fixed go-to using index instead of address. 2015-02-08 00:35:32 +00:00
adelikat 0a00eb0de2 nothing to see here 2015-02-07 16:14:23 +00:00
adelikat 0ee999dde4 Lua - drawImage - speed up by caching images instead of reading them from disk on every call 2015-02-07 15:39:16 +00:00
adelikat ddae5c6d7d TI-83 - load file menu option - make the open file dialog more useful 2015-02-07 15:28:38 +00:00
adelikat 00fb58bea5 more TI83 cleanup, nothing worth looking at here 2015-02-07 15:02:52 +00:00
adelikat d5ed4369e9 Fix autoloading of TI-83 keypad 2015-02-07 14:30:14 +00:00
adelikat 20a92686f9 Debugger - the Seek To feature requires Disassembling to be available in the core 2015-02-06 01:01:34 +00:00
adelikat 133723e50f Debugger - clean up some code 2015-02-06 00:56:54 +00:00
adelikat 8427a9db7e Debugger - add context menu item on Disassembler "Add Breakpoint" that will add an execute breakpoint on the selected address 2015-02-06 00:41:50 +00:00
goyuken a782fdb315 take 2 2015-02-05 23:53:25 +00:00
goyuken 995f670d36 frontend tracks loaded firmware: proof of concept 2015-02-05 23:25:28 +00:00
adelikat 0eec6530f6 PSX - change controller definition name dynamically, use it in Controller Config to set a gamepad or dualshock image. The logic here is dubious when you consider multiple players and mixed controllers but that doesn't sound like a real situation anyway. 2015-02-05 22:08:23 +00:00
adelikat e211cfdcf3 PSX - virtualpad support for non-dualshock controllers 2015-02-05 21:42:28 +00:00
adelikat 3ebd9bb2df Lua functions list - greatly speedup drawing 2015-02-05 00:04:05 +00:00
goyuken b3b37c46c3 possibly fast light bitmap saver with resize, TODO hook up to something 2015-02-01 22:49:53 +00:00
adelikat 45b2fcb8af Controller Config - properly prune analog buttons that aren't in the curent configuration 2015-02-01 22:14:27 +00:00
jdpurcell 4ff447d9c6 XAudio2: Small optimization to buffer pool. 2015-02-01 21:27:55 +00:00
adelikat 6854a9a709 PSX - Config dialog - set accept and cancel buttons 2015-02-01 14:52:46 +00:00
adelikat b1ca8517ea PSX - disable controller config if a movie is active 2015-02-01 14:48:49 +00:00
adelikat 4eda12a8b0 PSX - Virtualpad - pay attention to the number of conntected controllers - still todo: schema for Gamepad and DualAnalog 2015-02-01 14:02:01 +00:00
zeromus 62d781b960 add load last rom hotkey 2015-02-01 04:52:02 +00:00
adelikat c299f46439 PSX - ui for controller type config 2015-02-01 03:19:23 +00:00
zeromus c2621e798d fix subwcrev stuff. this time, fixes stale versions on f5 or ctrl+f5 builds.
in the future, we should use svn msbuild community tasks for even cleverer and leaner solutions (which dont depend on subwcrev.exe...)
2015-02-01 03:01:31 +00:00
jdpurcell f2997546a7 Sound - small cleanup. 2015-02-01 01:09:48 +00:00
adelikat 5188c43e07 Debugger - Use proper PC register property on load - Fixes issue 380 2015-01-31 23:34:28 +00:00
jdpurcell fb16da4d95 Single frame rewinds when short pressing rewind key while paused. Long pressing still does continuous rewinding.
Use Stopwatch.GetTimestamp() instead of DateTime.Now for some other similar code.
2015-01-31 22:16:02 +00:00
adelikat 8222028169 PSX Controller Config dialog 2015-01-31 20:24:06 +00:00
jdpurcell 0dfd880a41 Make DirectSound volume control more consistent with XAudio2. 2015-01-31 19:20:44 +00:00
jdpurcell d1bfe9c842 XAudio2: Avoid buffer re-allocation. 2015-01-31 18:27:04 +00:00
jdpurcell 3cea39f6e1 Break up Sound into multiple files. 2015-01-31 17:44:35 +00:00
jdpurcell e445ee2a0b Sound - cleanup. 2015-01-31 17:00:49 +00:00
jdpurcell 5eee1cd306 Add UI for choosing between DirectSound / XAudio2.
Always use new sound output buffering (remove option).
2015-01-31 06:40:14 +00:00
jdpurcell 83e8abc963 XAudio2! There's no UI for it yet. 2015-01-31 04:49:53 +00:00
adelikat 53cda95ca5 Lua Console - don't nag to save a session, unless a session exists 2015-01-31 01:52:29 +00:00
adelikat dba610d5d7 Hex Find - focus and highlight on load 2015-01-31 01:25:08 +00:00
adelikat 29a6c7369b Hex Find - even more simple 2015-01-31 01:23:03 +00:00
adelikat 8b48bd3e26 Hex Find - simplify some code 2015-01-31 01:16:41 +00:00
scepheo bdfdd96686 RAM Poke: Pressing the "Poke" button now also closes the dialog. 2015-01-30 16:15:08 +00:00
scepheo 860227ee66 LuaConsole: Actually stop and restart script upon tool restart. 2015-01-29 14:50:09 +00:00
adelikat 6f2488aa57 Lua - clear out lua drawing surface on restart 2015-01-29 03:36:19 +00:00
adelikat 307845b3b5 Lua - recover from a locked drawing surface exception and log to the console, rather than crash the emulator 2015-01-29 02:14:39 +00:00
adelikat 24a517d293 Lua - properly re-inject core dependencies on restart 2015-01-28 14:38:06 +00:00
jdpurcell 8a0d73c155 SoundOutputProvider: Better rewind/fast-forward behavior especially with large buffer sizes. 2015-01-28 04:48:52 +00:00
jdpurcell 50849d0043 Fix TabIndexes in Sound dialog. 2015-01-28 02:21:21 +00:00
jdpurcell 58cd9796f2 Allow CPU throttle to catch up for more than 3 missed frames if the user has configured a large sound buffer size.
SoundOutputProvider: Better workaround for cores whose audio output goes dead (0 samples) at times. Better underrun handling. Different threshold for samples surplus vs. deficit.
2015-01-28 00:53:49 +00:00
adelikat 09072acb3b Lua Console - immediate box - in some situations wrap the text in a console.log(), such as if the user simply types a variable name 2015-01-27 23:27:44 +00:00
adelikat 3b13ea4a8f spaces to tabs, good ol whitespace commit 2015-01-27 23:18:48 +00:00
adelikat d61f1dd058 Do cheat saving magic on close rom, not close emulator 2015-01-27 22:23:56 +00:00
zeromus 8491be66ba add --dump-frames commandline to control which frames get dumped by the auto-dumping feature 2015-01-27 04:05:20 +00:00
zeromus fc699590f5 add ImageSequenceWriter AVDumper 2015-01-27 04:04:53 +00:00
adelikat 5636c1b6a1 Ram Search - support copy similarly to ram watch 2015-01-27 03:09:13 +00:00
adelikat f547dfbb21 some fixes to last commit 2015-01-27 02:53:57 +00:00
adelikat bb2cd1b476 Ram Watch - support copy and paste (generates and receives the same text as would be in a .wch file) 2015-01-27 02:37:18 +00:00
adelikat 82bda9006a Cheats dialog - never ask to save changes, the cheat system is independent of the dialog and makes intelligent decisions already, no need to annoy the user 2015-01-27 00:44:13 +00:00
jdpurcell c038ed0ed7 Sound/SoundOutputProvider - avoid buffer reallocation. 2015-01-26 15:00:11 +00:00
jdpurcell 0f5fc96410 Only trigger reload of rewind settings when something important changed, so we don't unnecessarily lose the rewind history. 2015-01-26 04:22:07 +00:00
adelikat 8246de14aa IMemoryCallbackSystem - add a flag to indicate whether execute callbacks are available, in lua and the debugger, take this flag into account, also improve some availability checking in Lua memory callbacks. Flag N64 as not having execute callbacks available 2015-01-25 22:14:58 +00:00
adelikat e1f59363f2 Debugger - on refresh, check for new non-debugger made breakpoints and display them 2015-01-25 19:50:54 +00:00
jdpurcell 8fe850ba1b Rewind speed setting.
Add comment to clarify the various methods of unthrottling.
2015-01-25 18:34:53 +00:00
jdpurcell 47956e6d86 Try to make the volume level better match the perceived loudness. 2015-01-25 17:00:08 +00:00
adelikat d4d966680d Debugger - tweak positioning of register labels when registers are not settable 2015-01-25 16:56:18 +00:00
adelikat e1811371e4 Cheats - only allow writable domains in the domains dropdown 2015-01-25 16:20:53 +00:00
jdpurcell 984edda62f Fix sound not being completely silent at level 0. 2015-01-25 16:08:28 +00:00
adelikat e51ffd95d8 Ram Watch/Search - disable poke and freeze toolbar items based on writability of a domain, also smarter enabling/disabling of them in general 2015-01-25 16:07:15 +00:00
adelikat 4a39b5a619 Hex Editor - if a domain is not writable, switch to a "read only" mode 2015-01-25 15:42:07 +00:00
adelikat 71d7c2537a Ram Watch/Search - also disable freezing if a domain is not writable 2015-01-25 15:15:56 +00:00
adelikat 7ed8704555 add a CanPoke() extension method for memory domains, checks for a null or not implemented Poke Poke delegate, use it to disable Poke on Ram Search and Ram Watch, still todo - hex editor and lua 2015-01-25 14:37:37 +00:00
adelikat d200c1be38 HexEditor.cs - fix line endings 2015-01-25 13:24:18 +00:00
adelikat 0d43688138 Change default savestate compression level to 0, I haven't seen a situation where 5 is better 2015-01-25 13:00:01 +00:00
jdpurcell 9b9ef1de0c Tweak threshold for sound stuff. 2015-01-25 06:10:00 +00:00
jdpurcell e69dcfc167 Change minimum sound buffer size from 80 ms to 60 ms. 2015-01-25 05:33:56 +00:00