Merge pull request #4251 from sum2012/log

Fix Windows logging
This commit is contained in:
Henrik Rydgård 2013-10-20 01:09:24 -07:00
commit fa2846be17

View File

@ -1,6 +1,17 @@
@echo off
IF Not exist .\User md .\User
IF Not exist .\User\Logs md .\User\Logs
IF exist .\User\Logs\ppsspp.log Del .\User\Logs\ppsspp.log
IF exist .\PPSSPPWindows.exe PPSSPPWindows.exe
IF exist .\PPSSPPWindows64.exe PPSSPPWindows64.exe
set LOGFILE=ppsspp.log
del "%LOGFILE%" 2> NUL
if exist PPSSPPWindows64.exe (
PPSSPPWindows64.exe --log="%LOGFILE%"
goto exit
)
if exist PPSSPPWindows.exe (
PPSSPPWindows.exe --log="%LOGFILE%"
goto exit
)
echo Unable to find PPSSPPWindows.exe.
pause
:exit