Skip to content

Commit

Permalink
Fix Xbox OS name being reported incrorrectly (#1148)
Browse files Browse the repository at this point in the history
* Fix Xbox OS name

* Update Changelog

---------

Co-authored-by: PlasmaDev5 <[email protected]>
  • Loading branch information
PlasmaDev5 and PlasmaDev5 authored Feb 11, 2025
1 parent 8040e6b commit 011e705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
**Fixes**:

- Ensure that `sentry_capture_minidump()` fails if the provided minidump path cannot be attached, instead of sending a crash event without minidump. ([#1138](https://github.com/getsentry/sentry-native/pull/1138))
- Fix Xbox OS name being reported incorrectly ([#1148](https://github.com/getsentry/sentry-native/pull/1148))

**Thank you**:

Expand Down
2 changes: 1 addition & 1 deletion src/sentry_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ sentry__get_os_context(void)
# if defined(_GAMING_XBOX_SCARLETT)
# pragma warning(push)
# pragma warning(disable : 4996)
sentry_value_set_by_key(os, "name", sentry_value_new_string("Windows"));
sentry_value_set_by_key(os, "name", sentry_value_new_string("Xbox"));
OSVERSIONINFO os_ver = { 0 };
char buf[128];
buf[0] = 0;
Expand Down

0 comments on commit 011e705

Please sign in to comment.