mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
coreinit: Clean up time functions
This commit is contained in:
parent
c714e8cb6b
commit
ec2d7c086a
16 changed files with 40 additions and 51 deletions
|
@ -304,7 +304,7 @@ void SaveImportWindow::OnImport(wxCommandEvent& event)
|
|||
auto new_node = info_node.append_child("account");
|
||||
new_node.append_attribute("persistentId").set_value(new_persistend_id_string.c_str());
|
||||
auto timestamp = new_node.append_child("timestamp");
|
||||
timestamp.text().set(fmt::format("{:016x}", coreinit::coreinit_getOSTime() / ESPRESSO_TIMER_CLOCK).c_str()); // TODO time not initialized yet?
|
||||
timestamp.text().set(fmt::format("{:016x}", coreinit::OSGetTime() / ESPRESSO_TIMER_CLOCK).c_str()); // TODO time not initialized yet?
|
||||
|
||||
if(!doc.save_file(saveinfo.c_str()))
|
||||
cemuLog_log(LogType::Force, "couldn't insert save entry in saveinfo.xml: {}", _pathToUtf8(saveinfo));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue