Fix game
This commit is contained in:
parent
7e616dd0ce
commit
bf4211c7f2
@ -608,11 +608,13 @@ namespace arxan
|
||||
|
||||
void post_unpack() override
|
||||
{
|
||||
/*patch_check_type_1_direct();
|
||||
/*
|
||||
patch_check_type_1_direct();
|
||||
patch_check_type_1_indirect();
|
||||
patch_check_type_2();
|
||||
patch_check_type_4();
|
||||
patch_check_type_5();*/
|
||||
patch_check_type_5();
|
||||
*/
|
||||
}
|
||||
|
||||
void pre_destroy() override
|
||||
|
@ -150,7 +150,7 @@ namespace scheduler
|
||||
class component final : public component_interface
|
||||
{
|
||||
public:
|
||||
void pre_start() override
|
||||
void post_unpack() override
|
||||
{
|
||||
thread = utils::thread::create_named_thread("Async Scheduler", []()
|
||||
{
|
||||
|
@ -32,9 +32,8 @@ namespace splash
|
||||
{
|
||||
public:
|
||||
component()
|
||||
: image_(load_splash_image())
|
||||
{
|
||||
image_ = load_splash_image();
|
||||
|
||||
enable_dpi_awareness();
|
||||
this->show();
|
||||
}
|
||||
|
@ -174,13 +174,12 @@ namespace
|
||||
|
||||
int patch_main()
|
||||
{
|
||||
initialization_hooks.clear();
|
||||
|
||||
if(!run())
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
initialization_hooks.clear();
|
||||
return reinterpret_cast<int(*)()>(get_entry_point())();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user