MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / WriteBytesToEESIORXFIFO

Method WriteBytesToEESIORXFIFO

pcsx2/VMManager.cpp:3837–3847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3835}
3836
3837bool 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}

Callers

nothing calls this directly

Calls 5

sizeMethod · 0.45
WarningMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected