| 2971 | } |
| 2972 | |
| 2973 | void VMManager::CheckForGSConfigChanges(const Pcsx2Config& old_config) |
| 2974 | { |
| 2975 | if (EmuConfig.GS == old_config.GS) |
| 2976 | return; |
| 2977 | |
| 2978 | Console.WriteLn("Updating GS configuration..."); |
| 2979 | |
| 2980 | // We could just check whichever NTSC or PAL is appropriate for our current mode, |
| 2981 | // but people _really_ shouldn't be screwing with framerate, so whatever. |
| 2982 | if (EmuConfig.GS.FramerateNTSC != old_config.GS.FramerateNTSC || |
| 2983 | EmuConfig.GS.FrameratePAL != old_config.GS.FrameratePAL) |
| 2984 | { |
| 2985 | UpdateVSyncRate(false); |
| 2986 | UpdateTargetSpeed(); |
| 2987 | } |
| 2988 | else if (EmuConfig.GS.VsyncEnable != old_config.GS.VsyncEnable || |
| 2989 | EmuConfig.GS.DisableMailboxPresentation != old_config.GS.DisableMailboxPresentation) |
| 2990 | { |
| 2991 | // Still need to update target speed, because of sync-to-host-refresh. |
| 2992 | UpdateTargetSpeed(); |
| 2993 | MTGS::UpdateVSyncMode(); |
| 2994 | } |
| 2995 | |
| 2996 | MTGS::ApplySettings(); |
| 2997 | } |
| 2998 | |
| 2999 | void VMManager::CheckForEmulationSpeedConfigChanges(const Pcsx2Config& old_config) |
| 3000 | { |
nothing calls this directly
no test coverage detected