Commit Graph

328 Commits

Author SHA1 Message Date
adelikat fcbcbc2ac4 some stupid code cleanup while I'm at it 2014-01-01 02:16:47 +00:00
adelikat a3a8170c44 Check Global.Config.SupressAskSave in ToolManager instead of doing it in the tool dialogs themselves 2014-01-01 02:09:03 +00:00
adelikat 3784256e56 Cheats form - some more code refactoring/cleanup 2014-01-01 02:02:23 +00:00
adelikat a7bf93a85c Cheats - remove duplicate button and menu item, since duplicates aren't allowed. And some minor code cleanup while I'm at it 2014-01-01 00:07:24 +00:00
adelikat 7e24c75a3d tiny code cleanup in Hex Editor 2013-12-31 18:52:52 +00:00
adelikat fd56efd33a Some renaming of Save/Load state functions and variables to make them less confusing 2013-12-30 16:49:13 +00:00
zeromus 436881beaf lua: better typecasting for LuaInt and LuaUInt that doesnt throw overflow exceptions; and, render to a null image when the lua script manager Resume process hasnt begun (setting up a render target) but lua scripts run (due to loadstate, for example) 2013-12-30 16:36:15 +00:00
adelikat 213e02ffef Lua - forms.textbox() - add a fixed width option 2013-12-30 14:58:09 +00:00
adelikat dae86e770c Mainform - a round of cleanup 2013-12-29 23:35:42 +00:00
goyuken 75d39ac60f SNES: connect to new settings system.. everything should work? 2013-12-27 17:59:19 +00:00
adelikat 5e0db12638 Path Config - some code cleanup, mostly removing the obsolete hack of delaying tab creation until the tab is clicked (setting visibility of the tab conrol while creating tabs fixed the performance issue completely). 2013-12-27 17:27:33 +00:00
adelikat ca5a54b283 Path Config - Show Genesis in non-interim builds 2013-12-27 16:52:15 +00:00
adelikat 098fca2895 Ram Search - make manual removal of addresses undo-able, slight cleanup of Start method 2013-12-27 16:48:47 +00:00
adelikat 4ea95ac94e New way of doing hotkey logic in mainform, only 3 hotkeys are converted to this way because I got bored 2013-12-27 16:23:12 +00:00
adelikat 9d8945160c Mainform cleanup - remove core check in snes layer toggle methods since there is no logic there that requires an SNES core instance 2013-12-27 15:10:11 +00:00
adelikat 2d51ac5d13 Move a function from mainform to moviesession 2013-12-27 14:39:01 +00:00
goyuken a005767463 random cleanup 2013-12-27 04:41:50 +00:00
goyuken e3165459d8 saturn to new settings system 2013-12-27 03:02:28 +00:00
adelikat f122105b42 oops, put Rewinder in Global not GlobalWin 2013-12-27 01:19:38 +00:00
adelikat b5d3f68126 Move rewind code to client.common 2013-12-27 01:14:17 +00:00
adelikat edb5560da7 A round of cleanup on rewind code - break subclass into their own files, into a rewind subfolder, cleanup some formatting and naming 2013-12-27 00:47:52 +00:00
adelikat f090597fbe make MainForm.Rewind.cs into a separate class instead of a partial class of Mainform. Still dependent on the Mainform context so is still a part of the EmuHawk project for now 2013-12-26 23:12:41 +00:00
goyuken 2171d4cd00 n64: support new settings system. regression: n64 video plugin settings are no longer stored in movie 1.0 files nor read from them 2013-12-26 23:04:22 +00:00
goyuken 9fe0525746 settings load cleanup 2013-12-26 20:19:28 +00:00
adelikat 1232642c15 some minor code cleanup of MainForm.cs 2013-12-26 01:00:44 +00:00
adelikat db5684b4db Create a RomLoader object in Client.Common and port over a bunch of code from EmuHawk. Still a lot of refactoring, and probably more logic can be moved to common, and things need cleanup, and there is possibly bugs.
This commit breaks coleco rom loading, to settle a merge conflict with the previous commit
2013-12-25 19:09:53 +00:00
goyuken cff6a517f5 coleco to new settings system 2013-12-24 23:32:43 +00:00
adelikat e711a6ec6f Move SwapBackupSavestate() from EmuHawk.Mainform to Client.Common.SaveSlotManager 2013-12-24 22:20:18 +00:00
adelikat dd63395f67 move some stuff from EmuHawk to Client.Common 2013-12-24 21:59:41 +00:00
adelikat 302e71edc3 Rework some input stuff in preparation for moving it to common 2013-12-24 21:37:51 +00:00
goyuken 82c82b681a connect a26 to the new settings setup. unlike all those before it, the menus have changed a bit, but all of the functionality is still there. in movie 2.0, a26 will store the two difficulty switches and the bw\color switch as syncsettings 2013-12-24 20:50:53 +00:00
goyuken bdfbafdfca SMS: support new settings infrastructure. this adds enableFM and allowOverclock as sync relevant settings for movie files (but of course, they won't end up in Movie 1.0 files) 2013-12-24 01:06:17 +00:00
goyuken 916e0029c4 GPGX: support new settings system. this means you can now connect all manner of weird arse controllers, but some aren't implemented in other places yet. 2013-12-23 23:03:12 +00:00
goyuken 50e3691181 new setting system: misc cleanup 2013-12-23 21:54:10 +00:00
goyuken 2558e76b5d fix rewind on N64, gpgx.debug 2013-12-23 20:34:02 +00:00
goyuken bf20188462 add winform edit for dual gameboy settings 2013-12-23 16:58:20 +00:00
adelikat 70078b24f2 Remove the hacky Cheats_Restart() method and move the logic into the Restart method of ToolManager, also move over the generateDefaultCheatName to that object and make it static 2013-12-23 03:07:06 +00:00
goyuken d37796ab1c more new core config framework; this time GAEMBOY 2013-12-23 02:51:41 +00:00
adelikat 05e2f67771 Move some tool loading logic from mainform to toolmanager 2013-12-22 23:34:22 +00:00
goyuken f992672051 NES add sound volume settings to config object 2013-12-22 21:47:16 +00:00
goyuken 0347fc5eef core settings stuff etc 2013-12-22 20:41:21 +00:00
adelikat 7acc64c37e Add Geneis Game Genie to toolbox, and re-enable the feature but INTERIM flag it 2013-12-22 20:38:36 +00:00
adelikat 2448ad0dda Wire up the Genesis Game Genie Encoder/Decoder to the GPGX core, but disable it since it doesn't seem to work right now 2013-12-22 20:25:43 +00:00
adelikat 5fc78efe85 Fix exception when a "Starts from Now" movie is made with the record movie dialog when the folder selected does not already exist 2013-12-22 19:06:57 +00:00
adelikat d5ea2567ba Context Menu - fix logic for showing Add Subtitle 2013-12-22 18:54:07 +00:00
adelikat 4584b0a054 Path Config - fix defaults button, remove "DEBUG" tab and some code cleanup 2013-12-22 18:36:27 +00:00
adelikat 5e05882b70 Hotkey config - fix spacing bug 2013-12-22 17:14:22 +00:00
adelikat c48f93d099 Restore saveslot statusbar icons coloring 2013-12-22 17:02:28 +00:00
adelikat 5fff62d52b Add GBA Gpu Viewer to toolbox, and add snazzy gba icon 2013-12-22 15:39:11 +00:00
adelikat edd9e65e9e Toolbox - fix focus issue on load 2013-12-22 15:26:09 +00:00
goyuken 0cd5af1843 rework NES palette config in new core config system 2013-12-22 06:55:34 +00:00
goyuken a5cdee3780 pce: connect to new settings system 2013-12-22 05:58:24 +00:00
adelikat 0e4c507d08 Toolbox - some more intelligent code 2013-12-22 03:41:10 +00:00
adelikat 7a61b53fa1 Toolbox - rip out text feature since the box is too small to see it now 2013-12-22 03:21:32 +00:00
adelikat 928e14f110 Add GB GPU viewer to toolbox, and clean up some toolbox behavior 2013-12-22 03:15:53 +00:00
goyuken 0b8adc6113 fix some massively fubar config stuff from r5653 2013-12-22 02:47:35 +00:00
adelikat 8616a42600 Add PCE BG Viewer to Toolbox 2013-12-22 02:27:25 +00:00
adelikat 089f6bbd3d Toolbox Improvmeents - focus first icon to allow quick access via keyboard, close when user selects a tool, esc closes dialog, resize intelligently based on number and size of icons, minimize size of icons and flow horizontally with overflow, show selected icon tooltip text on dialog text property, also change hotkey to shift+T 2013-12-22 01:49:52 +00:00
goyuken bd205f47dc update our newtonsoft json.net to version 5.0 release 8. this fixes up abstract class handling so that the CoreSettings can work correctly.
tweak Binding, RecentFiles, and PathEntry to work with the new serializer.  on updating to this revision, you should be able to keep all config.ini settings except for hotkey bindings, path layouts, and recent files list.
start implementation of new CoreSettings and CoreSyncSettings.  at the moment, it's only partially done for NES.
2013-12-22 00:44:39 +00:00
adelikat 720a19c2ad Toolbox - some code cleanup 2013-12-21 21:37:00 +00:00
adelikat 1e5ff72519 Hex editor - better scrollbar logic for really small domains that don't need a scrollbar 2013-12-21 20:06:52 +00:00
adelikat 7ddfc9e013 call UpdateCheatRelatedTools() in CloseRom() 2013-12-21 19:34:01 +00:00
adelikat d45ba09f50 Hex Editor - a bit of code cleanup 2013-12-21 17:51:07 +00:00
adelikat 9a42da7bf1 Wire ToolHelpers.UpdateCheatRelatedTool() to the CheatList changed event handler 2013-12-21 17:25:52 +00:00
adelikat 1ad3b83d83 Better updating of cheat status in various situations, and fix an exception thrown when unfreezing an address with the hex editor 2013-12-21 16:42:36 +00:00
adelikat 6d741f4bfc Cheats - add "View in Hex Editor" to the context menu 2013-12-21 15:01:12 +00:00
adelikat 9c7dac0aa3 rip out VS menu items, we don't support that stuff anymore 2013-12-20 22:55:50 +00:00
adelikat f8038d3812 Refactor how the Gui deals with NES special commands (Fds and Vs) 2013-12-20 22:49:35 +00:00
adelikat 1c44d21562 Code clean up on Mainform and VirtuallistView. 2013-12-20 22:05:56 +00:00
goyuken f5c69f279c slap some comments on the memory scanning thing that i committed yesterday 2013-12-20 16:41:21 +00:00
goyuken 1f4ff7b1ce i don't want to talk about it 2013-12-20 05:38:07 +00:00
adelikat 57c8b2f75f TAStudio - when dragging the frame column to select items, catch the "in betweens" when the mouse moves fast enough to move past some rows. 2013-12-20 03:28:25 +00:00
zeromus 76d867d5da add the coveted combo breaker 2013-12-19 22:53:06 +00:00
adelikat 163ee0e6fd Path Config - remove Firmwares buttons in system specific tabs, instead add a ? icon in global next to the firmware path that opens the firmware config dialog 2013-12-19 18:18:40 +00:00
zeromus 5a8afc0411 firmware config dialog: add perks and fix bugs 2013-12-19 16:59:23 +00:00
adelikat f81fe9898f Tastudio - implement Copy menu item, and show rows selected and clipboard count in status bar 2013-12-19 03:45:11 +00:00
adelikat b2210f3dfe TAStudio - do away with splicer section, and put it in the status bar instead 2013-12-19 03:03:35 +00:00
adelikat b0817aabef TAStudio - playing around with UI design 2013-12-19 02:52:27 +00:00
adelikat 95c619a0b7 Lua Console - a round of code cleanup 2013-12-19 01:17:53 +00:00
adelikat b2b8edb319 Fix removing of registered functions via Lua console 2013-12-19 01:02:50 +00:00
adelikat b604d81d10 Lua Console - refresh things better 2013-12-19 00:54:35 +00:00
pasky1382 ac97e62ed1 Remove registered functions when disabling lua scripts 2013-12-19 00:12:46 +00:00
adelikat 1fa16cfaeb about box tweak 2013-12-18 22:58:24 +00:00
goyuken 24ef496737 CHRISTMASHAWK 2013-12-18 19:36:17 +00:00
adelikat 0582ef4c42 TAStudio - account for playback in previous commit 2013-12-17 18:32:48 +00:00
adelikat 9ddcfcce8b TAStudio - when recording, keep Current Frame marker in view 2013-12-17 18:22:03 +00:00
adelikat 3eabb42c16 TAStudio - fix default size brokenness, not sure why this fixes it, but it had to be done anyway, so whatevs 2013-12-17 18:03:49 +00:00
adelikat 4bfdfd31c6 add Genesis controller to controller config for GPGX, and oops, mnemonics now do 2nd player controller 2013-12-17 01:46:23 +00:00
goyuken 85be43dfb8 sega CD games now get as far as loading the bios 2013-12-16 19:00:05 +00:00
goyuken d45faaa99c break stuff! 2013-12-16 18:04:45 +00:00
adelikat 68f522c5c9 TAStudio - use MarkerControl user control, doesn't do anything yet though 2013-12-16 03:23:28 +00:00
goyuken a6cbd85930 controls work and stuff now 2013-12-16 01:58:40 +00:00
goyuken a818710589 http://www.youtube.com/watch?v=V3w2saj52fI 2013-12-15 20:51:57 +00:00
adelikat 01ea214332 TAStudio - make Marker user control 2013-12-15 19:16:52 +00:00
adelikat b837ddf36e TAStudio - tweak the marker dragging and support dragging of frame column to highlight 2013-12-15 17:19:22 +00:00
adelikat 9257cfdc79 Lua textbox - Fix behavior of numeric values when pressing up and down 2013-12-15 04:50:24 +00:00
adelikat a75e91af13 Tastudio - support dragging the marker through greenzone frames. Does nothing currently if you go outside the greenzone. 2013-12-15 04:45:46 +00:00
adelikat 1723f9dc92 Lua forms - make lua textboxes that are set to signed/unsigned/hex types increment/decrement with up/down arrows 2013-12-15 03:41:13 +00:00
adelikat 91063b7ffd Lua forms library - implement forms.dropdown(), forms.checkbox(), and forms.ischecked(). Add support for dropdowns in forms.gettext() (returns the string value of the selected item) 2013-12-15 02:50:50 +00:00
adelikat 5c9a604ae5 TAStudio - when loading a movie, set to playback mode, implement auto-switching to record mode at the end of a movie 2013-12-14 20:32:00 +00:00