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

neuromancer noreply at scummvm.org
Mon Jan 2 11:49:49 UTC 2023


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:
f3136020e2 PRIVATE: refine platform detection for japanese release


Commit: f3136020e2c43605e9eef9d4186f4c274c5e4641
    https://github.com/scummvm/scummvm/commit/f3136020e2c43605e9eef9d4186f4c274c5e4641
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2023-01-02T08:49:11-03:00

Commit Message:
PRIVATE: refine platform detection for japanese release

Changed paths:
    engines/private/private.cpp


diff --git a/engines/private/private.cpp b/engines/private/private.cpp
index c691ec3e5b0..1af9b947e7e 100644
--- a/engines/private/private.cpp
+++ b/engines/private/private.cpp
@@ -147,7 +147,7 @@ Common::SeekableReadStream *PrivateEngine::loadAssets() {
 
 	delete test;
 
-	if (_language == Common::JA_JPN)
+	if (_platform == Common::kPlatformMacintosh && _language == Common::JA_JPN)
 		file = Common::MacResManager::openFileOrDataFork("xn--16jc8na7ay6a0eyg9e5nud0e4525d");
 	else
 		file = Common::MacResManager::openFileOrDataFork(isDemo() ? "Private Eye Demo Installer" : "Private Eye Installer");




More information about the Scummvm-git-logs mailing list