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

Method execute

kernel/cellos/src/sys_uart.cpp:334–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332 }
333
334 void execute(vuart_av_thread &vuart, const void *pkt_buf) override {
335 const auto pkt = static_cast<const ps3av_header *>(pkt_buf);
336
337 if (vuart.get_reply_buf_free_size() < sizeof(ps3av_pkt_reply_hdr)) {
338 vuart.write_resp(pkt->cid, PS3AV_STATUS_BUFFER_OVERFLOW);
339 return;
340 }
341
342 vuart.write_resp(pkt->cid, PS3AV_STATUS_SUCCESS);
343 }
344};
345
346struct av_get_aksv_list_cmd : public ps3av_cmd {

Callers

nothing calls this directly

Calls 2

write_respMethod · 0.80

Tested by

no test coverage detected