adelikat
4152dce1ca
Simplify some core name shenanigans with an extension method
2020-03-15 18:18:00 -05:00
adelikat
f655a4587e
simplify ToolManager.GenerateDefaultCheatFilename
2020-03-15 18:07:57 -05:00
adelikat
a7b30dac6c
Simplify TI83KeyPad.cs
2020-03-15 18:06:05 -05:00
adelikat
ff7fb4e658
VirtualPadDiscManager - remove some unused code and other cleanups
2020-03-15 17:58:03 -05:00
adelikat
6d5c444252
Move Global controller adapters into InputManager, it's a step in the right direction
2020-03-15 17:50:48 -05:00
adelikat
1f617221fc
Make InputManager not static, but make a static instance in globals, phase 1 of some refactoring
2020-03-15 17:19:11 -05:00
adelikat
5617950f50
InputManager - pass some dependencies into SyncControls
2020-03-15 17:13:56 -05:00
adelikat
edd8349dde
fix typo in Global property
2020-03-15 17:09:11 -05:00
adelikat
67926a2de4
Make Global fields into properties, a bit of cleanup
2020-03-15 17:08:34 -05:00
adelikat
80c36d8155
FirmwareManager - don't use Global, pass in actual dependencies
2020-03-15 16:31:37 -05:00
adelikat
965c7555ce
FirmwareManager - replace query syntax with LINQ expressions. Query syntax is a pain unless you really need it
2020-03-15 16:27:32 -05:00
adelikat
5f2b4fe4d2
PathEntryCOlleciton use this instead of Global reference to this, sheesh
2020-03-15 16:16:58 -05:00
adelikat
81d6ca335e
CoreFileProvider - pass dependencies in, instead of using Globals
2020-03-15 16:10:02 -05:00
adelikat
b1cac9ba00
Move DefaultIniPath property to Config, and delete PathManager.cs
2020-03-15 16:02:23 -05:00
adelikat
e16dc33722
move some PathManager methods to a PathUtils class in BizHawk.Common
2020-03-15 15:59:10 -05:00
adelikat
9fa4bac8d4
Path extensions - address nullability in a few places
2020-03-15 15:47:12 -05:00
adelikat
33a14327b7
move most logic from PathManager to extension methods in BizHawk.Common
2020-03-15 15:45:11 -05:00
adelikat
348cbd18df
Remove PathManager code that had dependencies on Globals ( #1881 )
...
* move one usage of Firwmare method into Firmware config where it is better suited
* PathManager - remove unused code
* move some PathEntry specific logic out of PathManger and into PathEntryCollection extension methods
* PathManager - detangle some exe pathing logic from Global.Config usage, clarify what a completely broken method should actuall do
* move more logic from PathManager to PathEntryCollection extension method
* move absolute path creation to PathEntryCollection, lots of refactoring and simplifying of PathEntries usage
* simplify PathEntryColleciton usage more
* simplify PathEntryCollection more
* break PathEntry classes into separate files, a bit of cleanup
* move Rom path logic out of PathManager into PathEntryCollectionExtensions
* move config UseRecentForRoms and LastRomPath into PathEntries, note that this is a breaking change for previous configs, those values will revert back to default values
* move SaveRamPath logic from PathManager to PathEntryCollections
* move cheats path logic from PathManager to PathEntryCollection
* move another method out of PathManager
* move some Retro hacks to PathEntryCollections, exposes more implicit dependencies
* move savestate logic out of PathManager to PathEntryCollection
* move more logic out of PathManager
* move some savestate logic out of PathManager, move most to MainForm where it is used, detangle some implicit dependencies from SaveSlotManager
* rename method
* move more logic from PathManager to PathCollectionEntry
* movie final Global.Config.PathEntries logic out of PathManager and into PathEnties
2020-03-15 15:12:36 -05:00
alyosha-tas
38e89f01ee
quicknes: add jetson's to blacklist
2020-03-15 11:24:12 -04:00
adelikat
c66243254c
remove unused GameInfo parameter in some core constructors
2020-03-15 10:19:01 -05:00
adelikat
f4b1d3f747
oops, meant to check this in
2020-03-15 10:15:30 -05:00
adelikat
d3f37a5beb
remove CoreComm.Clone(), it is now safe to pass around into subcores
2020-03-15 10:12:20 -05:00
adelikat
3c519b0249
refactor CoreFileProvider instantiation, require ICoreFileProvider in CoreComm constructor and remove setter for CFP
2020-03-15 10:09:32 -05:00
adelikat
8c7b0c6ff1
delete some vestigial coreComm/CoreFileProvider code
2020-03-15 09:57:54 -05:00
adelikat
983a9a3a11
fix CoreComm documentation
2020-03-15 09:48:18 -05:00
adelikat
3c638f018f
refactor CoreComm usage in remaining cores
2020-03-15 09:44:47 -05:00
adelikat
79aec475a9
refactor CoreComm usage in sega cores
2020-03-15 09:42:48 -05:00
adelikat
899f8662c0
refactor CoreComm usages in more cores
2020-03-15 09:38:54 -05:00
adelikat
c532b96245
refactor CoreComm usage in nes cores
2020-03-15 09:35:12 -05:00
adelikat
b5c0bfa141
remove coreComm from N64 core
2020-03-15 09:32:29 -05:00
adelikat
8973e5e521
refactor CoreComm usage in GBHawk and related cores
2020-03-15 09:31:07 -05:00
adelikat
028bc83c88
refactor CoreComm usage in some Gameboy cores
2020-03-15 09:28:27 -05:00
adelikat
5886416cbf
refactor CoreComm usage in more cores
2020-03-15 09:22:58 -05:00
adelikat
8833ce61c4
refactor coreComm in waterbox
2020-03-15 09:16:45 -05:00
adelikat
095b22d489
refactor CoreComm usage in atari cores
2020-03-15 09:14:33 -05:00
adelikat
9fa59bad42
refactor CoreComm usages in Computer cores
2020-03-15 09:10:13 -05:00
adelikat
d6af18accb
remove CoreComm from MAME, easily added back if firmware is needed
2020-03-15 08:58:17 -05:00
adelikat
0a33940704
remove CoreComm from IEmulator, and remove it from NullEmulator
2020-03-15 08:54:56 -05:00
adelikat
da95c1f56f
remove RomAnnotation fields on CoreComm and use the service instead
2020-03-14 22:10:57 -05:00
adelikat
015043fd50
add IRomInfo service
2020-03-14 21:43:53 -05:00
adelikat
42dc7edd23
pass in rom annotation details to Octoshock so it can set coreComm, ideally the core should figure all this out but this works okay
2020-03-14 21:36:51 -05:00
adelikat
3cacb88e48
a few cleanups in octoshock
2020-03-14 21:27:05 -05:00
adelikat
6360d9934c
simplify MainForm UpdateDumpIcon() some
2020-03-14 21:05:22 -05:00
James Groom
fb5e1abedb
Update Usage > Cores section
2020-03-15 08:28:22 +10:00
adelikat
a884282fa4
remove CoreComm NominalX/Y, those values never different from buffer w/h for cores that set them which were only the gb/gba platforms and the original dualGb. The result defaulted to a very random 640x480. Instead just use the buffer w/h, which is a very reasonable video default
2020-03-14 17:06:42 -05:00
adelikat
dd062b3ca7
replace CoreComm screenofsets with an emulator service
2020-03-14 16:35:54 -05:00
adelikat
870d7df6f2
cleanup some unneeded code
2020-03-14 16:09:25 -05:00
adelikat
190118d7c4
rip out libretro hack from CoreComm, making it a param on LoadRom isn't great but better
2020-03-14 15:43:17 -05:00
adelikat
fc0e0840e0
delete more stuff that is no longer used in CoreComm
2020-03-14 15:29:43 -05:00
adelikat
9037c82985
use switch expressions on CoreSystemEnum converters, and add some enums that haven't been there for a long time (does anyone use this?)
2020-03-14 15:24:46 -05:00