Compare commits
4 Commits
0f6ae7f09e
...
657a36a21a
Author | SHA1 | Date |
---|---|---|
Mr_Goldberg | 657a36a21a | |
Mr_Goldberg | 1ff11daf57 | |
Mr_Goldberg | 4e3331ddad | |
Mr_Goldberg | 3c02f88b5d |
|
@ -83,6 +83,7 @@ build_windows:
|
||||||
- wine cmd /c build_win_release.bat
|
- wine cmd /c build_win_release.bat
|
||||||
- mkdir release/debug_experimental
|
- mkdir release/debug_experimental
|
||||||
- mv steam_api.dll steam_api64.dll release/debug_experimental/
|
- mv steam_api.dll steam_api64.dll release/debug_experimental/
|
||||||
|
- rm -f steamclient.dll steamclient64.dll
|
||||||
- wine cmd /c build_win_debug_experimental_steamclient.bat
|
- wine cmd /c build_win_debug_experimental_steamclient.bat
|
||||||
- mkdir release/debug_experimental_steamclient
|
- mkdir release/debug_experimental_steamclient
|
||||||
- mv steamclient.dll steamclient64.dll release/debug_experimental_steamclient/
|
- mv steamclient.dll steamclient64.dll release/debug_experimental_steamclient/
|
||||||
|
|
|
@ -1170,7 +1170,8 @@ void RunCallbacks()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
int compare_to = std::stoi(value->second, 0, 0);
|
PRINT_DEBUG("%s\n", value->second.c_str());
|
||||||
|
int compare_to = std::stoll(value->second, 0, 0);
|
||||||
PRINT_DEBUG("Compare Values %i %i\n", compare_to, f.value_int);
|
PRINT_DEBUG("Compare Values %i %i\n", compare_to, f.value_int);
|
||||||
if (f.eComparisonType == k_ELobbyComparisonEqual) {
|
if (f.eComparisonType == k_ELobbyComparisonEqual) {
|
||||||
if (compare_to == f.value_int) {
|
if (compare_to == f.value_int) {
|
||||||
|
|
12
dll/wrap.cpp
12
dll/wrap.cpp
|
@ -15,13 +15,19 @@
|
||||||
License along with the Goldberg Emulator; if not, see
|
License along with the Goldberg Emulator; if not, see
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#if defined(WIN64) || defined(_WIN64) || defined(__MINGW64__)
|
||||||
|
#define __WINDOWS_64__
|
||||||
|
#elif defined(WIN32) || defined(_WIN32) || defined(__MINGW32__)
|
||||||
|
#define __WINDOWS_32__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__WINDOWS_32__) || defined(__WINDOWS_64__)
|
||||||
|
// Nothing to be done here
|
||||||
|
#else
|
||||||
#define STEAM_API_FUNCTIONS_IMPL
|
#define STEAM_API_FUNCTIONS_IMPL
|
||||||
#include "base.h"
|
#include "base.h"
|
||||||
#include "dll.h"
|
#include "dll.h"
|
||||||
|
|
||||||
#ifdef STEAM_WIN32
|
|
||||||
// Nothing to be done here
|
|
||||||
#else
|
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
Loading…
Reference in New Issue