diff --git a/src/xenia/xbox.h b/src/xenia/xbox.h index 8a4990fa4..668be2e5e 100644 --- a/src/xenia/xbox.h +++ b/src/xenia/xbox.h @@ -191,6 +191,17 @@ enum X_FILE_INFORMATION_CLASS { XFileMaximumInformation }; +// Known as XOVERLAPPED to 360 code. +struct XAM_OVERLAPPED { + xe::be result; // 0x0 + xe::be length; // 0x4 + xe::be context; // 0x8 + xe::be event; // 0xC + xe::be completion_routine; // 0x10 + xe::be completion_context; // 0x14 + xe::be extended_error; // 0x18 +}; + inline uint32_t XOverlappedGetResult(void* ptr) { auto p = reinterpret_cast(ptr); return xe::load_and_swap(&p[0]);