Rev 3695 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3695 | Rev 3697 | ||
---|---|---|---|
Line 104... | Line 104... | ||
104 | 104 | ||
105 | if(LoadOptions[i++]==0){ |
105 | if(LoadOptions[i++]==0){ |
106 | StrCat(FileName,L"\\image.bin"); |
106 | StrCat(FileName,L"\\image.bin"); |
107 | defaultLoad=1; |
107 | defaultLoad=1; |
108 | } |
108 | } |
109 | else{ |
109 | /* else{ |
110 | CHAR16 buf[1024]; |
110 | CHAR16 buf[1024]; |
111 | //buf[0]='\\'; |
111 | //buf[0]='\\'; |
112 | i--; |
112 | i--; |
113 | int j; |
113 | int j; |
114 | for(j=0;LoadOptions[i+j]!=L' '&&LoadOptions[i+j]!=0;j++) |
114 | for(j=0;LoadOptions[i+j]!=L' '&&LoadOptions[i+j]!=0;j++) |
115 | buf[j+1]=LoadOptions[i+j]; |
115 | buf[j+1]=LoadOptions[i+j]; |
116 | buf[j+1]=0; |
116 | buf[j+1]=0; |
117 | StrCat(FileName,buf); |
117 | StrCat(FileName,buf); |
118 | defaultLoad=0; |
118 | defaultLoad=0; |
- | 119 | }*/ |
|
- | 120 | else{ |
|
- | 121 | CHAR16 buf[1024]; |
|
- | 122 | //buf[0]='\\'; |
|
- | 123 | i--; |
|
- | 124 | int j; |
|
- | 125 | for(j=0;LoadOptions[i+j]!=L' '&&LoadOptions[i+j]!=0;j++) |
|
- | 126 | buf[j]=LoadOptions[i+j]; |
|
- | 127 | buf[j+1]=0; |
|
- | 128 | StrCat(FileName,buf); |
|
- | 129 | defaultLoad=0; |
|
119 | } |
130 | } |
120 | 131 | ||
121 | imageLoad=1; |
132 | imageLoad=1; |
122 | #ifdef IMAGE_LINKED |
133 | #ifdef IMAGE_LINKED |
123 | if(defaultLoad) { |
134 | if(defaultLoad) { |