Commit Graph

2198 Commits

Author SHA1 Message Date
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
jdpurcell b66dc6ba1b SoundOutputProvider tweak. 2015-01-25 05:03:21 +00:00
jdpurcell 69c66d12b1 Configurable DirectSound buffer size.
A bunch of changes in Sound / SoundOutputProvider to support this and behave nicely.
2015-01-25 03:33:45 +00:00
jdpurcell a04982bc84 SoundOutputProvider: Small improvements to resampling (round instead of truncate and noise shaping) - probably inaudible. 2015-01-24 21:52:27 +00:00
adelikat e4800cb8f3 debugger - fix ability to set write and execute breakpoints 2015-01-24 19:50:18 +00:00
adelikat d9c7e09445 Debugger - fix sound stutter on add breakpoint dialog pop up 2015-01-24 18:23:04 +00:00
adelikat 7b87f666a1 MemoryDomains - rename CheatDomain to SystemBus 2015-01-24 15:49:02 +00:00
jdpurcell 28cc91a0c4 Yet another N64 sound fix. 2015-01-24 04:48:41 +00:00
jdpurcell 219d10fd7c SoundOutputProvider: Proper fix for cores with weird audio timing (e.g. N64). 2015-01-24 03:49:22 +00:00
adelikat f89f8fc457 add a PauseChanged event to mainform, have the debugger subscribe to it and refresh instead of refreshing every frame, add a refresh menu item with F5 hotkey just in case 2015-01-24 03:10:21 +00:00
adelikat 027706be70 Debugger - to PC button 2015-01-24 02:50:22 +00:00
adelikat 652640d580 Debugger - disassembler - support ctrl+C to copy selected rows to the clipboard 2015-01-24 00:02:22 +00:00
adelikat 5d2eb17771 debugger - fix scrollbars on register panel 2015-01-23 23:51:37 +00:00
adelikat 19450e50f7 Debugger - Register box - make label spacing dynamic based on the largest register name 2015-01-23 23:17:24 +00:00
adelikat fd99a6edf9 Core Features dialog - better ordering in the all cores tab 2015-01-23 21:59:23 +00:00
adelikat 5db5b063d0 Core Feature Tool - clean up what types are shown 2015-01-23 21:40:50 +00:00
zeromus 773826049f fix bug in disassembler 2015-01-23 20:29:07 +00:00
jdpurcell 6a81746636 Temporary fix for N64 sound problems with new sound provider. 2015-01-23 05:39:19 +00:00
jdpurcell 5026d39da1 Fix divide by zero in SoundOutputProvider. 2015-01-23 05:02:31 +00:00
jdpurcell e3e5ae4934 New SoundOutputProvider class which takes the place of BufferedAsync. This should be far less prone to audible glitches and reduces latency. 2015-01-23 04:16:25 +00:00
zeromus 566107e12e rewind & states config - use of lowercase kb and mb as compared to KB MB offend me 2015-01-23 02:47:16 +00:00
jdpurcell 3b524cdbf2 Sound - mostly just cleanup and preparation for some future changes. 2015-01-23 02:09:25 +00:00
zeromus 2a1f40982c dont know how valuable it will be, but just in case.. 16.16 fixed point support 2015-01-22 01:24:20 +00:00
zeromus 3a8fcec1bf HexEditor: add a bit of a hacky n64 matrix viewer test code to context menu 2015-01-22 01:15:06 +00:00
zeromus c445dcf183 HexFind: respond to escape key 2015-01-22 01:14:49 +00:00
adelikat aff2e9544e Ram Search - change "Add to Ram Watch" hotkey from ctrl+R to ctrl+W for consistency 2015-01-21 23:20:58 +00:00
adelikat 69b2e51e7c Debugger - add a cancel seek button 2015-01-21 23:04:47 +00:00
goyuken af451143bf a bit of memory domain cleanup 2015-01-21 17:36:22 +00:00
adelikat 4b2d116738 Debugger - implement the Seek To button 2015-01-21 02:12:59 +00:00
adelikat 1fadcdd9f0 Debugger - add a SeekTo button/textbox, doesn't do anything yet, other than intelligently enable/disable based on availability and set the textbox properties based on the properties of the PC register 2015-01-21 00:46:13 +00:00
jdpurcell 85d6e985a0 Fix DPI scaling in Platform Chooser dialog. 2015-01-20 03:06:43 +00:00
adelikat 2e737e66be NES - remove some more unnecessary partial class usage 2015-01-19 13:38:08 +00:00
adelikat 5462e16b91 Hex Editor - fix a bunch more int to long conversions 2015-01-19 02:42:58 +00:00
adelikat a8b1fc609a Ram Poke - handle the case of an absurd amount of addresses picked 2015-01-19 02:04:04 +00:00
adelikat 1c6d6f57bc Hex Editor - better location for the poke dialog, don't attempt to highlight non-visible addresses (fixes some bad drawing when highlighting and scrolling) 2015-01-19 01:49:56 +00:00
adelikat ebf7273cbe Hex Editor - open poke dialog in a logical location, update the hex editor when Poke is clicked on the Poke pop up dialog 2015-01-19 01:39:47 +00:00
adelikat 0620246ef4 Hex Editor - fix highlighting of addresses greater than 7FFFFFFF in 32 bit domains 2015-01-18 20:15:03 +00:00
adelikat f647f16592 Ram Watch - add/edit watch - support 32 bit domains 2015-01-18 19:50:31 +00:00
jdpurcell ac4e197e22 Fix trackbars in Display config having different background color than their container (workaround applied only at runtime to avoid breaking designer). 2015-01-18 19:44:51 +00:00
adelikat 7859e17503 add PSX and Lynx to the platform chooser 2015-01-18 19:25:03 +00:00
adelikat f6b757e7fd Add Breakpoint dialog - fix a slight logic error 2015-01-18 19:08:25 +00:00
adelikat 515a41592c Convert a whole bunch of ram stuff from int to long 2015-01-18 18:59:23 +00:00