Re: Re: restore_points file

Home › Forums › Help and Support › restore_points file › Re: Re: restore_points file

#27526
aka107
Member

@mylbee wrote:

@rodries wrote:

5000 ??
it’s too much
you are wasting a lot of ram & the wii hasn’t too much, you can have a performance degree or codedumps

Gosh 🙁

At the moment I haven’t tested my .dol

Will be 2000 too high ? What could be the limit of this variable ??

Told me and i would recompile my .dol

Thank for your support and your knowledge

typedef struct st_restore_points restore_points_t;
struct st_restore_points {
char filename[MAXPATHLEN];
int position;
};

1 restore point is about 1kilobyte so 1000 restore points will use about 1MegaByte
I think 1000 is a good value
mem2 is only 64MB and mem1 24MB and restore points are in mem1. A good idea is use mem2 manager to move restore points to mem2 because mem1 is faster and it’s good for mplayer decoding