melonDS icon indicating copy to clipboard operation
melonDS copied to clipboard

Emulate time

Open SuuperW opened this issue 4 years ago • 8 comments

New config option allows use of emulated clock, rather than taking the time from the host system.

SuuperW avatar Jan 29 '21 00:01 SuuperW

the option needs to be exposed in the qt gui

RSDuck avatar Jan 29 '21 00:01 RSDuck

What about #616?

RayyanAnsari avatar Jan 29 '21 12:01 RayyanAnsari

The option is now available in the gui. It has failed the build checks, though. It looks like it is using QT 5.12, but my new code requires version 5.14. This can be solved by either updating to use version 5.14 (I wouldn't know how to do this.) or I can update the code, as I believe there are deprecated functions that can do the same thing.

@WaluigiWare64 that's an old one. This is the same thing, except compatible with the latest version. I've closed the old one.

SuuperW avatar Jan 29 '21 15:01 SuuperW

hm according to the log the Ubuntu x64 build is failing because the QT version on the package manager is too old (https://doc.qt.io/qt-5/qdate.html#startOfDay seems to be 5.14+ while the version is 5.12).

RSDuck avatar Feb 06 '21 17:02 RSDuck

Yeah I think the best option would be to use some alternative function.

RayyanAnsari avatar Feb 21 '21 19:02 RayyanAnsari

https://code.woboq.org/qt5/qtbase/src/corelib/time/qdatetime.cpp.html#_ZNK5QDate10startOfDayEN2Qt8TimeSpecEi

RSDuck avatar Feb 23 '21 01:02 RSDuck

can we merge this?

RSDuck avatar Feb 25 '21 00:02 RSDuck

#208

nathanielcwm avatar Apr 11 '21 02:04 nathanielcwm