Commit Graph

114 Commits

Author SHA1 Message Date
Matt Nadareski
f4f11efa66 Make all DatItems handle being a sub item gracefully 2020-09-30 13:41:02 -07:00
Matt Nadareski
208de0282b Fix SpamSum hashing 2020-09-17 23:37:42 -07:00
Matt Nadareski
044d70da6e Consolidate some of the throws 2020-09-15 17:09:35 -07:00
Matt Nadareski
91f659dca2 Add and use ThrowOnError global (temp) 2020-09-15 12:12:13 -07:00
Matt Nadareski
7f6507cffb Move easy filters so Machine can use them 2020-09-08 12:54:41 -07:00
Matt Nadareski
d8835920a7 Reduce DatItem boilerplate 2020-09-08 10:56:37 -07:00
Matt Nadareski
f0afe33dd7 Combine some tags 2020-09-08 10:12:41 -07:00
Matt Nadareski
60818dba00 Make items XML serializable 2020-09-07 22:00:02 -07:00
Matt Nadareski
d70415b989 Add some XML serialization attributes 2020-09-07 14:47:27 -07:00
Matt Nadareski
5d5520dbdd Add ControlType, fix a bunch of numerics 2020-09-06 23:00:13 -07:00
Matt Nadareski
5f749d07a4 Add and use SpamSum for Media and Rom types
SpamSum implementation courtesy of https://github.com/aaru-dps/Aaru
2020-09-04 15:02:15 -07:00
Matt Nadareski
40ca4e39a5 Promote DataArea, DiskArea, and Part 2020-09-04 14:10:35 -07:00
Matt Nadareski
57b3521582 Field enum cleanup, part 1 2020-09-03 14:22:15 -07:00
Matt Nadareski
5d01d4ab51 Cleanup usings, promote PartFeature 2020-09-03 13:20:56 -07:00
Matt Nadareski
10de9f3430 All AttractMode fields are Rom-only 2020-09-03 13:01:33 -07:00
Matt Nadareski
40384a0dd6 All OpenMSX fields are Rom-only
This is one of the single largest reductions in boilerplate items because of the nature of the change. Unfortunately, a lot of cases won't see *too* much improvement since most DatFiles use Rom heavily.
2020-09-03 12:17:36 -07:00
Matt Nadareski
da62c8b893 LoadFlag is Rom-only 2020-09-03 12:06:54 -07:00
Matt Nadareski
6f72416947 Value is only part of certain items
This is yet another boilerplate reduction AS WELL AS a reduction for unnecessary field names (mostly due to my misunderstanding of my own implementation)
2020-09-03 11:48:30 -07:00
Matt Nadareski
47c2c1d227 Part is only part of DipSwitch, Disk, and Rom 2020-09-03 11:19:06 -07:00
Matt Nadareski
d727385fb8 Create and use DiskArea/DataArea
This has the added benefit of clearing out a lot of boilerplate for new DatItem types, since DiskArea only pertains to the Disk type and DataArea only pertains to the Rom type
2020-09-03 11:02:06 -07:00
Matt Nadareski
e3bfec93d4 Rename a class and add a note 2020-09-03 09:57:16 -07:00
Matt Nadareski
8a2e840a83 Promote SharedFeature 2020-09-03 00:48:07 -07:00
Matt Nadareski
995871174d Promote Info 2020-09-02 23:31:35 -07:00
Matt Nadareski
dfa56a240b Promote Control 2020-09-02 23:02:06 -07:00
Matt Nadareski
54e7e4b276 Promote SlotOption 2020-09-02 22:44:54 -07:00
Matt Nadareski
f9c072e78b Handle Configuration; promote Location, Setting 2020-09-02 22:38:00 -07:00
Matt Nadareski
94c98379d0 Promote Input 2020-09-02 21:59:26 -07:00
Matt Nadareski
3700e5f7a7 Promote Display 2020-09-02 21:36:14 -07:00
Matt Nadareski
08303b81de Promote Port 2020-09-02 17:22:31 -07:00
Matt Nadareski
007510cc0f Promote Device 2020-09-02 17:09:19 -07:00
Matt Nadareski
0d80e30bba Promote Instance early 2020-09-02 16:46:17 -07:00
Matt Nadareski
213c76ad10 Promote Extension early 2020-09-02 16:37:01 -07:00
Matt Nadareski
86173a39ec Promote Analog early, promot Configuration 2020-09-02 16:31:23 -07:00
Matt Nadareski
e05f1df878 Promote Driver 2020-09-02 15:38:10 -07:00
Matt Nadareski
6bf381bec9 Fix merging issue 2020-09-02 15:07:25 -07:00
Matt Nadareski
3d55e1462b Promote Feature 2020-09-02 13:31:50 -07:00
Matt Nadareski
07cf2135ff Promote Sound 2020-09-02 12:51:21 -07:00
Matt Nadareski
bd92f8993a Name is not guaranteed 2020-09-02 12:19:12 -07:00
Matt Nadareski
9604e16287 Promote Slot to DatItem 2020-09-01 16:21:55 -07:00
Matt Nadareski
7d3f3f1803 Promote DipSwitch 2020-09-01 13:36:32 -07:00
Matt Nadareski
8f5d373cb3 Fix stats/creation for Configuration 2020-09-01 12:04:35 -07:00
Matt Nadareski
4204cf8457 Promote Adjuster, RamOption 2020-09-01 11:34:52 -07:00
Matt Nadareski
6bc91732e6 Promote SoftwareList 2020-08-31 23:26:07 -07:00
Matt Nadareski
3e9b4e510c Add DeviceReference type, cleanup TODOs 2020-08-31 23:01:51 -07:00
Matt Nadareski
0c10eaa52f Better sort, fix naming collisions 2020-08-31 16:46:04 -07:00
Matt Nadareski
58039f5093 Fix filtering, merging, blanks, and bucketing 2020-08-31 15:33:05 -07:00
Matt Nadareski
e76d19033f Implement partial packing 2020-08-28 21:10:02 -07:00
Matt Nadareski
4bf5a835e7 Fix Sort 2020-08-28 01:13:55 -07:00
Matt Nadareski
4d0a3f55eb Add Aaruformat validation and media item type (#29)
* Initial `media` and AaruFormat code

* But... why?

* Fix AIF reading

* Fix D2D, Logiqx cleanup

* Minor cleanup

* Final cleanup round
2020-08-27 16:57:22 -07:00
Matt Nadareski
143668c56a Chip gets a promotion 2020-08-25 22:48:46 -07:00