| 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 | |
| 307 | struct av_tv_mute_cmd : public ps3av_cmd { |
nothing calls this directly
no test coverage detected