feat: update HMCLauncher. Closes #1014.

This commit is contained in:
huanghongxun 2021-09-20 21:25:28 +08:00
parent 271fb4ce87
commit ae8600c882
5 changed files with 106 additions and 106 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "java.h"
#include "os.h"
#include "version.h"

View File

@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "main.h"
#include "os.h"
#include "java.h"
@ -7,8 +7,8 @@
Version J8(TEXT("8"));
extern "C" {
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
_declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
_declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
}
void RawLaunchJVM(const std::wstring &javaPath, const std::wstring &workdir,