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
adelikat
2c007e5049
remove a few more psp references
2020-03-14 15:18:58 -05:00
adelikat
d8d12cac8b
kill more psp, and remove some methods from coreComm that were only used by the former psp core
2020-03-14 15:14:31 -05:00
adelikat
9825963261
kill off the dead PSP core
2020-03-14 15:10:29 -05:00
adelikat
211883889b
simplify CoreCom copying by implementing a Clone method, simplifies all the cores that have cores in them, this copies a lot more things than the original code had but it seems that's either fine or fixing broken stuff
2020-03-14 15:08:24 -05:00
adelikat
a50467846c
simplify CoreFileProvider
2020-03-14 14:50:50 -05:00
adelikat
235ff78e9f
Simplify CoreFileProvider - make Firmware private and an explicit dependency
2020-03-14 14:27:13 -05:00
adelikat
6c5dc8532f
remove some useless regions
2020-03-14 14:23:13 -05:00
adelikat
d72d8e79ff
remove Global.Game from retro methods of CoreFileProvider, fix exposed bug that the retroarch core was getting path stuff based on Global.Game before it was being set to the new game
2020-03-14 14:22:23 -05:00
adelikat
cd7d907c0d
get rid of CoreFileProvider SubFileDirectory
2020-03-14 14:02:19 -05:00
adelikat
e655ad3abd
remove obsolete ICoreFileProvider.PathSubfile(), and instead pass in the neccessary base path the the bsnes core that needs it
2020-03-14 13:56:20 -05:00
adelikat
b2066d9a73
remove obsolete ICoreFileProvider string GetFirmware method and replace the one usage for ti83 shenangians with an inline FirmwareManager usage
2020-03-14 12:39:45 -05:00
adelikat
104689655f
remove unused ICoreFileProvider method and implementation
2020-03-14 12:29:30 -05:00
adelikat
eba20781b4
add to ICoreFileProvider and remove casting to CoreFileProvider shenanigans in RomLoader
2020-03-14 12:28:19 -05:00
adelikat
16781fa212
FirmwareManager - don't depend on Global.Config
2020-03-14 12:20:28 -05:00
adelikat
d1623c32b7
Firmwares manager - depend on Global.Config less
2020-03-14 12:10:53 -05:00
adelikat
51539ebebd
Simplify FirmwareManager
2020-03-14 11:59:14 -05:00
adelikat
6958ade3a8
nes ppu - have Reg_2000 depend on PPUREGS instead of PPU since that's all it's using
2020-03-14 10:32:59 -05:00
adelikat
4ababf383a
NESHawk - PPUREGS - don't depend on PPU, move the one method that was using it out to PPU
2020-03-14 10:30:53 -05:00
YoshiRulz
e12b5d8137
Refactor FloatRange creation and usage
...
effectively resolves #1200
* Replaced floats in FloatRange with ints (would have used shorts but
SubGBHawk/SubNesHawk use an axis to hack in cycle count or something), added
both Range<int> and Range<float> auto-properties
* Added bool field IsReversed to FloatRange
* Added enum AxisPairOrientation and factory method using it
* Cleaned up usages of FloatRange fields and properties
* Added new properties to PadSchema.ButtonSchema for type
PadInputType.AnalogStick (to hold the two FloatRanges) and used
ControllerDefinitions from cores to dedup these ranges in the schemata
* Made VirtualPadAnalogStick work properly: both the direction and bounds are
correctly set from the controller schemata, the polar conversion measures angles
consistently (though I think it might not work outside -128..127 e.g. for PSX),
and I didn't break the sensitivity override, plus negative percentages might
work now but I didn't allow those
* Renamed FloatRange to AxisRange, but did not rename related symbols
2020-03-14 20:47:45 +10:00
alyosha-tas
84ef5039ee
Merge pull request #1880 from TiKevin83/master
...
fix MBC1 games like Pinocchio that need adjustedRombank
2020-03-13 07:40:52 -04:00
TiKevin83
7e37fb2540
fix MBC1 games like Pinocchio that need adjustedRombank
2020-03-13 00:39:39 -04:00
YoshiRulz
ddbabd6067
Split path to fork in project dependency tree
...
Emulation.Common does not depend on Emulation.DiscSystem, but Emulation.Cores
still depends on both
2020-03-13 09:46:24 +10:00
YoshiRulz
d02a8df549
Fix audio buffer looping on drag-and-drop
2020-03-13 08:49:05 +10:00
YoshiRulz
9e514dcebd
Unify Get/SetSoundOn across Lua and C# APIs ( resolves #1817 )
2020-03-13 08:46:45 +10:00
YoshiRulz
f7caa414b6
Fix building for external tools
2020-03-12 13:16:37 +10:00
feos
9dd9b4cc0d
Bulkread ( #1834 )
...
* POC of a memory domain bulk read concept, wired up to hex editor, very sloppy currently
* do the todo
* delegates for bulkreads
* refactor bulk reads to take in a range and a pre-allocated array for the values
Co-authored-by: adelikat <adelikat@tasvideos.org>
2020-03-11 10:53:42 -05:00