Commit Graph

97 Commits

Author SHA1 Message Date
adelikat fb78215590 Lua - Implement emu.getregister() and emu.getregisters(). Only implemented in NESHawk right now 2013-11-11 03:20:33 +00:00
adelikat 2e51e7ad4f Registered Lua Functions dialog - fix so Remove removes MemoryRead/Write events, add a Remove All button 2013-11-10 21:56:02 +00:00
adelikat e7a481e6c4 Lua - OnMemoryRead() and OnMemoryWrite() - support multiple events, hook to the registered functions system, add ability to name function, return a GUID. 2013-11-10 21:20:55 +00:00
adelikat ded77beb65 Lua - OnInputPoll() - hooked up to the registered lua functions system 2013-11-10 19:19:58 +00:00
adelikat ea24f236fb Lua - event.OnInputPoll() - allow multiple functions to be registered 2013-11-10 18:15:32 +00:00
adelikat 28a73c8174 move GetEmuVersion() to VersionInfo and refactor a whole bunch of stuff as a result 2013-11-10 02:55:11 +00:00
adelikat bc34dfe932 move controller default logic from controller config winform to client.common config object and hook it back up to the client 2013-11-09 01:12:46 +00:00
adelikat 03e9381adc Clean up assembly info stuff in all projects 2013-11-08 15:56:58 +00:00
adelikat 2e32c22c00 set up subwcrev stuff to client.common, and set up assembly info for it, and fix assembly info for emuhawk 2013-11-08 15:34:47 +00:00
adelikat 9dbcfdffd1 oops, forgot to check this in 2013-11-07 22:56:10 +00:00
adelikat 0adffa65c1 Use ToHexString() extension is more places 2013-11-07 18:15:17 +00:00
adelikat 085719bf44 Fix lua 2013-11-07 17:49:00 +00:00
adelikat 121cd4fb58 Oops, throttle is not a good thing to put into Client.Common, it has window specific things 2013-11-07 17:11:08 +00:00
adelikat 6f1090c87f refactor cheatlist and watchlist to use MemoryDomain name indexing 2013-11-06 02:25:27 +00:00
adelikat 1061add64f Refactor MemoryDomains in IEmulator, make a MemoryDomainsList object rather than IList<MemoryDomain>, remove MainMemory from IEmulator and make it a property of this new collection object, also add indexing by name. Refactor cores and tools as needed 2013-11-06 02:15:29 +00:00
adelikat 6f29976e9d Cheats - fix bug where compare is 0 when clicking a cheat with a null compare value, refactor CheatList.Add() to be upsert logic 2013-11-05 23:14:22 +00:00
adelikat 92f8f9982c When adding a cheat, if it already exists, update the existing instead of doing nothing! 2013-11-05 19:53:49 +00:00
adelikat 4aae8a1311 Cheats - implement editing (oops, it was released without it!), fix value display (was showing the actual ram value, not the cheat's override value), don't flag changes if erroneously adding an existing cheat. 2013-11-05 19:33:06 +00:00
adelikat 9bbd8a07a6 fix an oops in last commit, and fix adding cheats via Cheats cheat form 2013-11-05 17:07:34 +00:00
adelikat 5c22d7433c Cheats - fix insert separator 2013-11-05 16:53:24 +00:00
adelikat 2da8696b8d fix some cheat related things I broke when refactoring it 2013-11-05 15:36:18 +00:00
adelikat 29dffc9bca fix some false Ask to save changes nagging done by the cheat form 2013-11-04 21:02:36 +00:00
adelikat 56cb2ba538 Refactor CheatList and Cheats to have changed event handlers, and have the client wire up an event handler to update all the relevant dialogs. 2013-11-04 15:52:59 +00:00
adelikat bc5807a07c move a search extension out of RamSearchEngine into the extensions class in BizHawk.Common 2013-11-04 02:18:40 +00:00
adelikat be547db4a1 Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary 2013-11-04 02:11:40 +00:00
adelikat 9751fd5a1a Move interfaces and base implemenations from emulation to emulation.common 2013-11-04 01:39:19 +00:00
adelikat 026072ee68 moe IPS.cs from Emulation to Client.Common, until it is needed by cores 2013-11-04 01:17:59 +00:00
adelikat 348171bdc5 start Emulation.Common project and move the Emulation/Database folder files to it 2013-11-04 01:06:36 +00:00
adelikat 7b03fc0bc0 Move Buffer.cs and Util.cs from BizHawk.Emulation to BizHawk.Common, and add 1234832983 usings 2013-11-04 00:36:15 +00:00
adelikat fe7da7c5b5 move disc stuff out of BizHawk.Emulation into a new project BizHawk.Emulation.DiscSystem, updated namesspaces in those files, set up other projects with the right references and usings 2013-11-03 23:45:44 +00:00
adelikat ed5cfe39a6 1.5x and trunk - fix scrub input hotkey, on trunk a slight refactoring now that more things are in client.common 2013-11-03 16:53:05 +00:00
adelikat 3843acb2d9 Move some stuff to Client.COmmon 2013-11-03 16:47:21 +00:00
adelikat fd89c0cff4 trunk and 1.5x branch - turn off rewind for "medium" states, as SNES problems still occur with default settings and it isn't worth it, also change the default rewind frequency to 4 (if the user does turn it on, this frequency still gives smooth rewind) 2013-11-03 16:23:47 +00:00
adelikat 26ffd9f4e3 EmuHawk - don't use PathManager to resolve the exe directory during main now that it is in a dll, it can find its own path itself 2013-11-03 16:05:49 +00:00
adelikat cd856a0011 move output folder up one level 2013-11-03 14:06:46 +00:00
adelikat af58a07889 Rename Bizhawk.MultiClient to BizHawk.Client.EmuHawk including namespaces and projects. Rename executable to EmuHawk.exe 2013-11-03 03:54:37 +00:00
adelikat 187e169de9 a round of cleanup on MianForm.cs, and an attempt to start organizing methods and variables to make it easier to pull out logic in future refactoring 2013-11-03 02:51:21 +00:00
adelikat 1525f4a4bd oops 2013-11-02 01:59:48 +00:00
adelikat b3b21abe08 Move NES lua library to Client.Common 2013-11-02 01:56:00 +00:00
adelikat f7138e6514 move NES game genie encoding/decoding logic into specialized classes in client.common and refactor the dialog and lua functions accordingly 2013-11-02 01:48:35 +00:00
adelikat ea2df2e91b move snes lua library to common 2013-11-01 23:49:44 +00:00
adelikat d902981f54 move some FirmwareManager things to client.common 2013-11-01 23:17:30 +00:00
adelikat a3e306e18d Move joypad lua library to common, and move some stuff to Global in order to do so 2013-11-01 22:56:55 +00:00
adelikat 0eaf6bd33c a fix to GetExeDirectoryAbsolute() that was breaking path generation 2013-11-01 22:37:05 +00:00
adelikat f3bb7421ed detangle and move some savestate code to client.common 2013-11-01 20:53:47 +00:00
adelikat 80c6ecb57a Rename SavestateManager to SaveSlotManager since that is more precisely the job it does. 2013-11-01 19:55:03 +00:00
adelikat 3cda83c2bc Move a bunch of logic from MainForm.Movie.cs to MovieSession.cs which is more conceptually appropriate, this also means that movie handling logic (including complex movie loadstate logic) is moved to Client.Common 2013-11-01 18:52:26 +00:00
adelikat d391d275ef Move Movie lua library to client.common, and some refactoring necessary to do so 2013-11-01 15:43:15 +00:00
adelikat fe9d8ed881 refactor - move readonly flag from MainForm.cs to Global.cs 2013-11-01 15:35:30 +00:00
adelikat a8079f5170 port some lua libraries to client.common 2013-11-01 14:51:51 +00:00