mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-22 02:45:49 -04:00
Update Bootstrapper.cpp
This commit is contained in:
parent
be70700349
commit
91ad04b86c
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#include <Windows.h>
|
||||
#include <iostream>
|
||||
#include <array>
|
||||
#include <ghc/filesystem.hpp>
|
||||
|
||||
void showError(std::string const& error) {
|
||||
|
@ -17,7 +18,7 @@ int loadGeode(PVOID module) {
|
|||
}
|
||||
|
||||
DWORD WINAPI load(PVOID module) {
|
||||
std::array<TCHAR, MAX_PATH> szFileName;
|
||||
std::array<TCHAR, MAX_PATH> szFileName;
|
||||
GetModuleFileName(NULL, szFileName.data(), MAX_PATH);
|
||||
|
||||
ghc::filesystem::path path(szFileName.data());
|
||||
|
|
Loading…
Reference in a new issue