diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index e8300cd05..08cbb8978 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -381,6 +381,10 @@ struct System::Impl { | |||
| 381 | room_member->SendGameInfo(game_info); | 381 | room_member->SendGameInfo(game_info); |
| 382 | } | 382 | } |
| 383 | 383 | ||
| 384 | // Workarounds: | ||
| 385 | // Activate this in Super Smash Brothers Ultimate, it only affects AMD cards using AMDVLK | ||
| 386 | Settings::values.renderer_amdvlk_depth_bias_workaround = program_id == 0x1006A800016E000ULL; | ||
| 387 | |||
| 384 | status = SystemResultStatus::Success; | 388 | status = SystemResultStatus::Success; |
| 385 | return status; | 389 | return status; |
| 386 | } | 390 | } |
| @@ -440,6 +444,9 @@ struct System::Impl { | |||
| 440 | room_member->SendGameInfo(game_info); | 444 | room_member->SendGameInfo(game_info); |
| 441 | } | 445 | } |
| 442 | 446 | ||
| 447 | // Workarounds | ||
| 448 | Settings::values.renderer_amdvlk_depth_bias_workaround = false; | ||
| 449 | |||
| 443 | LOG_DEBUG(Core, "Shutdown OK"); | 450 | LOG_DEBUG(Core, "Shutdown OK"); |
| 444 | } | 451 | } |
| 445 | 452 | ||