Commit Graph

2075 Commits

Author SHA1 Message Date
adelikat bcfdc755bb Program.cs - disable warning and use a non-deprecated method, props to HackerCow for pointing this out 2015-01-01 20:54:01 +00:00
adelikat 036e1cab8d Tastudio - oops, instantiate Settings 2015-01-01 20:48:14 +00:00
adelikat 72893a10f3 EmuLuaLibrary - remove some commented code that should have been deleted 2015-01-01 19:19:51 +00:00
adelikat 29117dadbe remove an unused function in ToolManager 2015-01-01 19:16:50 +00:00
adelikat bdae0c359b VirtualPad - use an IEmulator service and remove references to Global.Emulator 2015-01-01 19:15:32 +00:00
adelikat 5bba86e23a GB Game Genie - convert to IToolFormAutoConfig 2015-01-01 19:07:57 +00:00
adelikat bb5b20cc33 Gensis Game Geneie Encoder/Decoder - convert to IToolFormAutoConfig, fix a bug that would have made it never be available, make it available on non-interm builds (I think the issue keeping it unreleased was a core endian issue that was resolved), add a menu item for it in the Genesis menu 2015-01-01 19:02:00 +00:00
adelikat 93fe387311 NES Game Genie - convert to IToolFormAutoConfig, also fix a bug that would have made it never show up as available 2015-01-01 18:51:24 +00:00
adelikat 1854544f01 convert SNES Game Genie encoder/decoder to IToolFormAutoConfig 2015-01-01 18:45:14 +00:00
adelikat 1ee7cfc153 Convert Virtualpads to IToolFormAutoConfig 2015-01-01 18:42:08 +00:00
adelikat 6ce93c0496 TAStudio - move some settings from Config.cs to the dialog using [ConfigPersist] 2015-01-01 18:24:35 +00:00
adelikat 6fb88a0105 TAStudio - convert to IToolFormAutoConfig 2015-01-01 18:10:07 +00:00
adelikat dbdc92e7e2 Hex Editor - remove some unsused code 2015-01-01 17:53:21 +00:00
adelikat b8d667812b convert Lua Console to IToolFormAutoConfig 2015-01-01 17:48:25 +00:00
adelikat a2bee4f88a Lua Console - move "Autoload Session" to the recent session menu 2015-01-01 17:28:34 +00:00
adelikat 54b7a1c50f Convert Hex Editor to IToolFormAutoConfig and [ConfigPersist] 2015-01-01 14:54:26 +00:00
adelikat 89fcceecfc ToolManager - support autoloading from custom settings that inherit ToolDialogSettings, Ram Search - convert recent files to ConfigPersist 2015-01-01 02:08:45 +00:00
adelikat 8a13733f9b Hex Editor - don't use a ram search config setting (good ol copy pasta) 2015-01-01 01:25:36 +00:00
adelikat 31823693ae Cheats, Ram Watch - Fix bugs in column hide/show in new system 2015-01-01 01:21:06 +00:00
adelikat 6440c9c44b Ram Watch - convert to ConfigPersist, and do column stuff the new way 2015-01-01 00:47:22 +00:00
adelikat 399cbb9116 Cheats - remove the dependency on an IEmulator service by moving some logic to ToolManager (not good logic, will be obsoleted eventually) 2015-01-01 00:11:39 +00:00
adelikat b4c703580a A slight refactor with MainForm events 2015-01-01 00:06:00 +00:00
adelikat dba923d8b9 Cheats - auto-generate the Columns submenu instead of boilerplate 2014-12-31 23:48:39 +00:00
adelikat ace8192c8a Cheats dialog - refactor and simplify how column info is saved and loaded 2014-12-31 23:28:50 +00:00
adelikat d809da1e8d Cheats dialog - convert to using ConfigPersist, and simplify some code 2014-12-31 22:16:22 +00:00
goyuken 757ca11e98 gba gpu view: IToolFormAutoConfig 2014-12-31 19:22:39 +00:00
goyuken bdf6a58e2c fix NES NT\PPU view for previous revision 2014-12-31 17:43:40 +00:00
goyuken d1caf79a56 toolmanager: when electing to close and not restart a tool because of lack of services on the new core, clear out all services attached to the core first. this will turn some existing silent failures into NullReferenceExceptions, likely. fix one such bug in GBAGPUView 2014-12-31 17:18:51 +00:00
jdpurcell eacadc8e09 Apparently UserControls that are created dynamically need AutoScaleMode.Font. UserControls placed via the designer should use AutoScaleMode.Inherit. Actually it seems possible to get around the problems of dynamically created UserControls (including the need to manually scale the positions/sizes) by moving their creation into the constructor after InitializeComponent, adding SuspendLayout before InitializeComponent, and adding ResumeLayout after UserControl creation. But I don't want to risk moving the code around too much. 2014-12-31 05:34:21 +00:00
jdpurcell 09c6072082 Issue 288: Fix two crashes in single instance mode. 2014-12-29 04:20:47 +00:00
jdpurcell 19bdb01adc Small tweak to previous commit. 2014-12-29 00:59:40 +00:00
jdpurcell 7b4c5636bd Improve scaling. Still needs some work but it's better than it was. 2014-12-28 23:58:45 +00:00
jdpurcell 9a1108e9f7 Fix control positions/sizes in the cases where auto scaling doesn't apply (e.g. dynamically created controls). 2014-12-28 21:59:53 +00:00
jdpurcell 30d3b02a7f Auto scaling: All forms should have AutoScaleMode set to Font.
Auto scaling: All user controls should have AutoScaleMode set to Inherit (i.e. they inherit their containing form's AutoScaleMode, in this case Font). Explicitly setting an AutoScaleMode on user controls causes problems with child controls anchored to the bottom and/or right.
Remove explicitly set font in GenGameGenie form. Fonts set on the form/user control level cause problems with auto scaling.
Fix text box anchoring in DualGBFileSelector control.
2014-12-28 21:19:34 +00:00
goyuken 4d78052961 pce sound debugger: auto config 2014-12-28 17:22:58 +00:00
goyuken 87c064c6ac snes graphics debugger: use autoconfig 2014-12-28 17:15:36 +00:00
adelikat ffa672fd4a Rewind & States Config - when clicking ok, change the OSD message to mention states 2014-12-25 13:35:59 +00:00
adelikat 6c0a0401a9 Debugger - remove Load() logic since it is a duplicate of Restart() logic which is now called after Load() 2014-12-24 03:14:58 +00:00
kylelyk 2938f21962 Changed behavior when failing to import file to be less drastic. 2014-12-23 22:13:57 +00:00
adelikat f79d8332a6 Debugger - fix how IMemoryCallbackSystem is used, breakpoint control no longer permanently disabled even when it is implemented in a core 2014-12-23 18:24:01 +00:00
adelikat 816a6e53df Debugger - update some comments 2014-12-23 17:49:05 +00:00
adelikat 025299ebd1 Debugger - Restart() logic 2014-12-23 17:44:59 +00:00
adelikat 299e8cffaf Debugger - remove some unused code 2014-12-23 17:34:12 +00:00
adelikat f3599989bc Debugger - fix updating of register values when they are labels (when the ability to set registers is not implemented by the core) 2014-12-23 17:12:06 +00:00
adelikat feb7f4c4f3 Debugger - a fix to last commit 2014-12-23 03:13:13 +00:00
adelikat 7fb92d28fc Debugger - fix disassembler scrollbar logic, including the "infinite scroll" effect that when you click the up or down scrollbar arrows it will got to the next instruction (upon the next update it will "snap" back to PC) 2014-12-23 02:34:08 +00:00
adelikat 9c7becbcfb Debugger - better logic for clicking the scrollbar down arrow on the disassembler 2014-12-23 02:13:26 +00:00
adelikat 0f2197cec1 Break off ITracer from IDebuggable, rename to ITraceable and make it an IEmulatorService, refactor things accordingly 2014-12-23 01:58:12 +00:00
adelikat 5d4f9a715a Debugger - don't assume a core will return any flags 2014-12-23 01:02:52 +00:00
goyuken 3ff067d426 IToolFormAutoConfig: add restore defaults 2014-12-23 01:01:37 +00:00
adelikat 2a771791d0 Debugger - fix display of registers when register setting isn't available 2014-12-23 00:58:21 +00:00
adelikat 0f97dbb017 Debugger - remove some unused code that didn't get deleted in an earlier revision 2014-12-23 00:01:46 +00:00
adelikat 1efd1454c2 Debugger - remove defaultWidth/Height stuff that isn't used now 2014-12-22 23:58:21 +00:00
adelikat 67d03c12c7 Debugger - convert to IToolFormAutoConfig 2014-12-22 23:57:03 +00:00
kylelyk b8be890343 TAStudio gives Message Box before exiting when loading bad file. 2014-12-22 22:31:47 +00:00
kylelyk 9bb8a0f355 Fixed MarkerControl crashing on startup in TAStudio (temporary fix). 2014-12-22 22:30:22 +00:00
goyuken 6f195ba0d8 RecentItems Menu: add ability to configure its own recent size 2014-12-22 21:51:35 +00:00
goyuken 7e51289003 pce cdl: change settings system 2014-12-22 21:38:57 +00:00
goyuken 5ac505d582 SMS vdp viewer: settings 2014-12-22 19:15:56 +00:00
goyuken 808e17c3f7 tracelogger settings 2014-12-22 19:01:21 +00:00
adelikat fea5156c31 Virtualpads - fix Atari 2600 B button 2014-12-22 01:36:54 +00:00
adelikat fd28a593f6 Ram Watch - add a null check on Restart() 2014-12-22 00:59:39 +00:00
goyuken 78ea103114 ramwatch fix 2014-12-21 21:43:03 +00:00
goyuken d1580567dd add a few missed ServiceInjection uses 2014-12-21 18:25:04 +00:00
goyuken 66b557ce93 update some pce tools to use autoconfig/configpersist 2014-12-21 16:59:36 +00:00
goyuken ed6082cab3 NES: set NT and PPU viewers to use the new settings stuff 2014-12-21 08:17:56 +00:00
goyuken 3ff57483ff tool manager: more config stuff 2014-12-21 05:56:51 +00:00
zeromus 4d1cd06dcf psx - add note that hardcore debug mode might be nice for users of segmented AV dumping 2014-12-21 05:36:44 +00:00
zeromus 5261b1fd57 aviout - fix bug with non-multiple-4 pitches (e.g. 24bpp 350px wide psx screen) 2014-12-21 05:27:42 +00:00
goyuken ff8922bb08 itoolform custom config infrastructure; not complete 2014-12-20 21:49:53 +00:00
adelikat 1d0b623d88 Debugger - diassembler - an attempt to implement scrolling up (only works on small increment for now), but busted, arg 2014-12-20 20:33:54 +00:00
adelikat 4bdbf9fa14 Debugger - Disassembler - use the System Bus to assess the max value, instead of a hardcoded 0xFFFF 2014-12-20 18:11:42 +00:00
goyuken 62cb922a81 change GB gpu to work with IToolFormAutoConfig and fix un-resizable window behavior 2014-12-20 17:20:56 +00:00
goyuken 2245398df1 change itoolform autoconfig to opt-in 2014-12-20 17:05:13 +00:00
adelikat 8e3c494204 Debugger - Disassembler - highlight the current PC, and some more reorg 2014-12-20 16:01:11 +00:00
adelikat 7d3a7005cb Debugger - clean up and reorg some disassembler code 2014-12-20 15:56:01 +00:00
adelikat b1f9480790 remove a line of commented code 2014-12-20 15:02:23 +00:00
adelikat 83ba7796f9 Debugger - tooltips on disabled things, explaining the situation 2014-12-20 14:45:06 +00:00
adelikat 888fc35eb0 Debugger - wire up step buttons 2014-12-20 13:48:56 +00:00
adelikat af851b8ad6 Show Step buttons/menu items based on whether it is implemented in the current core 2014-12-20 13:36:22 +00:00
adelikat 0916638e40 Debugger - better checking if something exists or not 2014-12-20 13:12:03 +00:00
adelikat 805bbfb830 Debugger - slight positioning fix 2014-12-20 03:58:07 +00:00
adelikat fe2abe787b Debugger - Register box - set width of textboxes according to the max number of digits needed 2014-12-20 03:52:23 +00:00
adelikat 0965475999 Debugger - Register box - properly detect flags and use button style and better positioning, convert register textboxes to hex, and set max length of the boxes appropriately given the size of the register 2014-12-20 03:47:58 +00:00
adelikat 7bebb66589 IDebuggable - refactor GetCpuFlagsAndRegisters to be IDictionary<string, Register> where Register is a value and a bitsize 2014-12-20 03:19:33 +00:00
goyuken 360ca02b93 tool setting stuff. WIP 2014-12-19 23:33:05 +00:00
goyuken 4441052310 toolmanager: refactor get 2014-12-19 22:21:25 +00:00
hegyak d2fc1f1f8b Hex Editor is not always enabled. 2014-12-19 13:07:20 +00:00
zeromus 4dc4745122 psx - revise disc swapping method. way cooler now, you get a list of discs in the virtualpad box, and changing between them maps to physical operations more logically. 2014-12-19 03:24:48 +00:00
faceshed c6277df979 Use Tool manager to determine the availability of tools during menu opening events 2014-12-18 20:26:46 +00:00
adelikat 42b454a562 Rip out the Atari 2600 debugger 2014-12-18 18:51:22 +00:00
zeromus 3d294ba329 fix psx screenshots 2014-12-18 07:38:56 +00:00
adelikat b8f51ae172 I fail at check ins 2014-12-18 03:24:52 +00:00
adelikat f6d5f64ef2 Debugger - move a function 2014-12-18 02:42:53 +00:00
goyuken cfaf59f887 lua: internal infrsatructure changes to nes library 2014-12-17 23:03:58 +00:00
scepheo eaaaef8f1d RamSearch: Have Restart() handle settings loading so RAM Search actually works again. 2014-12-17 20:04:25 +00:00
goyuken 56d144699d fix compile failure 2014-12-17 18:25:54 +00:00
goyuken ecf8728de6 factor out serviceinjector to emulation.common 2014-12-17 18:17:16 +00:00
faceshed 844f66f9db 2014-12-17 17:41:52 +00:00
goyuken 02b799b491 cleanup NES ppu\nt stuff 2014-12-17 17:26:47 +00:00
adelikat 84c6c94df0 Hex Editor - remove a usage of Global.Emulator 2014-12-17 03:57:07 +00:00
adelikat ffe3be09a4 Remove some now useless logic in the Restart() method of some tools (checking IsHandleCreated and IsDisposed) 2014-12-17 03:48:08 +00:00
goyuken 1504f8d441 itoolform remove spurious restart calls 2014-12-17 03:35:57 +00:00
adelikat cc1b3832f4 Automate the ToolBox tool, it generates its buttons based on IToolForm implementations, that are released (or all in developer build), and that are available (current core provides all necessary dependencies) 2014-12-17 03:28:10 +00:00
goyuken d305b2f538 partially functional ppu viewing tools for quicknes 2014-12-17 03:27:44 +00:00
adelikat 53dc38ee66 ToolManager - manage IsHandleCreated and IsDisposed logic when deciding to restart a tool, still todo: a billion tools do this logic unnecessarily now 2014-12-17 03:21:32 +00:00
adelikat 6ac789f5e8 PCE CDL - don't call restart in the constructor, the ToolManager will take care of that, still todo: a billion other tools do this 2014-12-17 03:20:49 +00:00
adelikat 95c57da72c Ram Watch - add back the text property as "Ram Watch" don't know when that went blank 2014-12-17 03:03:12 +00:00
zeromus 8d0205f962 psx - fix some small bugs in PAL support and make psx options dialog update labels with calculated resolutions so you can better understand what the options do 2014-12-17 02:54:43 +00:00
goyuken 215e155b47 fix recent hex editor regression (would not load) 2014-12-17 02:44:49 +00:00
goyuken eb4aa94546 stuff 2014-12-17 02:33:05 +00:00
goyuken 50704247fa NES: ppu view internal infrastructure 2014-12-17 02:01:48 +00:00
adelikat bb85875b94 Undo the GBGameGenie change, forgot that it also does Game Gear codes 2014-12-17 01:51:52 +00:00
adelikat 4dd4e839ff GB Game Genie - for now add a Gameboy object as a required service, even though it doesn't get used, the tool isn't useful and should not be used on any other core 2014-12-17 01:32:22 +00:00
adelikat 78d462dda3 Atari 2600 debugger - use RequiredService 2014-12-17 01:29:21 +00:00
zeromus 3f15ae4e91 psx - PAL mode now works (required fixing resolution tweaks and firmware setup). also hook up scanline and overscan control options 2014-12-17 01:23:24 +00:00
goyuken 665ead318b nes ppu view infrastructure changes, not complete 2014-12-17 00:35:59 +00:00
adelikat 84f1ba2dd4 PSX - enable 2nd dualshock controller, add 2nd controller to virtualpad 2014-12-16 23:44:23 +00:00
adelikat 03e92ce883 Add a ToolAttributes.cs class, right now it just has a released flag, mark a few tools as unreleased, eventually there's code that will take advantage of this flag 2014-12-16 23:33:07 +00:00
zeromus b3923283d2 emuhawk - fallback to gdi+ on systems with less than 2.0 opengl 2014-12-16 20:24:14 +00:00
zeromus 2255e5c9ea emuhawk - add --gdi commandline so that you can force the program to boot up that way instead of attempting to use a broken opengl by default (take 2) 2014-12-16 19:35:52 +00:00
zeromus 26969addb9 emuhawk - add --gdi commandline so that you can force the program to boot up that way instead of attempting to use a broken opengl by default 2014-12-16 19:22:49 +00:00
hegyak 9dea7cf0b0 Hide Frame Count on Null Emulator. 2014-12-16 04:31:07 +00:00
hegyak 69473b842c Correct Issue 343 2014-12-16 03:36:38 +00:00
zeromus c43dd9fc34 psx - revise disc switch schema stuff; add MinValue support to analog button and tweak the pip positioning 2014-12-16 03:15:27 +00:00
scepheo 14e2b280ac Removed reference to Global.Emulator from RamSearchEngine. 2014-12-16 01:50:22 +00:00
scepheo 77be509e44 RAM Search: Implement previous type "last change". Fixes issue 331. 2014-12-16 01:19:29 +00:00
goyuken ea47246658 remove the IEmulator inheritance from some services, and fix code as needed 2014-12-15 22:25:06 +00:00
xmikecampx7 00cd8573da Added Draft PSX Schema 2014-12-15 21:54:51 +00:00
goyuken ba6f740382 use service injection for nessoundconfig 2014-12-15 21:21:37 +00:00
goyuken 08d09bc64f a few more itoolform cleanups 2014-12-15 18:13:54 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
adelikat 0e528d22c2 Debugger - refactor based on having the PCRegisterName property 2014-12-14 17:44:45 +00:00
adelikat dd77eaf0c9 Debugger - add Step Into/Over/Out menu items and buttons, not enabled yet, still need an API to wire up to 2014-12-14 16:40:31 +00:00
adelikat 8648e6ba0a Remove the nes debugger tool 2014-12-14 14:56:16 +00:00
adelikat 227fd64e60 Debugger - a rough basic disassembler (if the necessary pieces are provided by the core), still a lot of details to work out 2014-12-14 14:30:46 +00:00
zeromus 2d56514fde load m3u files. still no disc switching 2014-12-14 10:36:03 +00:00
zeromus ede9620446 psx - settings framework and implement mednafen-compatible display mode 2014-12-14 08:48:23 +00:00
scepheo 7c9f7706d3 ToolManager: added compile-time unknown type version of Load and methods it uses. 2014-12-14 02:15:19 +00:00
adelikat 0b51a88a7d Cheat Editor - don't reference Global.Emulator 2014-12-14 02:03:27 +00:00
adelikat 1a1116c651 NES - make DatachBarcode an emulator service, convert BarcodeEntry to EmulatorService 2014-12-14 02:01:38 +00:00
adelikat e6ea5bdf70 Convert TraceLogger to EmulatorServices 2014-12-14 01:45:24 +00:00
zeromus 24526669fe emuhawk - add options for display of various window components (menu,frame,caption,statusbar). add --chromeless commandline argument and logic for folks embedding in frontends 2014-12-14 01:43:46 +00:00
adelikat 3af65a6498 removed some deletable code I missed 2014-12-14 01:42:05 +00:00
adelikat 685756ea8e Remove LoadTraceLogger() from ToolManager since it was simply a wrapper to manage availability logic, most of those types of properties should be removed now 2014-12-14 01:39:15 +00:00
adelikat e214706e4c remove now unnecessary type checking before autoloading tools 2014-12-14 01:34:58 +00:00
adelikat ce4c3a4ca6 Tool hotkeys - remove a bunch of now unnecessary checks 2014-12-14 01:30:38 +00:00
adelikat 106b9d4848 Tastudio requires IInputPollable 2014-12-14 01:30:09 +00:00
adelikat 30e6aeb0bf ToolManager Load<T> - check IsAvailable() before attempting to load 2014-12-14 01:25:28 +00:00
adelikat 3768e393c7 Convert remaining tools to EmulatorServices 2014-12-14 01:20:19 +00:00
adelikat b12f4c36b1 Convert more tools to EmulatorServices 2014-12-14 00:46:14 +00:00
adelikat c1767a6fe7 convert some nes tools to EmulatorServices, currently they simply require a NES instance, eventually need to use an actual service, that all nes cores could implement 2014-12-14 00:25:50 +00:00
adelikat 5d59e00c20 Convert Genesis tools to use EmulatorServices 2014-12-14 00:12:44 +00:00
adelikat 29d6859167 Debugger - convert to using OptionalServices for the Disassembler 2014-12-13 23:57:23 +00:00
adelikat d1cc13a9c0 BasicServiceProvider - catch any IEmulatorServices that the core implements that aren't defined in the Emulation.Common assembly, and make IGBAGPUViewable an emulator service 2014-12-13 23:45:51 +00:00
scepheo 7f0229d9e6 Added support for OptionalServices and cleaned up ToolManager code. 2014-12-13 23:36:49 +00:00
adelikat 7925b6f939 convert some gb tools to EmulatorServices 2014-12-13 23:26:18 +00:00
adelikat b3a47b911b Debugger - use EmulatorServices 2014-12-13 23:15:39 +00:00
zeromus 979fa2c0f7 displaymanager - maybe, just maybe, successfully get rid of the need for 0xFF000000 in the VideoProvider buffers. Should enable some little speedups and cleanups of other code that had to add the 0xFF000000 alpha channel 2014-12-13 23:04:22 +00:00
adelikat 557309eb6f Fix a bug in ToolManager.Restart() 2014-12-13 23:02:32 +00:00
adelikat 94bd987a73 Convert Cheats to EmuatorServices 2014-12-13 22:57:51 +00:00
adelikat 8eda262ebe convert Ram Watch and Hex Editor to use EmulatorServices 2014-12-13 22:54:07 +00:00
adelikat c00b8ad78e Ram Search - convert to using EmulatorServices 2014-12-13 22:40:04 +00:00
adelikat 6e875625cd CheatEdit - fix a logical error 2014-12-13 22:33:46 +00:00
scepheo b65bf1b5ae ToolManager: Added tool dependency injection on tool restart and load. 2014-12-13 22:32:08 +00:00
scepheo 99506df596 ToolManager: Forgot compiler-time unknown type variants of GetDependencies and IsAvailable. 2014-12-13 22:14:30 +00:00
adelikat 73cd68e5f9 Debugger - Disassembler - cpu setting 2014-12-13 22:10:39 +00:00
scepheo 769cbeb1a0 - IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
adelikat 15a64b954e Debugger - start some disassembler stuff 2014-12-13 21:41:39 +00:00
adelikat 6933d5ee56 Debugger - rip out tracer and put instead a placeholder groupbox that will house a disassembler 2014-12-13 19:31:10 +00:00
adelikat 81de56707f oops 2014-12-13 18:33:35 +00:00
adelikat c4680f56d4 Debugger - Breakpoints - Add icon 2014-12-13 18:28:50 +00:00
adelikat e659dcb8f7 Debugger - breakpoints - add a toggle button 2014-12-13 18:25:02 +00:00
adelikat 822c8562b0 Debugger - breakpoints - add num breakpoints and num active 2014-12-13 17:48:11 +00:00
adelikat 9997c4fa8d do last commit more correctly 2014-12-13 17:33:02 +00:00
adelikat 18e112536a Debugger - add breakpoint dialog - pop up in a reasonable place, and limit address size based on the core's bus size 2014-12-13 16:59:01 +00:00
adelikat fbe64083e6 update psx controller image cuz spikestuff told me to 2014-12-13 14:44:47 +00:00
adelikat a4e5bdc934 Add dualshock controller image to controller config 2014-12-13 02:16:05 +00:00
adelikat 96af736857 Fix logic in File submenu opening event 2014-12-12 14:25:15 +00:00
zeromus b16497ad24 emuhawk - add a main menu item for Save RAM and bold it if it is dirty; allow it to be manually flushed, instead of having to wait for the client or core to close 2014-12-12 04:22:15 +00:00
adelikat 08fb509a1a Add an IDriveLight Emulator service, and remove the CoreComm properties, and refactor accordingly 2014-12-12 01:49:54 +00:00
zeromus ba3a6ca817 display manager: dont crash when receiving 0,0 buffer size to autosize to, even though that was probably a mistake 2014-12-12 00:39:50 +00:00
zeromus c895d4602f forgot to add 2014-12-11 22:12:10 +00:00
zeromus f5dabcdbf5 psx - add a PSX options menu 2014-12-11 20:31:55 +00:00
adelikat ab312add39 Breakpoints - add in a notion of readonly since we are showing all callbacks in the core, even ones the debugger didn't create, and the debugger managing ones it didn't create is bad news 2014-12-10 23:11:04 +00:00
adelikat cdcb806d8c Debugger - breakpoints - add stuff like activating/deactivating, key presses, double click 2014-12-10 22:59:28 +00:00
adelikat 91353d776b Debugger - basic showing and adding of breakpoints, including pre-existing ones 2014-12-10 22:47:09 +00:00
zeromus f1bd6f0086 less amount / more useful chatter when changing client dimensions 2014-12-10 19:36:16 +00:00
zeromus 4015ba2e50 some cleanup 2014-12-10 19:34:46 +00:00
zeromus e0c09a553b redo how subwcrev stuff is done, so that the subwcrev process doesnt have to run for every project. improves build times. 2014-12-09 19:20:22 +00:00
scepheo 50730ae132 Added nag when loading a movie without SyncSettings. 2014-12-08 22:53:09 +00:00
adelikat ec58c2d34c Don't load missing or empty Sync Settings when loading a movie, just keep the user's current settings rather than forcing default settings on them 2014-12-08 19:07:36 +00:00
zeromus 08ae448257 start adding d3d9 display method, but.. it was more work than gdi+, as I expected. I'll finish it another time. 2014-12-08 02:15:42 +00:00
adelikat 1473db5aa8 Move AddBreakpointDialog to the Debugger folder 2014-12-07 20:17:15 +00:00
adelikat 68e1eae014 MemoryCallbackSystem - implement IEnumerable, Debugger - use it to pre-populate the breakpoint dialog with pre-existing breakpoints 2014-12-07 19:38:42 +00:00
adelikat 1c179da80c MemoryCallback System - another refinement, make an IMemoryCallback and make that the argument for add methods 2014-12-07 19:09:36 +00:00
adelikat 2d1a43dc65 MemoryCallbackSystem - simplify by having a single Add method with a MemoryCallbackType parameter, and some simplifying of client code as a result 2014-12-07 18:53:56 +00:00
adelikat ba31d7d28b Debugger - better handling of what is or isn't implemented on startup, no longer crashes when opened using the QuickNes core 2014-12-07 14:52:09 +00:00
zeromus 556b7b0123 gdi+ display method! 2014-12-07 02:26:52 +00:00
adelikat 415fda2373 Debugger - on close, turn off trace logging 2014-12-06 16:28:42 +00:00
adelikat 97476a8b69 Debugger - breakpoints 2014-12-06 15:07:01 +00:00
adelikat 93692b0220 Debugger - update register values 2014-12-06 13:42:59 +00:00
adelikat 4b8f5b2962 Debugger - add a crude Register box, dynamically reads the cores flags and registers and creates ui, is they are settable it creates textboxes (registers) and checkboxes (flags) with change events that set the core values. If register setting is not implemented, it creates labels instead. Plenty of details to refine about this process. 2014-12-06 01:14:58 +00:00
adelikat 748fab4dfb Debugger - use the Tracer.Header property 2014-12-06 00:21:25 +00:00
adelikat 00523ca5aa Debugger - implement trace logger 2014-12-06 00:18:51 +00:00
adelikat 4a96e58a24 Start a generic Debugger tool, does nothing now except for open and have the standard ui options all tool forms have (such as autoload) 2014-12-06 00:03:36 +00:00
adelikat 0b84beec88 Move MemoryCallbackSystem from CoreComm to IDebuggable and refactor accordingly, Lua - tell the user when memory callbacks are not available for a given core 2014-12-05 01:56:45 +00:00
adelikat f5cc38c9cd AsInputPollable() 2014-12-05 00:59:00 +00:00
adelikat e2033c9d2e AsStatable() and also update statusbar saveslots on CloseRom() 2014-12-05 00:52:16 +00:00
goyuken 40416656a2 eliminate snowiy emulator option from CoreComm. this commit is a bit hackish 2014-12-05 00:39:02 +00:00
adelikat 1fad6f4a88 AsSaveRam() 2014-12-05 00:34:57 +00:00
adelikat 04f9081943 in IEmulator extensions add methods such as AsMemoryDomains(), AsStatable() that do the service calling magic. In the client code replace appplicable casts of IMemoryDomains with AsMemoryDomains(), more commits of this nature for the other IEmulatorServices soon to follow 2014-12-05 00:32:29 +00:00
adelikat a91de9ad9c Move TraceHeader out of CoreComm and into ITracer and TraceBuffer 2014-12-05 00:10:48 +00:00
adelikat 309088211c Move TraceBuffer from CoreComm to IDebugable and refactor accordingly 2014-12-05 00:05:40 +00:00
zeromus 29b217b587 big discsystem refactors and preliminary CCD handling. not to be considered stable, but ill start supporting it. 2014-12-04 05:40:10 +00:00
adelikat 529591ce2d Rename ICoreService to IEmulatorService 2014-12-04 02:12:57 +00:00
goyuken f2ff432b3a helpful mouseover tooltips in firmwares config 2014-12-04 00:37:06 +00:00
adelikat 9adc45f4d1 Add a ServiceNotApplicable attribute for cores to mark things like SaveRam and ISettable as not applicable for the given core, update the CoreFeatureAnalysis dialog to not show these interfaces for the given core (and not mark them as incomplete). Set various cores accordingly 2014-11-30 23:41:54 +00:00
adelikat 09cb098705 Core Feature Analysis - don't reflect properties, their get/set methods show up when iterating methods 2014-11-30 23:28:18 +00:00
adelikat 6c08847c38 Disable Rewind & States menu item based on if the core is IStatable 2014-11-30 22:58:03 +00:00
adelikat 745b8f555b Controller Config menu item - disable based on ControllerDefinition having any buttons rather than check for Null Emulator 2014-11-30 22:56:02 +00:00
adelikat 05533c8562 Lag Counter hotkey logic, and Tastudio depends on both IStatable and IInputPollable 2014-11-30 20:32:25 +00:00
adelikat a83d714c42 Break off IsLagFrame and LagCount from IEmulator and put into its own interface IInputPollable, and refactor cores as necessary. EmuHawk - account for the possibility that a core is not an IInputPollable, and do things like disable the lag counter menu item. Still some front end todos. Also still todo, move the InputCallbackSystem from CoreComm to IInputPollable 2014-11-30 20:29:30 +00:00
adelikat 15ccb45dce Don't show save slot stuff in the Statusbar if core is not an ISettable 2014-11-30 19:52:32 +00:00
adelikat 2bd45e653c Check HasSavestates() on some hotkeys 2014-11-30 19:48:10 +00:00
adelikat 2ae3609791 Replace an IsNull() check with a Global.Game != null 2014-11-30 18:52:46 +00:00
adelikat 6ae238b725 Remove a dubious IsNull() call 2014-11-30 18:49:58 +00:00
adelikat 21889bba58 Lua Console - replace a NullEmulator check with a Global.Game != null check as that is more precisely why a check is happening 2014-11-30 18:44:20 +00:00
adelikat 773a53d2e3 Hotkeys that operate on tools - check that the core has the proper prerequisites before opening them 2014-11-30 18:35:25 +00:00
hegyak f77fdf81d8 Finish cleaning up the FileSubMenu_DropDownOpened Dialogs enabling/disabling. 2014-11-30 18:31:00 +00:00
adelikat c0b1f6a285 remove IsNull() usage for tools that require IMemoryDomains, better to fail catastrophically as they shouldn't be able to get this far. 2014-11-30 18:24:28 +00:00
adelikat 39f145d58b Hex Editor don't check for Null Emulator, tool should not be able to be opened anyway in this situation 2014-11-30 18:22:44 +00:00
adelikat fbcfc37b9f No need to disable the RebootCore menu item if Null Emulator 2014-11-30 18:19:38 +00:00
adelikat caa4296018 Toolbox - show tastudio only if HasSavestates() 2014-11-30 18:10:04 +00:00
adelikat 9e7193f8b2 Virtualpad is fine during null emulator don't disable the menu item, useless but nothing bad happens. Tastudio menu item should be disabled if core is not an IStatable 2014-11-30 18:06:26 +00:00
adelikat a442e879d3 Named Savestate save/load methods - check HasSaveStates() not IsNull() 2014-11-30 18:03:02 +00:00
goyuken d582161d82 allow av recording and screenshots of null emulator (static screen) 2014-11-30 17:58:37 +00:00
adelikat 70a9b535f5 check HasSavestates() on some save and loadstate calls that can be accessed via lua (and other stuff) 2014-11-30 17:51:16 +00:00
adelikat 65249ad0f9 MainForm - File Menu - disable savestate related submenus if core does not implement IStatable 2014-11-30 17:41:24 +00:00
adelikat bdccb6d400 Record Movie - remove the "Now" option if the core doesn't implement IStatable 2014-11-30 17:37:22 +00:00
adelikat 76148ae111 Break off savestate functionality from IEmulator into IStatable and refactor things accordingly. Still todo (a big todo): EmuHawk should gracefully handle a core that is not an IStatable by disabling functionality dependent upon it (Savestates, Rewind, Tastudio, etc) 2014-11-30 16:42:58 +00:00
adelikat 230cd3fb6a remove a warning 2014-11-30 16:04:38 +00:00
adelikat 865795049b Break off saveram methods from IEmulator into a separate ISaveRam interface. Remove the setter for SaveRamModified (every single core was throwing an error on this, and no client code was using it). Remove these methods from cores that don't actually implement this interface 2014-11-30 15:22:08 +00:00
adelikat e1a90430ea refactor MainForm.cs SaveStateAs() to use object initializer syntax 2014-11-30 14:21:11 +00:00
adelikat 4681fef0c2 Add an IsNull() extension method to IEmulator (checks for null and if NullEmulator) and replace EmuHawk NullEmulator checks with this method instead 2014-11-30 14:18:44 +00:00
goyuken ff54192fdc fix missing movie extension for game names that have a . at Length-4 2014-11-30 04:02:31 +00:00
goyuken 8271da0855 fix crash trying to use snes bg hotkeys when snes is not loaded 2014-11-29 21:06:15 +00:00
goyuken b21cfdd927 ward off possible bugs 2014-11-29 19:36:11 +00:00
goyuken 0b16e36776 fix issue 330 2014-11-29 18:57:57 +00:00
adelikat a26e36719a Don't allow drag and drop of a movie file if a movie is already active 2014-11-29 00:59:14 +00:00