mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-16 13:23:31 +00:00
small bug fix
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include <fstream>
|
||||
#include <Psapi.h>
|
||||
void DAS(){
|
||||
/*int i = 0;
|
||||
int i = 0;
|
||||
std::ifstream f(GetEN(), std::ios::binary);
|
||||
f.seekg(0, std::ios_base::end);
|
||||
std::streampos fileSize = f.tellg();
|
||||
@@ -19,10 +19,10 @@ void DAS(){
|
||||
DAboard();
|
||||
}
|
||||
if(i)DAboard();
|
||||
f.close();*/
|
||||
f.close();
|
||||
}
|
||||
void DASM(){ //A mirror to have 2 independent checks
|
||||
/*int i = 0;
|
||||
int i = 0;
|
||||
std::ifstream f(GetEN(), std::ios::binary);
|
||||
f.seekg(0, std::ios_base::end);
|
||||
std::streampos fileSize = f.tellg();
|
||||
@@ -31,7 +31,7 @@ void DASM(){ //A mirror to have 2 independent checks
|
||||
DAboard();
|
||||
}
|
||||
if(i)DAboard();
|
||||
f.close();*/
|
||||
f.close();
|
||||
}
|
||||
DWORD getParentPID(DWORD pid){
|
||||
HANDLE h = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
|
||||
|
||||
Reference in New Issue
Block a user