Skip to content

Commit

Permalink
SNES: Fixed broken date/time for Satellaview
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed Oct 19, 2024
1 parent 7107579 commit 860b735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/Config/SnesConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void ApplyConfig()
GsuClockSpeed = this.GsuClockSpeed,
RamPowerOnState = this.RamPowerOnState,
SpcClockSpeedAdjustment = this.SpcClockSpeedAdjustment,
BsxCustomDate = this.BsxCustomDate.Ticks + this.BsxCustomTime.Ticks
BsxCustomDate = BsxUseCustomTime ? (this.BsxCustomDate.ToUnixTimeSeconds() + (long)this.BsxCustomTime.TotalSeconds) : -1
});
}

Expand Down

0 comments on commit 860b735

Please sign in to comment.