From 1585025b0271addf2fcc6eb2818060794c67c9c3 Mon Sep 17 00:00:00 2001 From: burningtnt Date: Sat, 27 Apr 2024 12:22:20 +0800 Subject: [PATCH] Fix. --- HMCLauncher/HMCL/java.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/HMCLauncher/HMCL/java.h b/HMCLauncher/HMCL/java.h index f628035cfd..969a8ebf4f 100644 --- a/HMCLauncher/HMCL/java.h +++ b/HMCLauncher/HMCL/java.h @@ -11,8 +11,10 @@ const int JAVA_STATUS_BEST = 2; // Java 11 (Include) - ++ void ScanJava(std::wstring& result, int& status); void ScanJavaRegistry(HKEY rootKey, LPCWSTR subKey, std::wstring& path, - int& status); + int& status, std::wstring java8Array[], int& java8Count); -void ScanJavaFolder(std::wstring root, std::wstring& result, int& status); +void ScanJavaFolder(std::wstring root, std::wstring& result, int& status, + std::wstring java8Array[], int& java8Count); -boolean DeterminJavaHome(std::wstring target, std::wstring& result, int& status); \ No newline at end of file +boolean DeterminJavaHome(std::wstring target, std::wstring& result, int& status, + std::wstring java8Array[], int& java8Count); \ No newline at end of file