aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/teenagent/resources.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/teenagent/resources.h b/engines/teenagent/resources.h
index c82cf75e77..95f0c1c2e4 100644
--- a/engines/teenagent/resources.h
+++ b/engines/teenagent/resources.h
@@ -47,6 +47,12 @@ public:
//void loadOn(Graphics::Surface &surface, int id, uint16 &dst, uint16 *flags);
//void loadOns(Graphics::Surface &surface, int id, uint16 &dst);
+ /*
+ * PSP (as the other sony playstation consoles - to be confirmed and 'ifdef'ed here too)
+ * is very sensitive to the number of simultaneously opened files.
+ * This is an attempt to reduce their number to zero.
+ * TransientFilePack does not keep opened file descriptors and reopens it on each request.
+ */
#ifdef __PSP__
TransientFilePack off, on, ons, lan000, lan500, sam_mmm, sam_sam, mmm;
#else