feat(profile): add region code

This commit is contained in:
phaneron 2024-09-20 00:13:32 -04:00
parent e2b08911e9
commit da8d47619c
21 changed files with 762 additions and 6 deletions

View file

@ -18,7 +18,11 @@ struct CGxDeviceD3d {
IDirect3DDevice9* m_d3dDevice;
D3DCAPS9 m_d3dCaps;
int32_t m_d3dIsHwDevice;
uint32_t unk3AB4[11];
int32_t m_d3dNVAPI;
uint32_t unk3AB8;
uint32_t unk3ABC;
uint32_t m_d3dStereoHandle;
uint32_t unk3AC4[7];
IDirect3DVertexDeclaration9* m_d3dVertexDecl[14];
D3DDISPLAYMODE m_desktopDisplayMode;
int32_t m_inScene;

View file

@ -199,7 +199,8 @@ struct CGxDevice {
int32_t m_windowVisible;
int32_t intF64;
int32_t intF68;
int32_t intF6C;
// Invented name, though seems to have the same place as CGxDeviceD3d::m_d3dNeedsReset
int32_t m_needsUpdate;
CBoundingBox m_viewport;
C44Matrix m_projection;
C44Matrix m_projNative;