Skip to content
Prev Previous commit
Next Next commit
tweak: unpause book and favorites menu
  • Loading branch information
RobbeBryssinck committed Apr 14, 2022
commit b816f873889f6b77bcd28b070b2503a2788b1525
2 changes: 1 addition & 1 deletion Code/client/Games/Skyrim/Interface/UI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static void UnfreezeMenu(IMenu* apEntry)

static constexpr const char* kAllowList[] = {
"Console", "TweenMenu", "MagicMenu", "StatsMenu", "InventoryMenu", "MessageBoxMenu",
"ContainerMenu", "BarterMenu"
"ContainerMenu", "BarterMenu", "Book Menu", "FavoritesMenu"
//"MapMenu", // MapMenu is disabled till we find a proper fix for first person.
//"Journal Menu", // Journal menu, aka pause menu, is disabled until we find a fix for manual save crashing while unpaused.
};
Expand Down
1 change: 1 addition & 0 deletions Code/client/TiltedOnlineApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ TiltedOnlineApp::TiltedOnlineApp()
create_directory(logPath, ec);

auto rotatingLogger = std::make_shared<spdlog::sinks::rotating_file_sink_mt>(logPath / "tp_client.log", 1048576 * 5, 3);
rotatingLogger->set_level(spdlog::level::debug);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this off for stable builds?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rotatinglogger logs to file, not the console. I didn't fully complete it in this PR, but the goal is to somehow send these logs to Sentry on crash, if that's somehow possible.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look at the sentry native documentation, it allows you to attach other files to crashes :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that'd be perfect, I'll do that in a follow up PR then 👍

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be info at most in stable yea, apart from that I see no problem

auto console = std::make_shared<spdlog::sinks::stdout_color_sink_mt>();
console->set_pattern("%^[%H:%M:%S] [%l]%$ %v");

Expand Down