| 722 | } |
| 723 | |
| 724 | void VMManager::ApplyGameFixes() |
| 725 | { |
| 726 | if (!HasBootedELF() && !GSDumpReplayer::IsReplayingDump()) |
| 727 | { |
| 728 | // Instant DMA needs to be on for this BIOS (font rendering is broken without it, possible cache issues). |
| 729 | EmuConfig.Gamefixes.InstantDMAHack = true; |
| 730 | |
| 731 | // Disable user's manual hardware fixes, it might be problematic. |
| 732 | EmuConfig.GS.ManualUserHacks = false; |
| 733 | return; |
| 734 | } |
| 735 | |
| 736 | const GameDatabaseSchema::GameEntry* game = GameDatabase::findGame(s_disc_serial); |
| 737 | if (!game) |
| 738 | return; |
| 739 | |
| 740 | game->applyGameFixes(EmuConfig, EmuConfig.EnableGameFixes); |
| 741 | game->applyGSHardwareFixes(EmuConfig.GS); |
| 742 | |
| 743 | // Re-remove upscaling fixes, make sure they don't apply at native res. |
| 744 | // We do this in LoadCoreSettings(), but game fixes get applied afterwards because of the unsafe warning. |
| 745 | EmuConfig.GS.MaskUpscalingHacks(); |
| 746 | } |
| 747 | |
| 748 | void VMManager::ApplySettings() |
| 749 | { |
nothing calls this directly
no test coverage detected