Skip to content

Commit

Permalink
Remove confusing configuration from Launcher.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneko committed Feb 20, 2024
1 parent cc2f764 commit f3cac0d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/Launcher/Launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ class LauncherApplication : public PlayerApplication
{
PlayerApplication::Setup();

auto fs = context_->GetSubsystem<FileSystem>();
engineParameters_[EP_RESOURCE_PATHS] = "CoreData;Data";

#if MOBILE
engineParameters_[EP_ORIENTATIONS] = "Portrait";
engineParameters_[EP_RESOURCE_PREFIX_PATHS] = ";..;../..";
#else
auto fs = context_->GetSubsystem<FileSystem>();
engineParameters_[EP_RESOURCE_PREFIX_PATHS] = fs->GetProgramDir() + ";" + fs->GetCurrentDir() + "../";
#endif

Expand Down

0 comments on commit f3cac0d

Please sign in to comment.