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

Method execute

kernel/cellos/src/sys_uart.cpp:293–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 }
292
293 void execute(vuart_av_thread &vuart, const void *pkt_buf) override {
294 const auto pkt = static_cast<const ps3av_pkt_enable_event *>(pkt_buf);
295
296 if (vuart.get_reply_buf_free_size() < sizeof(ps3av_pkt_reply_hdr)) {
297 vuart.write_resp(pkt->hdr.cid, PS3AV_STATUS_BUFFER_OVERFLOW);
298 return;
299 }
300
301 vuart.hdmi_events_bitmask &= ~pkt->event_bit;
302
303 vuart.write_resp(pkt->hdr.cid, PS3AV_STATUS_SUCCESS);
304 }
305};
306
307struct av_tv_mute_cmd : public ps3av_cmd {

Callers

nothing calls this directly

Calls 2

write_respMethod · 0.80

Tested by

no test coverage detected