Thread with 9 posts
jump to expanded postwhy does touchHLE's app support improve when I return relative rather than absolute paths for the document directory and app bundle. why do apps seemingly rely on this. surely Foundation/CoreFoundation don't actually do this? I can't reproduce it on a real device. surely…
I have lost weeks of my life to trying to debug this and crashes related to it.
if I don't do this, the apps use what would be valid absolute paths, but which have a missing leading slash. which surely indicates a bug somewhere. how could this possibly work on the real OS. surely—
…
oh.
screams
iOS. the only operating system where many games accidentally remove the leading slash from absolute paths and still work.
@hikari how did that even pass approval?
@mangofu who would think to check for it?
@hikari apps allocating short fixed buffers that won’t overflow with the full path on real ios but do overflow with the full path of your project folder?
@0xabad1dea you'd think so, but it's definitely not a buffer overflow issue. the paths I'm using are the right size
@saagar EXACTLY