pub fn wait_for_event(ev: Event, discard_current: bool)
Waits for a GSPGPU event to occur.
discard_current determines whether to discard the current event and wait for the next event
discard_current