mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-11 21:06:37 -04:00
feat: update HMCLauncher. Closes #1014.
This commit is contained in:
parent
271fb4ce87
commit
ae8600c882
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "java.h"
|
#include "java.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "java.h"
|
#include "java.h"
|
||||||
@ -7,8 +7,8 @@
|
|||||||
Version J8(TEXT("8"));
|
Version J8(TEXT("8"));
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||||
_declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
|
_declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RawLaunchJVM(const std::wstring &javaPath, const std::wstring &workdir,
|
void RawLaunchJVM(const std::wstring &javaPath, const std::wstring &workdir,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user