MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / execute

Method execute

kernel/cellos/src/sys_uart.cpp:274–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272 }
273
274 void execute(vuart_av_thread &vuart, const void *pkt_buf) override {
275 const auto pkt = static_cast<const ps3av_pkt_enable_event *>(pkt_buf);
276
277 if (vuart.get_reply_buf_free_size() < sizeof(ps3av_pkt_reply_hdr)) {
278 vuart.write_resp(pkt->hdr.cid, PS3AV_STATUS_BUFFER_OVERFLOW);
279 return;
280 }
281
282 vuart.hdmi_events_bitmask |= pkt->event_bit;
283
284 vuart.write_resp(pkt->hdr.cid, PS3AV_STATUS_SUCCESS);
285 }
286};
287
288struct av_disable_event_cmd : public ps3av_cmd {

Callers

nothing calls this directly

Calls 2

write_respMethod · 0.80

Tested by

no test coverage detected