remove dead code
This commit is contained in:
parent
4f2ca7e393
commit
c3a1b8bdc2
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue