| 60 | } |
| 61 | |
| 62 | void execute(vuart_av_thread &vuart, const void *pkt_buf) override { |
| 63 | const auto pkt = static_cast<const ps3av_header *>(pkt_buf); |
| 64 | |
| 65 | if (vuart.get_reply_buf_free_size() < sizeof(ps3av_pkt_reply_hdr)) { |
| 66 | vuart.write_resp(pkt->cid, PS3AV_STATUS_BUFFER_OVERFLOW); |
| 67 | return; |
| 68 | } |
| 69 | |
| 70 | vuart.hdmi_events_bitmask = 0; |
| 71 | |
| 72 | vuart.write_resp(pkt->cid, PS3AV_STATUS_SUCCESS); |
| 73 | } |
| 74 | }; |
| 75 | |
| 76 | struct av_get_monitor_info_cmd : public ps3av_cmd { |
nothing calls this directly
no test coverage detected