feat: add system time offset setting (#6139)
* Add setting for system time offset Add a setting to displace citra system time by days, hours, minutes or seconds Add UI for the setting which is only visible when clock is set to system time Change core/settings.h to include the setting * Add system time offset to kernel Actually makes use of the time offset. * Fix time offset calculatioon in core/movie.cpp * Replace C++20 chrono::days with seconds Hopefully fixes the build.
This commit is contained in:
parent
3b6ffd9c27
commit
64062162c6
7 changed files with 138 additions and 11 deletions
|
@ -163,6 +163,7 @@ struct Values {
|
|||
int region_value;
|
||||
InitClock init_clock;
|
||||
u64 init_time;
|
||||
s64 init_time_offset;
|
||||
|
||||
// Renderer
|
||||
bool use_gles;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue