add hacky way to load encrypted tox saves

This commit is contained in:
2023-08-28 15:33:36 +02:00
parent 9d9a486537
commit d131b5a02f
7 changed files with 102 additions and 14 deletions

View File

@ -6,11 +6,11 @@
#include <memory>
MainScreen::MainScreen(SDL_Renderer* renderer_, std::string save_path, std::vector<std::string> plugins) :
MainScreen::MainScreen(SDL_Renderer* renderer_, std::string save_path, std::string save_password, std::vector<std::string> plugins) :
renderer(renderer_),
rmm(cr),
mts(rmm),
tc(save_path),
tc(save_path, save_password),
ad(tc),
tcm(cr, tc, tc),
tmm(rmm, cr, tcm, tc, tc),