Friendship revoked with httpserver

This commit is contained in:
offtkp 2023-10-20 19:33:37 +03:00
parent 23636b22fa
commit d19a00d97d
2 changed files with 2 additions and 3 deletions

View file

@ -60,7 +60,6 @@ class Emulator {
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
HttpServer httpServer;
friend struct HttpServer;
#endif
#ifdef PANDA3DS_ENABLE_DISCORD_RPC

View file

@ -228,7 +228,7 @@ void HttpServer::startHttpServer() {
}
std::string HttpServer::status() {
HIDService& hid = emulator->kernel.getServiceManager().getHID();
HIDService& hid = emulator->getServiceManager().getHID();
std::stringstream stringStream;
stringStream << "Panda3DS\n";
@ -271,7 +271,7 @@ void HttpServer::processActions() {
return;
}
HIDService& hid = emulator->kernel.getServiceManager().getHID();
HIDService& hid = emulator->getServiceManager().getHID();
while (!actionQueue.empty()) {
std::unique_ptr<HttpAction> action = std::move(actionQueue.front());