mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 15:40:33 +00:00
Store all settings in .INI
This commit is contained in:
parent
f85b5e99ed
commit
73f1340afb
14 changed files with 432 additions and 130 deletions
|
@ -1634,6 +1634,7 @@ main(int argc, char *argv[])
|
|||
SystemParametersInfo(SPI_SETSTICKYKEYS, sizeof(STICKYKEYS), &NewStickyKeys, SPIF_SENDCHANGE);
|
||||
#endif
|
||||
|
||||
// This part is needed because controller initialisation overwrites loaded settings.
|
||||
{
|
||||
CFileMgr::SetDirMyDocuments();
|
||||
|
||||
|
@ -1646,6 +1647,10 @@ main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
CFileMgr::SetDir("");
|
||||
|
||||
#ifdef LOAD_INI_SETTINGS
|
||||
LoadINIControllerSettings();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue