This commit is contained in:
momo5502 2022-05-29 18:23:52 +02:00
parent 7e616dd0ce
commit bf4211c7f2
4 changed files with 7 additions and 7 deletions

View File

@ -608,11 +608,13 @@ namespace arxan
void post_unpack() override void post_unpack() override
{ {
/*patch_check_type_1_direct(); /*
patch_check_type_1_direct();
patch_check_type_1_indirect(); patch_check_type_1_indirect();
patch_check_type_2(); patch_check_type_2();
patch_check_type_4(); patch_check_type_4();
patch_check_type_5();*/ patch_check_type_5();
*/
} }
void pre_destroy() override void pre_destroy() override

View File

@ -150,7 +150,7 @@ namespace scheduler
class component final : public component_interface class component final : public component_interface
{ {
public: public:
void pre_start() override void post_unpack() override
{ {
thread = utils::thread::create_named_thread("Async Scheduler", []() thread = utils::thread::create_named_thread("Async Scheduler", []()
{ {

View File

@ -32,9 +32,8 @@ namespace splash
{ {
public: public:
component() component()
: image_(load_splash_image())
{ {
image_ = load_splash_image();
enable_dpi_awareness(); enable_dpi_awareness();
this->show(); this->show();
} }

View File

@ -174,13 +174,12 @@ namespace
int patch_main() int patch_main()
{ {
initialization_hooks.clear();
if(!run()) if(!run())
{ {
return 1; return 1;
} }
initialization_hooks.clear();
return reinterpret_cast<int(*)()>(get_entry_point())(); return reinterpret_cast<int(*)()>(get_entry_point())();
} }