aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/psp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibilityMax Horn
2011-05-03PSP: Fix more forbidden symbol clashesMax Horn
2011-05-03BACKENDS: Avoid #including .cpp filesMax Horn
So far, the various *-fs-factory.cpp files were #including the corresponding *-fs.cpp files. This is surprising and hence could lead to all kinds of problems). To fix this, provide proper headers for the *-fs.cpp files. This also makes code reuse via subclassing possible. Since not all ports were tested, this will likely lead to a few easy to fix compile regressions.
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-18COMMON: Change wrapBufferedWriteStream() to always disposes wrapped streamMax Horn
This is the only we need right now, and it saves a few bytes per instance. The template approach I used before has the drawback that it increases the binary size, which negates the benefit. Thanks to LordHoto for pointing this out. svn-id: r54344
2010-11-18COMMON: Make implementation of Buffered*Stream classes internalMax Horn
svn-id: r54326
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-09-14PSP: remove virtual inheritance of BufferedWriteStream and ↵Yotam Barnoy
BufferedSeekableReadStream As Max pointed out to me, one can't really use virtual functions called from constructors/destructors. svn-id: r52722
2010-08-25PSP: fixed flag to open()Yotam Barnoy
I was missing a flag (PSP_O_TRUNC) causing the config file to be opened on top of the old file, causing file corruption. svn-id: r52387
2010-08-24PSP: switched to using BufferedSeekableReadStream and BufferedWriteStreamYotam Barnoy
The last PSP optimization made reading much faster, but writing isn't buffered so saving the config file was VERY slow. I decided the cleanest way to do this would be to add BWS and use BSRS. svn-id: r52327
2010-08-22PSP: switched from stdio to psp functions -- dramatic speed improvementYotam Barnoy
Turns out that stdio is about 30x(!) slower than using the PSP's functions. Very significant optimization. svn-id: r52271
2010-06-15PSP: fixed up PowerManager and removed dependency on SDLYotam Barnoy
svn-id: r49852
2010-06-06PSP: faster way of getting file sizeYotam Barnoy
svn-id: r49457
2010-05-27PSP: fixed issue with handling of EOS. Caused crashes.Yotam Barnoy
svn-id: r49257
2010-05-26PSP: implemented basic file cache. Turns out the PSP reads 1 byte as fast as ↵Yotam Barnoy
it reads 1 KB. svn-id: r49243
2010-04-25PSP:Implemented fingolfin's suggestion for cleaning up debugging codeYotam Barnoy
svn-id: r48792
2010-04-12remove useless getObjectName() methodJoost Peters
svn-id: r48640
2010-04-12PSP: Fix code formatting using astyleMax Horn
svn-id: r48634
2010-04-12PSP: refactoring/redesign of the backendYotam Barnoy
svn-id: r48632
2010-03-13Fix our DECLARE_SINGLETON macro to conform to the C++ specs.Johannes Schickel
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-23PSP: improved suspend/resume support [patch from bluddy]Joost Peters
svn-id: r44276
2009-09-13Removed unnecessary semi-colons.Torbjörn Andersson
svn-id: r44048
2009-08-17Commit (slightly) modified version of patch #2831248: Allow suspend/resume ↵Joost Peters
for PSP svn-id: r43477
2009-08-15Properly implement PSPFilesystemFactory::makeCurrentDirectoryFileNode()Joost Peters
svn-id: r43404
2009-03-25Allow building of psp backend via configure (Part 1 - Still need to add the ↵Joost Peters
fixup + EBOOT packing steps). Thanks dhewg and fingolfin for assistance. :) svn-id: r39693
2009-01-24don't append '/' to path in getChildren()Joost Peters
svn-id: r36042
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-03Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out ↵Max Horn
to backends svn-id: r34304
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-08-27FSNode code: Merged most versions of lastPathComponent() into one new ↵Max Horn
AbstractFilesystemNode::lastPathComponent() method, with customizable path separator character svn-id: r34197
2008-02-24Don't #include the FS factory implementations in common/system.cpp; rather, ↵Max Horn
rely on the build system to include them svn-id: r30957
2008-02-23Renamed AbstractFilesystemFactory to FilesystemFactoryMax Horn
svn-id: r30935
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-17implement exists(), isReadable() and isWritable() stubs using access()Joost Peters
svn-id: r30537
2007-10-17fix compile after recent fs code renameJoost Peters
svn-id: r29229
2007-10-07Commit of patch #1804861. It implements a static lastPathComponent() ↵David Corrales
function in each backend, used to extract the last path component of a given path, returned by getName(). svn-id: r29159
2007-09-19rename psp_fs.cpp to psp-fs.cpp (as per the naming convention)Joost Peters
svn-id: r28963
2007-09-19_displayName now contains the last path component, not the full pathJoost Peters
svn-id: r28962
2007-09-18Fix linker issues when doing a plugin build, and (hopefully) also on WindowsMax Horn
svn-id: r28950
2007-09-18Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵Max Horn
compilation on some ports) svn-id: r28944
2007-08-01Initial commit of the new BaseFile implementation. It provides a common ↵David Corrales
ground for file objects across platforms and divides responsibilities between the Common::File class and a base file implementation. Also rearranged the factories into a new directory for clarity. Note 1: The posix-file.h and cpp files are for testing only. Only the ds, ps2 and symbian architecture will use special BaseFile based objects. Note 2: The current code does not yet make use of this new structure, since the Common::File remains intact. svn-id: r28395
2007-07-09Update the interfaces for the getChildren method to include the hidden flag.David Corrales
Also added some missing method stubs to the gamecard dc port. svn-id: r27984
2007-06-04Added stubs for the exists(), isReadable() and isWritable() methods for all ↵David Corrales
architectures. svn-id: r27087
2007-06-04Added a missing include in non-POSIX factories.David Corrales
For the POSIX and Windows architectures, added exists(), isReadable() and isWritable() svn-id: r27073