diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-23 02:26:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 02:26:03 +0100 |
commit | dad9ea3e076763cbfd0c29497552531cb7c45edf (patch) | |
tree | 0667e704694d156a6878e45d609a72c2f2f484ba /src/core/hle/service/psc/ovln/ovln_types.h | |
parent | Merge pull request #12982 from FearlessTobi/fs-rewrite-part0 (diff) | |
parent | psc: stub overlay notification channel (diff) | |
download | yuzu-dad9ea3e076763cbfd0c29497552531cb7c45edf.tar yuzu-dad9ea3e076763cbfd0c29497552531cb7c45edf.tar.gz yuzu-dad9ea3e076763cbfd0c29497552531cb7c45edf.tar.bz2 yuzu-dad9ea3e076763cbfd0c29497552531cb7c45edf.tar.lz yuzu-dad9ea3e076763cbfd0c29497552531cb7c45edf.tar.xz yuzu-dad9ea3e076763cbfd0c29497552531cb7c45edf.tar.zst yuzu-dad9ea3e076763cbfd0c29497552531cb7c45edf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/psc/ovln/ovln_types.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/hle/service/psc/ovln/ovln_types.h b/src/core/hle/service/psc/ovln/ovln_types.h new file mode 100644 index 000000000..343b05dcc --- /dev/null +++ b/src/core/hle/service/psc/ovln/ovln_types.h @@ -0,0 +1,21 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "common/bit_field.h" +#include "common/common_types.h" + +namespace Service::PSC { + +using OverlayNotification = std::array<u64, 0x10>; +static_assert(sizeof(OverlayNotification) == 0x80, "OverlayNotification has incorrect size"); + +union MessageFlags { + u64 raw; + BitField<0, 8, u64> message_type; + BitField<8, 8, u64> queue_type; +}; +static_assert(sizeof(MessageFlags) == 0x8, "MessageFlags has incorrect size"); + +} // namespace Service::PSC |