mirror of https://github.com/PCSX2/pcsx2.git
ci: format the GameDB and make sure it stays that way
This commit is contained in:
parent
b54facdbd8
commit
9ba42ec950
|
@ -14,6 +14,7 @@ on:
|
|||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint and Validate GameDB
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
|
@ -30,4 +31,4 @@ jobs:
|
|||
- name: Check Formatting
|
||||
run: |
|
||||
npm install -g prettier
|
||||
prettier --check ./bin/Resources/GameIndex.yaml
|
||||
prettier --check ./bin/resources/GameIndex.yaml
|
||||
|
|
|
@ -213,7 +213,7 @@ option_validation_handlers = {
|
|||
class UniqueKeyLoader(yaml.FullLoader):
|
||||
def construct_mapping(self, node, deep=False):
|
||||
mapping = set()
|
||||
for key_node, value_node in node.value:
|
||||
for key_node, _ in node.value:
|
||||
key = self.construct_object(key_node, deep=deep)
|
||||
if key in mapping:
|
||||
raise ValueError(f"Duplicate {key!r} key found in YAML.")
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
overrides:
|
||||
- files: "**/GameIndex.yaml"
|
||||
options:
|
||||
tabWidth: 2
|
||||
useTabs: false
|
||||
quoteProps: consistent
|
||||
endOfLine: auto
|
||||
proseWrap: preserve
|
|
@ -10314,7 +10314,7 @@ SLES-50921:
|
|||
name: "Way of the Samurai"
|
||||
region: "PAL-M3"
|
||||
gameFixes:
|
||||
- EETimingHack # Stops crash after intro movie
|
||||
- EETimingHack # Stops crash after intro movie
|
||||
SLES-50922:
|
||||
name: "Terminator, The - Dawn of Fate"
|
||||
region: "PAL-M5"
|
||||
|
@ -10687,7 +10687,7 @@ SLES-51125:
|
|||
name: "Sega Soccer Slam"
|
||||
region: "PAL-E"
|
||||
gameFixes:
|
||||
- EETimingHack # Fixes hang
|
||||
- EETimingHack # Fixes hang
|
||||
SLES-51126:
|
||||
name: "Whirl Tour"
|
||||
region: "PAL-M5"
|
||||
|
@ -23492,8 +23492,8 @@ SLPM-62483:
|
|||
name: "Simple 2000 Series Vol. 48 - The Taxi - Untenshu ha Kimi da"
|
||||
region: "NTSC-J"
|
||||
roundModes:
|
||||
eeRoundMode: 2
|
||||
vuRoundMode: 2
|
||||
eeRoundMode: 2
|
||||
vuRoundMode: 2
|
||||
SLPM-62484:
|
||||
name: "Simple 2000 Series Vol. 50 - The Daibijin"
|
||||
region: "NTSC-J"
|
||||
|
@ -38045,7 +38045,7 @@ SLUS-20407:
|
|||
region: "NTSC-U"
|
||||
compat: 5
|
||||
gameFixes:
|
||||
- EETimingHack # Stops crash after intro movie
|
||||
- EETimingHack # Stops crash after intro movie
|
||||
SLUS-20408:
|
||||
name: "Pitfall - The Lost Expedition"
|
||||
region: "NTSC-U"
|
||||
|
@ -38530,7 +38530,7 @@ SLUS-20509:
|
|||
region: "NTSC-U"
|
||||
compat: 5
|
||||
gameFixes:
|
||||
- EETimingHack # Fixes hang
|
||||
- EETimingHack # Fixes hang
|
||||
SLUS-20510:
|
||||
name: "Star Wars - Clone Wars"
|
||||
region: "NTSC-U"
|
||||
|
@ -41620,21 +41620,21 @@ SLUS-21180:
|
|||
patches:
|
||||
FE44479E:
|
||||
content: |-
|
||||
author=kozarovv
|
||||
// Set IPU_DATA IVF to Intra
|
||||
patch=1,EE,003BFDD8,word,3C040020
|
||||
// Set IPU_CMD to IDEC, and set QSC to 2
|
||||
// Why 2? Because it seems to work best.
|
||||
patch=1,EE,003BFDEC,word,3C021002
|
||||
// Old patch by shadow lady (still needed)
|
||||
patch=1,EE,00104170,word,00000000
|
||||
// Disable print - we need that loop!
|
||||
// Without loop ipu break itself.
|
||||
patch=1,EE,0010FDC8,word,34190180
|
||||
patch=1,EE,0010FDCC,word,1720FFFF
|
||||
patch=1,EE,0010FDD0,word,2739FFFF
|
||||
patch=1,EE,0010FDD4,word,03E00008
|
||||
patch=1,EE,0010FDD8,word,00000000
|
||||
author=kozarovv
|
||||
// Set IPU_DATA IVF to Intra
|
||||
patch=1,EE,003BFDD8,word,3C040020
|
||||
// Set IPU_CMD to IDEC, and set QSC to 2
|
||||
// Why 2? Because it seems to work best.
|
||||
patch=1,EE,003BFDEC,word,3C021002
|
||||
// Old patch by shadow lady (still needed)
|
||||
patch=1,EE,00104170,word,00000000
|
||||
// Disable print - we need that loop!
|
||||
// Without loop ipu break itself.
|
||||
patch=1,EE,0010FDC8,word,34190180
|
||||
patch=1,EE,0010FDCC,word,1720FFFF
|
||||
patch=1,EE,0010FDD0,word,2739FFFF
|
||||
patch=1,EE,0010FDD4,word,03E00008
|
||||
patch=1,EE,0010FDD8,word,00000000
|
||||
SLUS-21181:
|
||||
name: "D.I.C.E. - DNA Integrated Cybernetic Enterprises"
|
||||
region: "NTSC-U"
|
||||
|
|
Loading…
Reference in New Issue