Skip to content

Commit ecff426

Browse files
authored
feat: allow build to target Xbox Scarlett (google#40)
1 parent 43812d6 commit ecff426

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/client/windows/crash_generation/crash_generation_client.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ HANDLE CrashGenerationClient::ConnectToServer() {
230230
}
231231

232232
bool CrashGenerationClient::RegisterClient(HANDLE pipe) {
233+
#ifdef _GAMING_XBOX_SCARLETT
234+
return false;
235+
#else
233236
ProtocolMessage msg(MESSAGE_TAG_REGISTRATION_REQUEST,
234237
GetCurrentProcessId(),
235238
dump_type_,
@@ -271,6 +274,7 @@ bool CrashGenerationClient::RegisterClient(HANDLE pipe) {
271274
server_process_id_ = reply.id;
272275

273276
return true;
277+
#endif // _GAMING_XBOX_SCARLETT
274278
}
275279

276280
HANDLE CrashGenerationClient::ConnectToPipe(const wchar_t* pipe_name,

0 commit comments

Comments
 (0)