Fix game
This commit is contained in:
parent
7e616dd0ce
commit
bf4211c7f2
@ -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
|
||||||
|
@ -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", []()
|
||||||
{
|
{
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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())();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user