2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #2425 from FernandoS27/y-direction

Fix flipping on some games by applying Y direction register
This commit is contained in:
Hexagon12 2019-04-23 18:29:29 +03:00 committed by GitHub
commit b2fbcaae30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,9 @@ void main() {
} }
out += R"( out += R"(
// Set Position Y direction
position.y *= utof(config_pack[2]);
// Check if the flip stage is VertexB // Check if the flip stage is VertexB
// Config pack's second value is flip_stage // Config pack's second value is flip_stage
if (config_pack[1] == 1) { if (config_pack[1] == 1) {