| 3835 | } |
| 3836 | |
| 3837 | bool VMManager::WriteBytesToEESIORXFIFO(const std::span<const u8> data) |
| 3838 | { |
| 3839 | if(ee_sio_rx_fifo.size() + data.size() > 1024) |
| 3840 | { |
| 3841 | Console.Warning("EE RX FIFO is full, not appending more bytes."); |
| 3842 | return false; |
| 3843 | } |
| 3844 | |
| 3845 | ee_sio_rx_fifo.insert(ee_sio_rx_fifo.end(), data.begin(), data.end()); |
| 3846 | return true; |
| 3847 | } |