use crate::{emu, structures};

pub fn GetSystemTime(emu: &mut emu::Emu) {
    let out_time = emu.regs().rcx;

    log_red!(emu, "kernel32!GetSystemTime ptr: 0x{:x}'", out_time);

    let systime = structures::SystemTime::now();
    systime.save(out_time, &mut emu.maps);
}
