Commit Graph

2148 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