use crate::emu;

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

    log_red!(
        emu,
        "kernel32!SetUnhandledExceptionFilter  callback: 0x{:x}",
        callback
    );

    emu.regs_mut().rax = emu.seh();
    emu.set_seh(callback);
}
