Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final updates #26

Merged
merged 1 commit into from
Jun 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/gamestarfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ QString GameStarfield::description() const

MOBase::VersionInfo GameStarfield::version() const
{
return VersionInfo(1, 1, 0, VersionInfo::RELEASE_CANDIDATE);
return VersionInfo(1, 1, 0, VersionInfo::RELEASE_FINAL);
}

QList<PluginSetting> GameStarfield::settings() const
Expand Down
4 changes: 2 additions & 2 deletions src/starfieldsavegame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ void StarfieldSaveGame::fetchInformationFields(
unsigned int version;
// file.read(fileID, 12);
headerSize = file.readInt(12);
saveNumber = file.readInt();
saveVersion = file.readChar();
version = file.readInt();
saveVersion = file.readChar();
saveNumber = file.readInt();
file.read(playerName);

unsigned int temp;
Expand Down
4 changes: 3 additions & 1 deletion src/starfieldunmanagedmods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ StarfieldUnmanagedMods::parseContentCatalog() const
"/ContentCatalog.txt");
std::map<QString, StarfieldUnmanagedMods::ContentCatalog> contentCatalog;
if (content.open(QIODevice::OpenModeFlag::ReadOnly)) {
auto contentData = content.readAll();
auto contentData = content.readAll();
QString convertedData = QString::fromLatin1(contentData);
contentData = convertedData.toUtf8();
QJsonParseError jsonError;
QJsonDocument contentDoc = QJsonDocument::fromJson(contentData, &jsonError);
if (jsonError.error) {
Expand Down
Loading