Skip to content

Commit

Permalink
Merge pull request #38 from Nightfallstorm/VR
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse authored Jan 22, 2024
2 parents a35873a + befa2de commit c905827
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
22 changes: 16 additions & 6 deletions include/RE/M/MenuControls.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,25 @@ namespace RE
MenuOpenHandler* menuOpenHandler; // 68
FavoritesHandler* favoritesHandler; // 70
ScreenshotHandler* screenshotHandler; // 78
bool isProcessing; // 80
bool beastForm; // 81
bool remapMode; // 82
std::uint8_t unk83; // 83
std::uint32_t unk84; // 84
#ifdef SKYRIMVR
std::uint64_t occlusionCullingToggleHandler; // 80
#endif
bool isProcessing; // 80
bool beastForm; // 81
bool remapMode; // 82
std::uint8_t unk83; // 83
std::uint32_t unk84; // 84
private:
KEEP_FOR_RE()
};
static_assert(offsetof(MenuControls, handlers) == 0x18);
static_assert(offsetof(MenuControls, remapMode) == 0x82);

#ifndef SKYRIMVR
static_assert(sizeof(MenuControls) == 0x88);
static_assert(offsetof(MenuControls, remapMode) == 0x82);
#else
static_assert(offsetof(MenuControls, remapMode) == 0x8A);
static_assert(sizeof(MenuControls) == 0x90);
#endif

}
1 change: 0 additions & 1 deletion src/RE/W/WorldSpaceMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace RE
if (menuNode.get()->parent) {
menuNode.get()->parent->DetachChild2(menuNode.get());
}
menuNode->DeleteThis();
menuNode.reset();
}

Expand Down

0 comments on commit c905827

Please sign in to comment.