nakijun / zengl

Automatically exported from code.google.com/p/zengl
0 stars 0 forks source link

Log on iOS #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Log is not working on iOS because the bundle folder does not have writing 
permitions.

All save data must be inside /documents folder. I have change in zgl_log this 
code from appWorkDir to appHomeDir and now log is working! =)

   {$IFDEF iOS}
  if not Assigned( logFile ) Then
    logFile := u_GetPChar( appHomeDir + 'log.txt' )
  {$ENDIF}   

Original issue reported on code.google.com by wagenhei...@gmail.com on 26 Apr 2011 at 11:21

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1165.

Original comment by dr.andru@gmail.com on 27 Apr 2011 at 5:08

GoogleCodeExporter commented 9 years ago
Yeah, I know, seems I just forgot about this and didn't commit all last 
changes... :)

Original comment by dr.andru@gmail.com on 27 Apr 2011 at 5:09