Commit Graph

61 Commits

Author SHA1 Message Date
adelikat a07263c04e Move InputCallbackSystem from CoreComm to IInputPollable, and refactor all cores accordingly. Lua - OnInputPoll() - log to the user when attemping to add a callback of this type to a core that has not implemented input callbacks. Mark all unmanaged cores' implementations of the InputCallbackSystem as FeatureNotImpleented, won't have any effect on functionality, but will help us keep track of the fact that they still have a bit of work to do. Still todo: ActiveChanged event handler on the base implementation of IInputCallbackSystem 2014-12-04 00:43:12 +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 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 5d512c4c5d N64 - break off ICoreService implementations into separate files 2014-11-30 15:38:39 +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 0e82fff3ff Clean out ClearSaveRam() calls since they are no longer used 2014-11-24 15:00:54 +00:00
adelikat 9c285e3e3a Put NotImplemented attribute on a bunch of things, and remove IMemoryDomains from a few cores that were implementing it but throwing a NotImplementedException 2014-11-24 01:17:05 +00:00
adelikat 1832894405 IDebuggable - GetCpuFlagsAndRegisters() - refactor to make it an IDictionary instead of Dictionary 2014-11-23 16:22:02 +00:00
goyuken dc2ca1f010 remove the extra ISettable (non-generic argument) interface and corresponding crud from cores, and replace with a shim class 2014-10-31 15:46:13 +00:00
jlennox a64017366c Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested. 2014-10-19 01:22:47 +00:00
jlennox 10b6bed056 Add IDebuggable to relevant cores and remove non-implementations of GetCpuFlagsAndRegisters/SetCpuRegister 2014-10-18 22:30:06 +00:00
adelikat 25c2507013 N64 - change the expansion slot override notion. If a game in the gamdb has the expansion slot override, override the user's choice, but don't change the sync setting (otherwise all games they load will be set to this). In the N64 menu item, show the checked status based on if the core is actively using the expansion slot, not whether the sync setting is set. If the gamedb is overriding the user's choice make it clear by disabling the menu item. This commit message is longer than the changeset itself. 2014-09-27 12:56:55 +00:00
zeromus 2c8295ba76 Fix bug with core inventory launching n64 core with data that romgame had mangled in cases. todo: delete romgame. 2014-09-12 01:02:09 +00:00
adelikat 28bd6229c8 N64 - some core code reorg 2014-09-07 21:48:05 +00:00
zeromus d220b94e76 change n64 memdomain so that rdram is big endian, and also working now. not sure about the other memdomains, they could still be broken. 2014-09-07 18:43:31 +00:00
pjgat09 239df5d5f9 N64: Savestates now only save and load half the RDRAM if the expansion pack is not installed. 2014-09-07 00:43:19 +00:00
adelikat a59793b55b N64 - Support getting an expansion slot flag from the gamedb, and set Majora's Mask and Donkey Kong 64 to use it 2014-09-07 00:23:15 +00:00
adelikat 88daf797db N64hawk - Expansion slot toggle, expansion being off by default, note: this is a sync setting 2014-09-06 23:03:34 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
goyuken 1d383a62cc romloader stuffs, nag me if it breaks anything, i don't think it breaks anything 2014-08-23 19:06:37 +00:00
goyuken f0c8bd3842 IEmulator: clarify naming and implementations so it's clear that CloneSaveRam() always returns a clone that you can do whatever you want with (but won't modify the underlying) 2014-08-13 17:52:13 +00:00
adelikat bbad6c90a4 N64 core - being picky - change IsLagFrame and IsViFrame to internal setters instead of public 2014-08-03 18:13:33 +00:00
adelikat da3f9db018 Make mupen-style lag a setting not a sync-setting 2014-08-03 13:06:53 +00:00
adelikat 7fa58557a6 N64 - add a menu item for "Mupen style lag" 2014-08-03 01:16:11 +00:00
pjgat09 5e0ba6cd30 N64: Added an IsVIFrame flag 2014-08-03 00:00:26 +00:00
zeromus 8d7fec50c1 will this solve the hanging emuhawk process? 2014-07-27 02:11:42 +00:00
adelikat 4382dc0c9a N64 sync settings - clean up object convert public fields to properties 2014-07-20 17:10:20 +00:00
adelikat 6819459292 N64 sync settings - clean up some stuff and fix the plugin type being a read-only proprty in the new config dialog 2014-07-20 16:59:03 +00:00
adelikat 1c0eca190e Remove some unused extensions, Remove Extensions.cs and move methods into better named files with their own namespaces 2014-07-03 18:54:53 +00:00
adelikat a45f7d7154 N64 - oops #2 2014-06-28 13:00:53 +00:00
adelikat 9378dc5921 N64 - oops 2014-06-28 12:58:13 +00:00
adelikat e5f340c365 Oops, fix something I broke last night with N64 controllers 2014-06-25 13:52:38 +00:00
adelikat 5f71bf11c8 N64 - dynamically generate buttons in controller definition based on connected controllers, Virtualpads - show pads based on connected controllers 2014-06-25 02:18:11 +00:00
adelikat aa2ae170f3 N64 - make video size a setting, not a sync setting 2014-06-01 12:06:22 +00:00
adelikat 3917e7c528 Automate the about box 2014-06-01 01:57:22 +00:00
adelikat 51660dd023 Add SetCpuRegister() to IEmulator. Implemented it in Atari 2600, 7800, C64, Neshawk, and technically dual gameboy (passes it to L and R where it will fail). The rest throw NotImplementedExceptions. Lua - add emu.setregister(), catches NotImplementedExceptions and informs the user. 2014-05-31 17:03:21 +00:00
adelikat 6e4af65b99 N64 - only show mempack domains if the respective controller is enabled and configured with a mempak 2014-05-20 15:19:13 +00:00
adelikat fa7b2ec441 N64 - add the rsp-z64-hlevideo plugin and add backend support for toggling between this and rsp-hle. Still todo: front end to set this 2014-05-14 01:50:36 +00:00
adelikat 92f32c568c N64 - ok, one more round of cleanup! 2014-05-13 00:31:32 +00:00
adelikat b8ed3230e9 N64 - some code cleanup 2014-05-13 00:06:33 +00:00
adelikat 3e843b2b0f N64 - Expose the setting of core type (pure interpreter, interpreter, dynarec) through sync settings. Still todo: UI for setting this value 2014-05-10 16:05:56 +00:00
adelikat db02bd4a8e Fix inconsistency in N64 namespaces 2014-05-10 14:56:21 +00:00
null_ptr 52ee4984fa Added setting for the controller plugin type and the controller connection to N64SyncSettings 2014-05-08 20:03:00 +00:00
zeromus 49d8f6c5b9 remove savestate loading hacks for movie header skipping 2014-04-25 02:21:45 +00:00
adelikat de1cb218a6 Add more info to IEmulator CoreAttributes, add status bar icon that gives the name of the current core with a tooltip with additional info, put bizhawk icon on "in house" cores, and the icon of the ported emulator on ported cores. Still todo: icons for ported cores other than quicknes 2014-04-25 01:19:57 +00:00
adelikat c74019a54d Add a CoreAttributes class with a CoreName field, and apply it to all cores, when recording a new movie, add a core header line that captures this name 2014-04-22 00:38:59 +00:00
zeromus 06ffa9601c work around issue in mupen core which was sort of wrecking subsequent GL work in the frontend 2014-04-20 01:44:06 +00:00
adelikat a61ff53d9c Change IEmulator.GetCpuFlagsAndRegisters() to a Dictionary, fix a warning, throw NotImplemented exceptions in cores that don't implement this method rather than returning an empty list. Start Debugger UI User Controls 2014-04-19 22:23:13 +00:00
null_ptr 5a36b50f8b Some refactoring of N64 code. Extracted mupen plugins to their own classes. 2014-01-24 17:46:35 +00:00
null_ptr 15b95f6f40 Simplified N64 controller input retrieval 2014-01-23 02:06:39 +00:00