diff --git a/.github/workflows/hash.yml b/.github/workflows/hash.yml new file mode 100644 index 00000000000..cec7fca734b --- /dev/null +++ b/.github/workflows/hash.yml @@ -0,0 +1,23 @@ +name: XML validation + +on: + push: + paths: + - 'hash/*' + pull_request: + paths: + - 'hash/*' + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y libxml2-utils + - name: Validate (HSI) + run: for x in hash/*.hsi ; do xmllint --noout "$x" ; done + - name: Validate (XML) + run: for x in hash/*.xml ; do xmllint --noout --valid "$x" ; done diff --git a/hash/c64_flop_clcracked.xml b/hash/c64_flop_clcracked.xml deleted file mode 100644 index d1c6c38233d..00000000000 --- a/hash/c64_flop_clcracked.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/src/mame/drivers/c128.cpp b/src/mame/drivers/c128.cpp index 47843515c0c..71d24a0ceb6 100644 --- a/src/mame/drivers/c128.cpp +++ b/src/mame/drivers/c128.cpp @@ -1756,9 +1756,8 @@ void c128_state::ntsc(machine_config &config) SOFTWARE_LIST(config, "cart_list_c64").set_original("c64_cart").set_filter("NTSC"); SOFTWARE_LIST(config, "cass_list_c64").set_original("c64_cass").set_filter("NTSC"); SOFTWARE_LIST(config, "cart_list_vic10").set_original("vic10").set_filter("NTSC"); - // disk softlist split into originals, cleanly cracked, and misc (homebrew and defaced cracks) + // disk softlist split into originals and misc (homebrew and cracks) SOFTWARE_LIST(config, "flop525_orig").set_original("c64_flop_orig").set_filter("NTSC"); - SOFTWARE_LIST(config, "flop525_clean").set_compatible("c64_flop_clcracked").set_filter("NTSC"); SOFTWARE_LIST(config, "flop525_misc").set_compatible("c64_flop_misc").set_filter("NTSC"); // function ROM diff --git a/src/mame/drivers/c64.cpp b/src/mame/drivers/c64.cpp index 58363439f44..cf09c234d03 100644 --- a/src/mame/drivers/c64.cpp +++ b/src/mame/drivers/c64.cpp @@ -1563,9 +1563,8 @@ void c64_state::ntsc(machine_config &config) SOFTWARE_LIST(config, "cart_list_vic10").set_original("vic10").set_filter("NTSC"); SOFTWARE_LIST(config, "cart_list_c64").set_original("c64_cart").set_filter("NTSC"); SOFTWARE_LIST(config, "cass_list").set_original("c64_cass").set_filter("NTSC"); - // disk softlist split into originals, cleanly cracked, and misc (homebrew and defaced cracks) + // disk softlist split into originals and misc (homebrew and cracks) SOFTWARE_LIST(config, "flop525_orig").set_original("c64_flop_orig").set_filter("NTSC"); - SOFTWARE_LIST(config, "flop525_clean").set_compatible("c64_flop_clcracked").set_filter("NTSC"); SOFTWARE_LIST(config, "flop525_misc").set_compatible("c64_flop_misc").set_filter("NTSC"); // internal ram @@ -1737,9 +1736,8 @@ void c64_state::pal(machine_config &config) SOFTWARE_LIST(config, "cart_list_vic10").set_original("vic10").set_filter("PAL"); SOFTWARE_LIST(config, "cart_list_c64").set_original("c64_cart").set_filter("PAL"); SOFTWARE_LIST(config, "cass_list").set_original("c64_cass").set_filter("PAL"); - // disk softlist split into originals, cleanly cracked, and misc (homebrew and defaced cracks) + // disk softlist split into originals and misc (homebrew and cracks) SOFTWARE_LIST(config, "flop525_orig").set_original("c64_flop_orig").set_filter("PAL"); - SOFTWARE_LIST(config, "flop525_clean").set_compatible("c64_flop_clcracked").set_filter("PAL"); SOFTWARE_LIST(config, "flop525_misc").set_compatible("c64_flop_misc").set_filter("PAL"); // internal ram