[Scummvm-git-logs] scummvm master -> c4822373b65819a5982f3a5d4b1e60634051036f

sluicebox noreply at scummvm.org
Mon Aug 19 19:05:03 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c4822373b6 WIN32: Fix Win32Plugin by updating for Common::Path


Commit: c4822373b65819a5982f3a5d4b1e60634051036f
    https://github.com/scummvm/scummvm/commit/c4822373b65819a5982f3a5d4b1e60634051036f
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-08-19T12:04:26-07:00

Commit Message:
WIN32: Fix Win32Plugin by updating for Common::Path

Changed paths:
    backends/plugins/win32/win32-provider.cpp


diff --git a/backends/plugins/win32/win32-provider.cpp b/backends/plugins/win32/win32-provider.cpp
index 01bc8579b30..0b4319729b7 100644
--- a/backends/plugins/win32/win32-provider.cpp
+++ b/backends/plugins/win32/win32-provider.cpp
@@ -54,7 +54,7 @@ public:
 
 	bool loadPlugin() override {
 		assert(!_dlHandle);
-		TCHAR *tFilename = Win32::stringToTchar(_filename);
+		TCHAR *tFilename = Win32::stringToTchar(_filename.toString(Common::Path::kNativeSeparator));
 		_dlHandle = LoadLibrary(tFilename);
 		free(tFilename);
 




More information about the Scummvm-git-logs mailing list