* arm9 binaries are automatically patched

git-svn-id: trunk@5634 -
This commit is contained in:
Legolas 2006-12-18 18:43:51 +00:00
parent 8a9d059f60
commit 5f81d9e656

View File

@ -758,6 +758,13 @@ begin
true,false);
end;
if success and (apptype=app_arm9) then
begin
success:=DoExec(FindUtil('ndstool'), '-c ' +
ChangeFileExt(current_module.exefilename^, '.nds') + ' -9 ' +
ChangeFileExt(current_module.exefilename^, preName+target_info.exeext),
true,false);
end;
MakeExecutable:=success; { otherwise a recursive call to link method }
end;