@@ -44,6 +44,11 @@ class XNotifyListener;
|
||||
class XThread;
|
||||
class XUserModule;
|
||||
|
||||
// (?), used by KeGetCurrentProcessType
|
||||
constexpr uint32_t X_PROCTYPE_IDLE = 0;
|
||||
constexpr uint32_t X_PROCTYPE_USER = 1;
|
||||
constexpr uint32_t X_PROCTYPE_SYSTEM = 2;
|
||||
|
||||
struct ProcessInfoBlock {
|
||||
xe::be<uint32_t> unk_00;
|
||||
xe::be<uint32_t> unk_04; // blink
|
||||
|
||||
@@ -24,6 +24,10 @@ namespace kernel {
|
||||
class NativeList;
|
||||
class XEvent;
|
||||
|
||||
constexpr uint32_t X_CREATE_SUSPENDED = 0x00000004;
|
||||
|
||||
constexpr uint32_t X_TLS_OUT_OF_INDEXES = UINT32_MAX;
|
||||
|
||||
struct XAPC {
|
||||
static const uint32_t kSize = 40;
|
||||
static const uint32_t kDummyKernelRoutine = 0xF00DFF00;
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
namespace xe {
|
||||
namespace kernel {
|
||||
|
||||
constexpr uint32_t X_LANGUAGE_ENGLISH = 1;
|
||||
constexpr uint32_t X_LANGUAGE_JAPANESE = 2;
|
||||
|
||||
SHIM_CALL XamGetSystemVersion_shim(PPCContext* ppc_context,
|
||||
KernelState* kernel_state) {
|
||||
XELOGD("XamGetSystemVersion()");
|
||||
|
||||
@@ -22,7 +22,7 @@ void VdQueryVideoMode(pointer_t<X_VIDEO_MODE> video_mode);
|
||||
void XGetVideoMode(pointer_t<X_VIDEO_MODE> video_mode) {
|
||||
VdQueryVideoMode(std::move(video_mode));
|
||||
}
|
||||
DECLARE_XAM_EXPORT(XGetVideoMode, ExportTag::kVideo | ExportTag::kStub);
|
||||
DECLARE_XAM_EXPORT(XGetVideoMode, ExportTag::kVideo | ExportTag::kSketchy);
|
||||
|
||||
dword_result_t XGetVideoCapabilities() { return 0; }
|
||||
DECLARE_XAM_EXPORT(XGetVideoCapabilities, ExportTag::kVideo | ExportTag::kStub);
|
||||
|
||||
Reference in New Issue
Block a user