Skip to content

Commit

Permalink
oodle noob support
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobalula committed May 11, 2022
1 parent e8f6334 commit 73a37ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/WraithXCOD/WraithXCOD/CoDAssets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ LoadGameResult CoDAssets::LoadGamePS()
{
// Modern Warfare 2019
case 0x3931524157444F4D:
GameModernWarfare4::PerformInitialSetup();
GameID = SupportedGames::ModernWarfare4;
GameFlags = SupportedGameFlags::None;
GameXImageHandler = GameModernWarfare4::LoadXImage;
Expand Down
2 changes: 1 addition & 1 deletion src/WraithXCOD/WraithXCOD/GameModernWarfare4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1139,5 +1139,5 @@ void GameModernWarfare4::PerformInitialSetup()

// Copy if not exists
if (!FileSystems::FileExists(OurPath))
FileSystems::CopyFile(FileSystems::CombinePath(FileSystems::GetDirectoryName(CoDAssets::GameInstance->GetProcessPath()), "oo2core_7_win64.dll"), OurPath);
FileSystems::CopyFile(FileSystems::CombinePath(FileSystems::GetDirectoryName(ps::state->GameDirectory), "oo2core_7_win64.dll"), OurPath);
}

0 comments on commit 73a37ac

Please sign in to comment.