| 937 | } |
| 938 | |
| 939 | void MTGS::ApplySettings() |
| 940 | { |
| 941 | pxAssertRel(IsOpen(), "MTGS is running"); |
| 942 | |
| 943 | RunOnGSThread([opts = EmuConfig.GS]() { |
| 944 | GSUpdateConfig(opts); |
| 945 | }); |
| 946 | |
| 947 | // We need to synchronize the thread when changing any settings when the download mode |
| 948 | // is unsynchronized, because otherwise we might potentially read in the middle of |
| 949 | // the GS renderer being reopened. |
| 950 | if (EmuConfig.GS.HWDownloadMode == GSHardwareDownloadMode::Unsynchronized) |
| 951 | WaitGS(false, false, false); |
| 952 | } |
| 953 | |
| 954 | void MTGS::ResizeDisplayWindow(u32 width, u32 height, float scale) |
| 955 | { |
nothing calls this directly
no test coverage detected