Commit Graph

18480 Commits

Author SHA1 Message Date
YoshiRulz 0e4e9a2840
Refactor PathConfig.DoTabs and helpers 2021-02-26 20:07:34 +10:00
YoshiRulz b14ed4966f
Cleanup PathEntryCollection ctors, remove unused method Add 2021-02-26 20:07:34 +10:00
YoshiRulz 0fb9ef77e6
Less dumb #if DEBUG for ZX submenu 2021-02-25 16:59:46 +10:00
YoshiRulz fece6cf7c4
Cleanup system IDs (see desc.)
* `Game Gear` was used instead of `GGL` for linked GG multi-disk bundles and
core constructor (I assume the latter was a hack to fix loading bundles made
with the former bug in effect)
* `Arcade` was used instead of `MAME` in rom loading ("Arcade" is also assigned
to an out param in the MAME ctor but I assume that's an intentional placeholder)
* `Saturn` was used instead of `SAT` in `GameSharkDecoder.CheatDomainName`,
making it non-functional (a comment said it was probably incorrect, so I'm
assuming that if it runs something will break and putting it in #if false)
* `G7400` was only used in firmware IDs, replaced with `O2`
* `Vectrex` was only used in firmware IDs, replaced with `VEC`
* `uzem` (core name) was used instead of `UZE` for MainForm title lookup, making
it non-functional
* `DNGP` doesn't exist
2021-02-25 16:45:55 +10:00
YoshiRulz c11d410fb7
Remove IEmuClientApi.Get/SetInput and supporting types, and cleanup
what's a deprecation cycle
also -1k LOC whoo
2021-02-25 16:13:41 +10:00
YoshiRulz ef0b380192
Autolock hack is nothing without autounlock hack 2021-02-24 11:12:27 +10:00
YoshiRulz 2859d6c45b
Inline the autolock hack and use it for both surfaces 2021-02-24 10:41:28 +10:00
YoshiRulz cc7e440fba
Cleanup usage of Config.PreferredPlatformsForExtensions 2021-02-23 05:37:50 +10:00
YoshiRulz 4103a8bab2
Cleanup usages of FirmwareID fields 2021-02-23 02:20:27 +10:00
YoshiRulz eee4915ddd
Add missing UI strings for firmware group headers 2021-02-23 01:51:47 +10:00
YoshiRulz 485817a8e4
Replace (string, string) w/ FirmwareID in nyma core ctors 2021-02-23 01:09:25 +10:00
nattthebear cec46f1e65 Grumble grumble I need to learn more C# 2021-02-22 08:17:41 -05:00
YoshiRulz d0c0b1fdb3
Bump version for dev builds 2021-02-22 21:18:24 +10:00
adelikat bd31773d9e Update version info 2021-02-21 15:22:17 -06:00
adelikat d4dc260fc4 Tastudio - refresh view when middle-clicking to pause 2021-02-21 15:14:57 -06:00
YoshiRulz a8b1e06e44
Make autolocking of ApiHawk surface less aggressive when used via Lua 2021-02-22 04:26:05 +10:00
nattthebear d929891c97 Something something mapper 90 out of bounds
Closes #2632
2021-02-21 09:24:02 -05:00
nattthebear 13b7b43db6
Fix corruption in ZWinderBuffer when using Stream.ReadByte / Stream.WriteByte overloads (#2630)
The ZWinderBuffer implementations of Stream.ReadByte and Stream.WriteByte could process data incorrectly in certain circumstances.  This had been broken since f4e98fd.

ReadByte: When the first read from a state stream was a ReadByte, the underlying buffer would be in the wrong place
WriteByte: If a state was evicted and then the eviction was immediately followed by a WriteByte, the underlying buffer would be in the wrong place.

This impacts pretty heavily the rewinder and tasstatemanager for any core whose save and/or loadstate methods happened to use those methods.
2021-02-20 12:21:56 -05:00
YoshiRulz 7923b4c8ef
Apply refactorings to HelloWorld ext. tool so it can compile
fixes ba88712b2
2021-02-19 19:03:01 +10:00
zeromus 6b6637fbea improve xinput availability check which was broken by pointless refactors in 580aa2eaf9 (but it should be even more robust than before, now). fixes #23 2021-02-18 21:52:30 -05:00
YoshiRulz 1fd888dcc9
Fix naming of GDIPlusGuiRenderer 2021-02-14 15:30:45 +10:00
YoshiRulz ba88712b2b
Rename BizHawk.Client.Common.DisplayType to WatchDisplayType
we have aonther type with that identifier, BizHawk.Emulation.Common.DisplayType
2021-02-14 14:48:12 +10:00
YoshiRulz 34cb598fe2
Rename AttributeUsage enum to AttribUsage
as to not shadow [AttributeUsage]
2021-02-13 23:11:52 +10:00
YoshiRulz dc3bd050da
Cleanup FirmwareManager 2021-02-12 17:10:21 +10:00
YoshiRulz 2f18c74840
Convert RealFirmwareFile to readonly struct 2021-02-12 17:07:43 +10:00
YoshiRulz 3a3cb0c30b
Convert FirmwareEventArgs to a readonly struct 2021-02-12 17:07:43 +10:00
YoshiRulz 5fa2c0ff26
Enable nullability for ResolutionInfo.cs 2021-02-12 17:07:43 +10:00
YoshiRulz a41fc1f1ce
Convert FirmwareRecord to a readonly struct 2021-02-12 17:07:43 +10:00
YoshiRulz 2e52827bc1
Convert FirmwareOption to a readonly struct 2021-02-12 17:07:42 +10:00
YoshiRulz af7ed156e9
Convert FirmwareFile to a readonly struct 2021-02-12 17:07:42 +10:00
YoshiRulz 10ed0872a4
Add and use FirmwareID struct
decided not to propogate to cores yet, left TODOs in Emulation.Common.Extensions
2021-02-12 17:07:42 +10:00
YoshiRulz 35f317a887
Split inner classes of FirmwareDatabase to own files 2021-02-12 15:52:45 +10:00
YoshiRulz dd0fc1b0b3
Move FirmwareManager to new subdir, split inner classes to own files 2021-02-12 15:48:01 +10:00
YoshiRulz b4be750427
Use direct casts for Control.Tag of known type in FirmwaresConfig 2021-02-12 15:44:36 +10:00
YoshiRulz 05676234ed
Move remaining assets from /output to /Assets 2021-02-12 14:08:17 +10:00
YoshiRulz dbe2cd4cde
Cleanup <Reference/>s of NLua (and System.Data.SQLite) 2021-02-12 13:59:40 +10:00
YoshiRulz f8ba7ece7d
Have ControllerConfig not break when resized (resolves #2611) 2021-02-12 13:31:16 +10:00
zeromus 7f14991442 remove list of games in comments from that mapper. they were apparently all wrong; I have seen more updated data in nesdevwiki 2021-02-09 23:03:54 -05:00
zeromus 8254982003 neshawk: fix namco340 mapper's mirroring registers; fixes #2584 (wagyan land 2)
note: the nesdevwiki docs were a bit scrambled due to history. I found corroboration for my testing and updated the docs while fixing neshawk
2021-02-09 22:58:22 -05:00
YoshiRulz f2ff5ea4ee
Move FirmwareDatabase helpers into ctor, prevent mutating collections 2021-02-08 13:19:23 +10:00
YoshiRulz b2b5647e83
Use Option helper in FirmwareAndOption, then inline _OptionWork 2021-02-08 12:56:41 +10:00
YoshiRulz 144a8aafd0
Cleanup FirmwareDatabase init helpers
using the result of File in FirmwareAndOption is setting up for the next commit
2021-02-08 12:56:41 +10:00
YoshiRulz 6716c3fd8f
Inline FirmwareDatabase.LookupFirmwareRecord 2021-02-08 12:56:41 +10:00
YoshiRulz 33a788d74b
Don't populate 2 lists with the same data, move assertion to unit test 2021-02-08 12:56:41 +10:00
YoshiRulz 6db638236e
Hardcode uppercasing of firmware hashes, assert on format in unit test 2021-02-08 12:56:40 +10:00
YoshiRulz 4800fef65e
Cleanup dumb LINQ in FirmwareManager 2021-02-08 12:56:40 +10:00
YoshiRulz 7e2437b396
Typo fixes and other minor cleanups to FirmwareDatabase data
* fix desc+info of bad PSX BIOSes
* set FirmwareFile.Bad via param on File method
* use #if false instead of comment for what I assume is a debug BIOS for A7800
    * I think a single '!' boi will make that one take precedence
* remove duplicate NDS BIOSes which were commented-out
2021-02-07 23:22:19 +10:00
YoshiRulz b9e784e153
Replace broken hack with hardcoded data 2021-02-06 20:31:36 +10:00
YoshiRulz 643d7b12dd
Lock/unlock Lua drawing surface for event callbacks (fixes #2595) 2021-02-05 10:52:13 +10:00
YoshiRulz 9d1eaa6475
Prevent trying to use DirectInput on Linux (resolves #2607) 2021-02-05 07:06:17 +10:00