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

Method PumpPlatformMessages

pcsx2-gsrunner/Main.cpp:1130–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1128static DWORD MainThreadID;
1129
1130void GSRunner::PumpPlatformMessages(bool forever)
1131{
1132 MSG msg;
1133 while (true)
1134 {
1135 while (PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE))
1136 {
1137 if (msg.message == SHUTDOWN_MSG)
1138 return;
1139 TranslateMessage(&msg);
1140 DispatchMessageW(&msg);
1141 }
1142 if (!forever)
1143 return;
1144 WaitMessage();
1145 }
1146}
1147
1148void GSRunner::StopPlatformMessagePump()
1149{

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected