[Scummvm-git-logs] scummvm master -> 989e7f8a0e0db532f9ae82741d9f88a4b0f74149

aquadran noreply at scummvm.org
Tue Nov 19 20:06:01 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:
989e7f8a0e WINTERMUTE: Tune font size to match original in routine.dll plugin


Commit: 989e7f8a0e0db532f9ae82741d9f88a4b0f74149
    https://github.com/scummvm/scummvm/commit/989e7f8a0e0db532f9ae82741d9f88a4b0f74149
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-11-19T21:05:55+01:00

Commit Message:
WINTERMUTE: Tune font size to match original in routine.dll plugin

Changed paths:
    engines/wintermute/ext/dll_routine.cpp


diff --git a/engines/wintermute/ext/dll_routine.cpp b/engines/wintermute/ext/dll_routine.cpp
index c20e9083bfc..126dd2a9f10 100644
--- a/engines/wintermute/ext/dll_routine.cpp
+++ b/engines/wintermute/ext/dll_routine.cpp
@@ -70,7 +70,7 @@ bool EmulateRoutineExternalCalls(BaseGame *inGame, ScStack *stack, ScStack *this
 	if (strcmp(function->name, "GetDPI") == 0) {
 		stack->correctParams(0);
 
-		stack->pushInt(96); // standard Windows settings 96 DPI
+		stack->pushInt(120); // standard Windows settings is 96 DPI, but 120 match original game
 
 		return STATUS_OK;
 	}




More information about the Scummvm-git-logs mailing list