subs for profiler setup, remove discovery code

This commit is contained in:
DrPerkyLegit
2026-05-21 19:38:53 -04:00
parent 96ac80730a
commit fd43682800
7 changed files with 48 additions and 322 deletions

View File

@@ -3,6 +3,7 @@
#include "Utils/Logger.h"
#include "../Minecraft.Client/Windows64/Windows64_Minecraft.h"
void enableProfiler(std::wstring password, int port);
int main() {
//make things resolve correctly, taken from source and moved
@@ -16,6 +17,11 @@ int main() {
//HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
//SetConsoleMode(hConsole, ENABLE_VIRTUAL_TERMINAL_PROCESSING); //todo: find out why this breaks \n in printf calls
Windows64Minecraft::StartDedicatedServer();
Windows64Minecraft::StartDedicatedServer(enableProfiler);
return 0;
}
}
void enableProfiler(std::wstring password, int port) {
}