From 36abbd97e8818937b41510a56d46ae6879897624 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 9 Jul 2024 20:38:18 +1000 Subject: [PATCH] GameDB: Set DisablePGXPOn2DPolygons on Xenogears Fixes misaligned UI. For future reference: game does a multiply by 4096, then a right shift of 12, which should give back the same value, but with it being implemented in PGXP-CPU with a divide that does not round down, it ends up being off by one. Rounding down loses precision in other games, so that's not an option. --- data/resources/gamedb.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/resources/gamedb.yaml b/data/resources/gamedb.yaml index 25b98d765..b28abcbd8 100644 --- a/data/resources/gamedb.yaml +++ b/data/resources/gamedb.yaml @@ -186322,6 +186322,7 @@ SCPS-45170: - SCPS-45171 traits: - ForcePGXPCPUMode # Fixes battle shadows, radar jitter. + - DisablePGXPOn2DPolygons # Fixes misaligned text. metadata: publisher: "Squaresoft" developer: "Squaresoft" @@ -186345,6 +186346,7 @@ SLPS-02773: - SLPS-02774 traits: - ForcePGXPCPUMode # Fixes battle shadows, radar jitter. + - DisablePGXPOn2DPolygons # Fixes misaligned text. metadata: publisher: "Squaresoft" developer: "Squaresoft" @@ -186375,6 +186377,7 @@ SLPS-01160: - SLPS-91437 traits: - ForcePGXPCPUMode # Fixes battle shadows, radar jitter. + - DisablePGXPOn2DPolygons # Fixes misaligned text. metadata: publisher: "Squaresoft" developer: "Squaresoft" @@ -186403,6 +186406,7 @@ SLPS-01161: - SLPS-02776 traits: - ForcePGXPCPUMode # Fixes battle shadows, radar jitter. + - DisablePGXPOn2DPolygons # Fixes misaligned text. metadata: publisher: "Squaresoft" developer: "Squaresoft" @@ -186431,6 +186435,7 @@ SLUS-00664: - DigitalController traits: - ForcePGXPCPUMode # Fixes battle shadows, radar jitter. + - DisablePGXPOn2DPolygons # Fixes misaligned text. metadata: publisher: "Squaresoft" developer: "Squaresoft" @@ -186459,6 +186464,7 @@ SLUS-00669: - DigitalController traits: - ForcePGXPCPUMode # Fixes battle shadows, radar jitter. + - DisablePGXPOn2DPolygons # Fixes misaligned text. metadata: publisher: "Squaresoft" developer: "Squaresoft"