Fix issues and
This commit is contained in:
parent
e253ab7070
commit
937e8ed680
@ -242,6 +242,10 @@ namespace Components
|
|||||||
delwin(Console::InputWindow);
|
delwin(Console::InputWindow);
|
||||||
delwin(Console::InfoWindow);
|
delwin(Console::InfoWindow);
|
||||||
endwin();
|
endwin();
|
||||||
|
|
||||||
|
Console::OutputWindow = nullptr;
|
||||||
|
Console::InputWindow = nullptr;
|
||||||
|
Console::InfoWindow = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Console::Create()
|
void Console::Create()
|
||||||
@ -327,6 +331,8 @@ namespace Components
|
|||||||
|
|
||||||
void Console::Print(const char* message)
|
void Console::Print(const char* message)
|
||||||
{
|
{
|
||||||
|
if (!Console::OutputWindow) return;
|
||||||
|
|
||||||
const char* p = message;
|
const char* p = message;
|
||||||
while (*p != '\0')
|
while (*p != '\0')
|
||||||
{
|
{
|
||||||
|
@ -261,6 +261,8 @@ namespace Components
|
|||||||
Utils::Hook::Nop(0x64CF77, 5); // function detecting video card, causes Direct3DCreate9 to be called
|
Utils::Hook::Nop(0x64CF77, 5); // function detecting video card, causes Direct3DCreate9 to be called
|
||||||
Utils::Hook::Nop(0x60BC52, 0x15); // recommended settings check
|
Utils::Hook::Nop(0x60BC52, 0x15); // recommended settings check
|
||||||
|
|
||||||
|
Utils::Hook::Nop(0x45148B, 5); // Disable splash screen
|
||||||
|
|
||||||
// isHost script call return 0
|
// isHost script call return 0
|
||||||
Utils::Hook::Set<DWORD>(0x5DEC04, 0);
|
Utils::Hook::Set<DWORD>(0x5DEC04, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user