diff --git a/PSXToolchain/psx_build.bat b/PSXToolchain/psx_build.bat index 0152be8d..e1118960 100644 --- a/PSXToolchain/psx_build.bat +++ b/PSXToolchain/psx_build.bat @@ -7,6 +7,13 @@ rem Create a virtual drive SUBST X: %REDRIVER_FOLDER%\PSXToolchain set PATH=%PATH%;X:\mipsel-unknown-elf\bin; + +if exist %REDRIVER_FOLDER%\PSXToolchain\CDSrc\0_CD_DATA\ ( + rem Yes +) else ( + mkdir %REDRIVER_FOLDER%\PSXToolchain\CDSrc\0_CD_DATA\ +) + make rem Cleanup