remove dead code

This commit is contained in:
Sylvain Gadrat 2023-06-21 20:23:06 +02:00 committed by contact@brokestudio.fr
parent 4f2ca7e393
commit c3a1b8bdc2
2 changed files with 0 additions and 22 deletions

View File

@ -1438,26 +1438,6 @@ void BrokeStudioFirmware::clearFiles(uint8 drive) {
}
}
template<class I>
void BrokeStudioFirmware::sendMessageToServer(I begin, I end) {
#if RAINBOW_DEBUG >= 1
FCEU_printf("RAINBOW message to send: ");
for (I cur = begin; cur < end; ++cur) {
FCEU_printf("%02x ", *cur);
}
FCEU_printf("\n");
#endif
if (this->socket != nullptr) {
size_t message_size = end - begin;
std::vector<uint8> aggregated;
aggregated.reserve(message_size);
aggregated.insert(aggregated.end(), begin, end);
this->socket->sendBinary(aggregated);
this->socket->poll();
}
}
template<class I>
void BrokeStudioFirmware::sendUdpDatagramToServer(I begin, I end) {
#if RAINBOW_DEBUG >= 1

View File

@ -266,8 +266,6 @@ private:
void _loadFiles(uint8 drive, char const* filename);
void clearFiles(uint8 drive);
template<class I>
void sendMessageToServer(I begin, I end);
template<class I>
void sendUdpDatagramToServer(I begin, I end);
template<class I>