Another TCHAR substitution for char to fix Qt6 build error.
This commit is contained in:
parent
eb1393367e
commit
c1d6d7f4cf
|
@ -233,10 +233,10 @@ int fceuExecutablePath( char *outputPath, int outputSize )
|
||||||
outputPath[0] = 0;
|
outputPath[0] = 0;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
TCHAR fullPath[2048];
|
char fullPath[2048];
|
||||||
TCHAR driveLetter[3];
|
char driveLetter[3];
|
||||||
TCHAR directory[2048];
|
char directory[2048];
|
||||||
TCHAR finalPath[2048];
|
char finalPath[2048];
|
||||||
|
|
||||||
GetModuleFileName(NULL, fullPath, 2048);
|
GetModuleFileName(NULL, fullPath, 2048);
|
||||||
_splitpath(fullPath, driveLetter, directory, NULL, NULL);
|
_splitpath(fullPath, driveLetter, directory, NULL, NULL);
|
||||||
|
|
Loading…
Reference in New Issue