mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 15:20:58 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
29 lines
538 B
C
29 lines
538 B
C
#ifndef RVL_SDK_OS_STATE_FLAGS_H
|
|
#define RVL_SDK_OS_STATE_FLAGS_H
|
|
#include "common.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OSStateFlags {
|
|
u32 checksum; // at 0x0
|
|
u8 BYTE_0x4;
|
|
u8 BYTE_0x5; // at 0x5
|
|
u8 discState; // at 0x6
|
|
u8 BYTE_0x7;
|
|
u32 WORD_0x8;
|
|
u32 WORD_0xC;
|
|
u32 WORD_0x10;
|
|
u32 WORD_0x14;
|
|
u32 WORD_0x18;
|
|
u32 WORD_0x1C;
|
|
} OSStateFlags;
|
|
|
|
BOOL __OSWriteStateFlags(const OSStateFlags *state);
|
|
BOOL __OSReadStateFlags(OSStateFlags *state);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|