mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix timezone issues with time overrides
This commit is contained in:
parent
c030fb656f
commit
ffa7e9b8d2
1
CHANGES
1
CHANGES
|
@ -26,6 +26,7 @@ Bugfixes:
|
|||
- GB Serialize: Fix deserializing video STAT
|
||||
- Qt: Fix GL display when loading a game from CLI (fixes mgba.io/i/843)
|
||||
- GB, GBA Savedata: Fix savestate-related save overwriting (fixes mgba.io/i/834)
|
||||
- Qt: Fix timezone issues with time overrides
|
||||
Misc:
|
||||
- GBA Timer: Use global cycles for timers
|
||||
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
|
||||
|
|
|
@ -63,10 +63,10 @@ void SensorView::setController(std::shared_ptr<CoreController> controller) {
|
|||
m_controller = controller;
|
||||
connect(m_ui.timeNoOverride, &QAbstractButton::clicked, controller.get(), &CoreController::setRealTime);
|
||||
connect(m_ui.timeFixed, &QRadioButton::clicked, [controller, this] () {
|
||||
controller->setFixedTime(m_ui.time->dateTime());
|
||||
controller->setFixedTime(m_ui.time->dateTime().toUTC());
|
||||
});
|
||||
connect(m_ui.timeFakeEpoch, &QRadioButton::clicked, [controller, this] () {
|
||||
controller->setFakeEpoch(m_ui.time->dateTime());
|
||||
controller->setFakeEpoch(m_ui.time->dateTime().toUTC());
|
||||
});
|
||||
m_ui.timeButtons->checkedButton()->clicked();
|
||||
|
||||
|
|
|
@ -96,9 +96,6 @@
|
|||
<property name="displayFormat">
|
||||
<string>MM/dd/yy hh:mm:ss AP</string>
|
||||
</property>
|
||||
<property name="timeSpec">
|
||||
<enum>Qt::UTC</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
|
Loading…
Reference in New Issue