mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
more
This commit is contained in:
@@ -621,18 +621,6 @@ typedef struct {
|
||||
UINT8 reserved[8];
|
||||
} ext_space_info_t;
|
||||
|
||||
#if defined (WIN32) && !defined(HX_DOS)
|
||||
intptr_t hret=0;
|
||||
void EndRunProcess() {
|
||||
if(hret) {
|
||||
DWORD exitCode;
|
||||
GetExitCodeProcess((HANDLE)hret, &exitCode);
|
||||
if (exitCode==STILL_ACTIVE)
|
||||
TerminateProcess((HANDLE)hret, 0);
|
||||
}
|
||||
ctrlbrk=false;
|
||||
}
|
||||
|
||||
char res1[CROSS_LEN] = {0}, res2[CROSS_LEN], *result;
|
||||
const char * TranslateHostPath(const char * arg, bool next = false) {
|
||||
result = next ? res2: res1;
|
||||
@@ -679,6 +667,18 @@ const char * TranslateHostPath(const char * arg, bool next = false) {
|
||||
return result;
|
||||
}
|
||||
|
||||
#if defined (WIN32) && !defined(HX_DOS)
|
||||
intptr_t hret=0;
|
||||
void EndRunProcess() {
|
||||
if(hret) {
|
||||
DWORD exitCode;
|
||||
GetExitCodeProcess((HANDLE)hret, &exitCode);
|
||||
if (exitCode==STILL_ACTIVE)
|
||||
TerminateProcess((HANDLE)hret, 0);
|
||||
}
|
||||
ctrlbrk=false;
|
||||
}
|
||||
|
||||
void HostAppRun() {
|
||||
char comline[256], *p=comline;
|
||||
char winDirCur[512], winDirNew[512], winName[256], dir[CROSS_LEN+15];
|
||||
|
Reference in New Issue
Block a user