Version
4.0-4169
Gren
new-zelda-hle
Dato
9 år, 5 måneder siden
Windows x64 Mac OS X Android
Commit
75302f48073406c2a682f21ebeb4cc8f7d3e1d0c
Skift forfatter
Pierre Bourdon
Skift beskrivelse
DSPHLE MailHandler: Synchronize reads and interrupts

This change is meant to solve the following problem: how to translate the
following snippet to DSPHLE:
    SendInterruptAndWaitRead(MAIL_A);
    SendAndWaitRead(MAIL_B);

    SendInterruptAndWaitRead(MAIL_C);

This should cause the following actions on the CPU side:
    ---> Woken up by interrupt
    Reads MAIL_A
    Reads MAIL_B
    <--- Exits interrupt handler

    ---> Woken up by interrupt
    Reads MAIL_C
    <---

But with the current D