Compare commits

...

4 Commits

Author SHA1 Message Date
Mr_Goldberg 657a36a21a
Fix build. 2020-05-01 13:25:51 -04:00
Mr_Goldberg 1ff11daf57
Error build if debug steamclient doesn't get built. 2020-05-01 12:24:19 -04:00
Mr_Goldberg 4e3331ddad
Fix lobby search bug when games sets an unsigned value but then searches for a signed value. 2020-05-01 12:23:39 -04:00
Mr_Goldberg 3c02f88b5d
Fix steamclient windows build. 2020-05-01 12:19:41 -04:00
3 changed files with 12 additions and 4 deletions

View File

@ -83,6 +83,7 @@ build_windows:
- wine cmd /c build_win_release.bat
- mkdir 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
- mkdir release/debug_experimental_steamclient
- mv steamclient.dll steamclient64.dll release/debug_experimental_steamclient/

View File

@ -1170,7 +1170,8 @@ void RunCallbacks()
}
} else {
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);
if (f.eComparisonType == k_ELobbyComparisonEqual) {
if (compare_to == f.value_int) {

View File

@ -15,13 +15,19 @@
License along with the Goldberg Emulator; if not, see
<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
#include "base.h"
#include "dll.h"
#ifdef STEAM_WIN32
// Nothing to be done here
#else
#include <dirent.h>
#include <dlfcn.h>