pub unsafe extern "C" fn gspSetEventCallback(
    id: GSPGPU_Event,
    cb: ThreadFunc,
    data: *mut c_void,
    oneShot: bool
)
Expand description

Configures a callback to run when a GSPGPU event occurs.

§Arguments

  • id - ID of the event.
  • cb - Callback to run.
  • data - Data to be passed to the callback.
  • oneShot - When true, the callback is only executed once. When false, the callback is executed every time the event occurs.