Skip to content

Commit

Permalink
Merge pull request #46 from mir-diablo-ii-tools/develop
Browse files Browse the repository at this point in the history
Merge develop into master
  • Loading branch information
IAmTrial authored Jun 9, 2021
2 parents 3fff14e + 0065db2 commit b2fed13
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ When you submit a pull request, you certify that the code in the pull request is
## Thanks
- [/r/SlashDiablo](https://www.reddit.com/r/slashdiablo/): The community that got me started. The whole reason the project took off.
- [PhrozenKeep](https://d2mods.info/): Community with plenty of information on Diablo II, modding, and resources.
- [balrog](https://github.com/bolrog): For providing an extended API to enable interfacing with the D2DX Glide wrapper.
- [bolrog](https://github.com/bolrog): For providing an extended API to enable interfacing with the D2DX Glide wrapper.

## Legal
The project is licensed under the terms of the Affero General Public License, version 3 or higher, with exceptions. Components may be licensed under other terms, so check LICENSE for more details. If you wish to apply for a proprietary license exception, please contact Mir Drualga on the SlashDiablo Discord channel.
Expand Down
8 changes: 4 additions & 4 deletions SlashGaming-Diablo-II-Free-Resolution/resource/resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ SLASH_ICON ICON "slashgaming_game_loader.ico"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,0,2,0
PRODUCTVERSION 3,0,2,0
FILEVERSION 3,0,2,1
PRODUCTVERSION 3,0,2,1
FILEFLAGSMASK 0x3fL // VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS 0x1L // VS_FF_DEBUG|VS_FF_PRIVATEBUILD|VS_FF_PRERELEASE
Expand All @@ -71,7 +71,7 @@ VS_VERSION_INFO VERSIONINFO
{
BLOCK "040904E4" // Lang=US English, CharSet=Windows Multilingual
{
VALUE "Build", "2021-05-01\0"
VALUE "Build", "2021-06-09\0"
VALUE "Comments", "Licensed under Affero GPL v3+.\0"
VALUE "CompanyName", "SlashGaming\0"
VALUE "Developer", "Mir Drualga\0"
Expand All @@ -81,7 +81,7 @@ VS_VERSION_INFO VERSIONINFO
VALUE "LegalTrademarks", "All rights reserved.\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Diablo II Free Resolution\0"
VALUE "ProductVersion", "3.0.2.0\0"
VALUE "ProductVersion", "3.0.2.1\0"
VALUE "SpecialBuild", "\0"
VALUE "Support", "reddit.com/r/SlashDiablo\0"
} // BLOCK "040904E4"
Expand Down
5 changes: 3 additions & 2 deletions SlashGaming-Diablo-II-Free-Resolution/src/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#include <mdc/wchar_t/filew.h>
#include <mjsoni/rapid_json_config_reader.hpp>
#include "compile_time_switch.hpp"
#include "helper/game_resolution.hpp"

namespace sgd2fr::config {
namespace {
Expand Down Expand Up @@ -714,8 +715,8 @@ unsigned int GetIngameResolutionMode() {
kIngameResolutionModeKey
);

if (ingame_resolution_mode > GetIngameResolutions().size()) {
ingame_resolution_mode = kDefaultIngameResolutionMode;
if (ingame_resolution_mode > GetMaxConfigResolutionId()) {
ingame_resolution_mode = GetMinConfigResolutionId();
}
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ _D2Client_GetResolutionRegistryPatch_1_09D_InterceptionFunc01:
ret

_D2Client_GetResolutionRegistryPatch_1_09D_InterceptionFunc03:
; Original code
mov eax, [eax]

push ebp
mov ebp, esp

Expand Down

0 comments on commit b2fed13

Please sign in to comment.