Update Ring2EXE - GenerateCFile()
@@ -136,8 +136,13 @@ func GenerateCFile cFileName,aOptions
fputs(fp,"0x" + cHex[1] + cHex[2])
nMax = len(cHex)
for x = 3 to nMax step 2
- fputs(fp,",0x"+cHex[x]+cHex[x+1])
+ cCode += ",0x"+cHex[x]+cHex[x+1]
+ if len(cCode) > 100
+ fputs(fp,cCode)
+ cCode = ""
+ ok
next
+ fputs(fp,cCode)
msg("Generation Time : " + ((clock()-nTime)/clockspersecond()) + " seconds...")
fputs(fp, ", EOF" + char(9) + "};"+
"
