Friendship revoked with httpserver
This commit is contained in:
@@ -60,7 +60,6 @@ class Emulator {
|
|||||||
|
|
||||||
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
|
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
|
||||||
HttpServer httpServer;
|
HttpServer httpServer;
|
||||||
friend struct HttpServer;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PANDA3DS_ENABLE_DISCORD_RPC
|
#ifdef PANDA3DS_ENABLE_DISCORD_RPC
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ void HttpServer::startHttpServer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::string HttpServer::status() {
|
std::string HttpServer::status() {
|
||||||
HIDService& hid = emulator->kernel.getServiceManager().getHID();
|
HIDService& hid = emulator->getServiceManager().getHID();
|
||||||
std::stringstream stringStream;
|
std::stringstream stringStream;
|
||||||
|
|
||||||
stringStream << "Panda3DS\n";
|
stringStream << "Panda3DS\n";
|
||||||
@@ -271,7 +271,7 @@ void HttpServer::processActions() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
HIDService& hid = emulator->kernel.getServiceManager().getHID();
|
HIDService& hid = emulator->getServiceManager().getHID();
|
||||||
|
|
||||||
while (!actionQueue.empty()) {
|
while (!actionQueue.empty()) {
|
||||||
std::unique_ptr<HttpAction> action = std::move(actionQueue.front());
|
std::unique_ptr<HttpAction> action = std::move(actionQueue.front());
|
||||||
|
|||||||
Reference in New Issue
Block a user