adelikat
b736d48911
use constants for core string names and simplify core core name getting logic
2020-04-18 09:55:57 -05:00
YoshiRulz
e226ff102b
Replace dynamic type with Object in API
...
Using the dynamic type here is no better than object because the values are
primitive types -- more likely to be cast/typechecked than used as a receiver
param for a method call.
2020-04-13 17:05:38 +10:00
YoshiRulz
0ba7a5a7df
Rename axis-related types, members, and locals
...
I left a few methods where they had an equivalent *Bool*() for buttons, and also
left some in TAStudio that get serialised.
2020-03-31 17:29:55 +10:00
campbell000
373a05dcb4
Fixes joypad.set() method in Lua Console ( #1898 )
...
* Fixed lua joypad set method to accept button inputs with "P{controller}"
designations. Also allowed joypad set method to accept 0 or 1 as per
documentation
* Added comment
2020-03-24 12:40:18 -05:00
YoshiRulz
e1951b9fc5
Cleanup PathExtensions
...
Fixes f02295455/c731e1168/5c7135d67
2020-03-21 13:45:58 +10:00
YoshiRulz
8ae01f2f42
Fix tuple item names in return type
2020-03-19 15:15:39 +10:00
adelikat
4152dce1ca
Simplify some core name shenanigans with an extension method
2020-03-15 18:18:00 -05:00
adelikat
015043fd50
add IRomInfo service
2020-03-14 21:43:53 -05:00
adelikat
dd062b3ca7
replace CoreComm screenofsets with an emulator service
2020-03-14 16:35:54 -05:00
YoshiRulz
e5da8c765a
Move IController.ToDictionary extension to BizHawk.Emulation.Common
2020-02-28 13:26:27 +10:00
adelikat
13bc770063
misc cleanups in Emulation.Common
2020-02-26 16:32:00 -06:00
adelikat
2c9d8bba40
cleanup DSKIDentifier.cs, misc cleanups in Emulation.Common
2020-02-26 15:51:29 -06:00
adelikat
4b50ea36e1
remove MemDomain CanPoke() extension method now that all it does is check the Writable flag which is better named and more conscise
2020-02-15 12:37:39 -06:00
adelikat
656f2b814e
Move IEmulator extensions to the Emulation.Common namespace, the intent is that these are used and serve as built in functionality, so it's overly tedious to when most situations require both Common and an additional extensions namespace
2020-02-15 12:33:15 -06:00
adelikat
dd3b35a9fe
cleanup BizHawk.Emulation.Common/Extensions
2020-02-15 12:22:16 -06:00
adelikat
2b7cb1bb7d
BizHawk.Emulation.Common - cleanups -> C#6/7isms, fix some typos, variable naming, spaces to tabs
2019-10-29 13:59:08 -05:00
adelikat
5d855ef60b
more attribute renaming
2017-07-12 14:40:10 -05:00
adelikat
c6e0e9fa57
Rename CoreAttributes to CoreAttribute as to not be a bad person
2017-07-12 14:10:55 -05:00
adelikat
c81a2fcc23
oops, vsyncrate is a double
2017-05-05 16:23:13 -05:00
adelikat
59139ab266
Spell out Numerator and Denominator
2017-05-05 11:25:38 -05:00
adelikat
62a13d961d
Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider
2017-05-05 11:21:37 -05:00
adelikat
ded1c2d7b7
Break off BoardName from IEmulator into a separate IBoardInfo service
2017-04-30 21:01:54 -05:00
adelikat
a8c15a652b
Emulation.Common cleanups
2017-04-27 11:37:26 -05:00
adelikat
7ab8455e84
misc code cleanups in BizHawk.Emulation.Common
2017-04-14 12:28:23 -05:00
adelikat
f640271a47
dont' use ThrowsError when deciding if a method is implemented. Simply checking for an exception is no longer reliable sinc most GetSamplesAsync() methods correctly do this by design
2017-02-08 17:48:32 -06:00
zeromus
bd1f48540d
fix #760
2017-02-05 18:33:13 -06:00
adelikat
54eb678387
create an ICreateGameDBEntires specialized service and have Atari2600 implement it. Use this in the log window instead of sneaky reflection to access the method
2016-12-15 10:45:20 -06:00
adelikat
dd48864058
AsVideoProviderOrDefault() extension method
2016-12-12 13:47:11 -06:00
nattthebear
eb72ff9053
Swag up NullSound
2016-12-11 14:07:12 -05:00
adelikat
b73a500d6b
Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async.
2016-12-11 11:15:00 -06:00
adelikat
281b83fd40
Remove some usages of VideoProviderGlue in multihawk
2016-12-04 10:17:16 -06:00
nattthebear
111648cf98
Break a bunch of memory domain stuff with pointless refactoring
2016-04-13 19:50:06 -04:00
adelikat
b3dd9d26dc
Misc code cleanups in Emulation.Common
2016-02-28 19:03:01 -05:00
adelikat
f1f45afd83
Remove CoreComm link cable properties and turn it into an ILInkable service instead
2016-02-28 13:52:17 -05:00
zeromus
6a042cc8ac
fiddle around with CDLog menu items
2015-10-27 19:49:13 -05:00
adelikat
400e4f4800
Add an empty ICodeDataLogger emulator service, make it a required service for CDL.cs
2015-10-27 19:03:56 -04:00
adelikat
32a2711303
When clearing lua callbacks, handle the case that input callbacks might not be implemented, also handle memory callbacks in a more consistent way
2015-10-12 19:02:03 -04:00
adelikat
ba21484ddd
add IRegionable as an emulator service to indicate NTSC vs PAL, etc. Refactor cores that conveyed this information to use this service, fixed cheaty reflection to grab this info to use the service instead, marked some cores as region not applicable where it made sense to me (I'm sure I'm wrong in some cases)
2015-08-05 20:12:09 -04: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
e1811371e4
Cheats - only allow writable domains in the domains dropdown
2015-01-25 16:20:53 +00:00
adelikat
7ed8704555
add a CanPoke() extension method for memory domains, checks for a null or not implemented Poke Poke delegate, use it to disable Poke on Ram Search and Ram Watch, still todo - hex editor and lua
2015-01-25 14:37:37 +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
goyuken
ea47246658
remove the IEmulator inheritance from some services, and fix code as needed
2014-12-15 22:25:06 +00:00
adelikat
9a7715009a
Add an IDisassemblable emulator service, currently no core implements it, just the interface and the IEmulator extensions
2014-12-13 20:52:52 +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
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
e2033c9d2e
AsStatable() and also update statusbar saveslots on CloseRom()
2014-12-05 00:52:16 +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
cda9203ca5
Forgot to add these files
2014-12-05 00:17:34 +00:00
adelikat
d7f88ecbf9
Chane IEmulator Extension methods like HasMemoryDomains to use the HasService<T>() method
2014-12-05 00:15:28 +00:00