[aseprite] 281/308: Find the Steam DLL in the app directory
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 51c939b2106ccfe36a50ae3bfe08dfe3d4d6f9bb
Author: David Capello <davidcapello at gmail.com>
Date: Fri Feb 26 20:19:37 2016 -0300
Find the Steam DLL in the app directory
---
src/steam/steam.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/steam/steam.cpp b/src/steam/steam.cpp
index 89ebd15..f849373 100644
--- a/src/steam/steam.cpp
+++ b/src/steam/steam.cpp
@@ -11,6 +11,8 @@
#include "steam/steam.h"
#include "base/dll.h"
+#include "base/fs.h"
+#include "base/path.h"
#include "base/string.h"
namespace steam {
@@ -33,7 +35,9 @@ typedef void (*SteamAPI_Shutdown_Func)();
class SteamAPI::Impl {
public:
Impl() {
- m_steamLib = base::load_dll(STEAM_API_DLL_FILENAME);
+ m_steamLib = base::load_dll(
+ base::join_path(base::get_file_path(base::get_app_path()),
+ STEAM_API_DLL_FILENAME));
if (!m_steamLib)
return;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list