Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Add version logging to the debugging console
Browse files Browse the repository at this point in the history
  • Loading branch information
mosamadeeb committed Jul 7, 2021
1 parent 40e4ed0 commit 98f5b63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/Parless.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ void OnInitializeHook()

using namespace Parless;

const char* VERSION = "1.3";

const char* FILE_LOAD_MSG = "Applied file loading hook.\n";
const char* CPK_LOAD_MSG = "Applied CPK loading hook.\n";
const char* ADX_LOAD_MSG = "Applied ADX loading hook.\n";
Expand Down Expand Up @@ -421,6 +423,8 @@ void OnInitializeHook()
freopen_s(&fDummy, "CONOUT$", "w", stdout);
}

cout << "YakuzaParless v" << VERSION << "\n\n";

Trampoline* trampoline = Trampoline::MakeTrampoline(GetModuleHandle(nullptr));

// Get the name of the current game
Expand Down

0 comments on commit 98f5b63

Please sign in to comment.