Skip to content

Commit

Permalink
Friendship revoked with httpserver
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Oct 20, 2023
1 parent 23636b2 commit d19a00d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion include/emulator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class Emulator {

#ifdef PANDA3DS_ENABLE_HTTP_SERVER
HttpServer httpServer;
friend struct HttpServer;
#endif

#ifdef PANDA3DS_ENABLE_DISCORD_RPC
Expand Down
4 changes: 2 additions & 2 deletions src/http_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit d19a00d

Please sign in to comment.