mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-02 10:14:48 +12:00
Remove globals, change conditional compilation, doormat
This commit is contained in:
parent
b8fa5fc86d
commit
57c45cf58a
4 changed files with 15 additions and 12 deletions
|
@ -429,7 +429,7 @@ void Emulator::pollHttpServer() {
|
|||
if (httpServer.pendingAction) {
|
||||
switch (httpServer.action) {
|
||||
case HttpAction::Screenshot: {
|
||||
screenshot(httpServerScreenshotPath);
|
||||
screenshot(HttpServer::httpServerScreenshotPath);
|
||||
break;
|
||||
}
|
||||
case HttpAction::PressKey: {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
|
||||
#include "httpserver.hpp"
|
||||
|
||||
#include <vector>
|
||||
|
@ -97,4 +98,6 @@ void HttpServer::startHttpServer() {
|
|||
server.listen("localhost", 1234);
|
||||
});
|
||||
http_thread.detach();
|
||||
}
|
||||
}
|
||||
|
||||
#endif // PANDA3DS_ENABLE_HTTP_SERVER
|
Loading…
Add table
Add a link
Reference in a new issue