MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ApplySettings

Method ApplySettings

pcsx2/MTGS.cpp:939–952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

937}
938
939void 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
954void MTGS::ResizeDisplayWindow(u32 width, u32 height, float scale)
955{

Callers

nothing calls this directly

Calls 1

GSUpdateConfigFunction · 0.85

Tested by

no test coverage detected