Skip to content

Commit

Permalink
Sound: Fix loading music volume value from ff7sound.cfg (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciej-trebacz committed Nov 19, 2023
1 parent 077ff97 commit 7e7f04f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- Lighting: Fixed minor shadow visual glitches occurring in some fields
- Music: Fix overlapping external music tracks when `external_music_resume = false`
- Renderer: Fix black color in some field maps (`spipe2` for example) ( https://github.com/julianxhokaxhiu/FFNx/pull/587 )
- Sound: Fix loading music volume value from ff7sound.cfg
- Voice: Enable tutorial voice acting
- Widescreen: Added experimental support for 16:10 aspect ratio
- Widescreen: Fix Pollensalta attack (only when also using 30/60FPS mode since it is a temporary fix) and Bahamut Zero summon background
Expand Down
2 changes: 1 addition & 1 deletion src/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2825,7 +2825,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
if (ff7sound)
{
if (external_sfx_volume > -1) fread(&external_sfx_volume, sizeof(DWORD), 1, ff7sound);
if (external_sfx_volume > -1) fread(&external_music_volume, sizeof(DWORD), 1, ff7sound);
if (external_music_volume > -1) fread(&external_music_volume, sizeof(DWORD), 1, ff7sound);
fclose(ff7sound);
}
}
Expand Down

0 comments on commit 7e7f04f

Please sign in to comment.