Permalink
Browse files

scripts: Add some missing code.

  • Loading branch information...
1 parent 2cce192 commit 87f97d21bb37c7366afaba3b17bc0fd924e04770 @jrfonseca jrfonseca committed Dec 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/convert.py
View
4 scripts/convert.py
@@ -37,6 +37,10 @@
def convert(inTrace, outPixrun):
try:
+ programFiles = os.environ['ProgramFiles(x86)']
+ except KeyError:
+ programFiles = os.environ['ProgramFiles']
+ try:
dxsdkDir = os.environ['DXSDK_DIR']
except KeyError:
dxsdkDir = os.path.join(programFiles, "Microsoft DirectX SDL (June 2010)")

0 comments on commit 87f97d2

Please sign in to comment.