Hitnrun
Member
- Joined
- Mar 1, 2008
- Messages
- 427
I've read that SD cards have a limited write life-time.
For Zelda Classic, I need a 70mb memory chunk for the bigger quests, I allocated a 70mb file on the SD, and used mmap to simulate memory to the application. In the beginning, it writes like hell, totally randomly everywhere to the file, but after this initial load, writes are rare. But this 70mb writing is fierce, and takes about 3 minutes.
Seems to be working, but is this too heavy on the card? Could I be sued by user for making their SD cards lifetime smaller?
For Zelda Classic, I need a 70mb memory chunk for the bigger quests, I allocated a 70mb file on the SD, and used mmap to simulate memory to the application. In the beginning, it writes like hell, totally randomly everywhere to the file, but after this initial load, writes are rare. But this 70mb writing is fierce, and takes about 3 minutes.
Seems to be working, but is this too heavy on the card? Could I be sued by user for making their SD cards lifetime smaller?