Commit Graph

330 Commits

Author SHA1 Message Date
Yotam Barnoy
857f3ab550 PSP: faster way of getting file size
svn-id: r49457
2010-06-06 14:17:37 +00:00
Yotam Barnoy
f7ba7b4684 PSP: fixed issue with handling of EOS. Caused crashes.
svn-id: r49257
2010-05-27 06:11:50 +00:00
Yotam Barnoy
8b54efd8a6 PSP: implemented basic file cache. Turns out the PSP reads 1 byte as fast as it reads 1 KB.
svn-id: r49243
2010-05-26 14:43:25 +00:00
Yotam Barnoy
f036b6b9d2 PSP:Implemented fingolfin's suggestion for cleaning up debugging code
svn-id: r48792
2010-04-25 15:12:24 +00:00
Joost Peters
fe566293e7 remove useless getObjectName() method
svn-id: r48640
2010-04-12 11:43:14 +00:00
Max Horn
87028c546f PSP: Fix code formatting using astyle
svn-id: r48634
2010-04-12 07:28:54 +00:00
Yotam Barnoy
9a2eac7eee PSP: refactoring/redesign of the backend
svn-id: r48632
2010-04-12 06:49:05 +00:00
Johannes Schickel
40562798d6 Fix our DECLARE_SINGLETON macro to conform to the C++ specs.
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-03-13 21:55:49 +00:00
Jordi Vilalta Prat
22e5a557b7 Added the svn:keywords property to some files missing it.
svn-id: r48148
2010-02-27 17:02:58 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Fabio Battaglia
3a418c13a7 remove bad hackery caused by n64 port and avoid polluting StdioStream using a custom Stream subclass
svn-id: r46777
2009-12-30 22:56:19 +00:00
Fabio Battaglia
a108df30a7 Add Nintendo 64 port to trunk.
svn-id: r46773
2009-12-30 21:11:38 +00:00
Torbjörn Andersson
039d7d5e1c Removed unnecessary semi-colons.
svn-id: r46232
2009-12-01 19:19:58 +00:00
Max Horn
fc84e258b2 PS2: Add new PS2FileStream class for std I/O.
* Add new class PS2FileStream as substitute for class StdioStream on PS2
* Remove PS2 specific hacks from stdiostream.cpp / class StdioStream
* Remove various ps2_f*() wrapper funcs, merging them into PS2FileStream

TODO: Merge class Ps2File into PS2FileStream

svn-id: r46111
2009-11-23 23:17:50 +00:00
Max Horn
fe48378eb2 Remove unnecessary #include errno.h
svn-id: r46109
2009-11-23 23:15:44 +00:00
Max Horn
3d342bec3c PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use fputs instead of fprintf
svn-id: r46107
2009-11-23 22:29:39 +00:00
Max Horn
6312da6d13 PS2: cleanup
svn-id: r46105
2009-11-23 22:28:44 +00:00
Max Horn
68ebbf9022 Remove obsolete OSX & NDS specific stuff from StdioStream code
svn-id: r46104
2009-11-23 22:28:14 +00:00
Max Horn
e6dd7e24f2 PS2: Fix warning, use fully qualified path for backend specific header ps2temp.h
svn-id: r44811
2009-10-09 10:03:45 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Max Horn
8f609497ee Backported NDS changes from 1.0.0 branch to trunk
svn-id: r44426
2009-09-27 22:42:21 +00:00
Max Horn
3c8500c149 Patch #2856708: AMIGAOS4: FS updated to new SDK
svn-id: r44338
2009-09-25 09:57:38 +00:00
Joost Peters
6a5bd81599 PSP: improved suspend/resume support [patch from bluddy]
svn-id: r44276
2009-09-23 16:11:23 +00:00
Andre Heider
cd1628f70d Mention mount errors on the status labels.
svn-id: r44202
2009-09-20 11:47:11 +00:00
Torbjörn Andersson
e7469479ce Removed unnecessary semi-colons.
svn-id: r44048
2009-09-13 10:32:55 +00:00
Andre Heider
0b002beccd Support for SMB shares, cleaned up async FS functions.
svn-id: r43965
2009-09-05 17:53:55 +00:00
Joost Peters
62bcb2e51b Commit (slightly) modified version of patch #2831248: Allow suspend/resume for PSP
svn-id: r43477
2009-08-17 12:57:37 +00:00
Joost Peters
aae6c98945 Properly implement PSPFilesystemFactory::makeCurrentDirectoryFileNode()
svn-id: r43404
2009-08-15 10:44:58 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Joost Peters
1a5f531d23 Allow building of psp backend via configure (Part 1 - Still need to add the fixup + EBOOT packing steps).
Thanks dhewg and fingolfin for assistance. :)

svn-id: r39693
2009-03-25 21:58:16 +00:00
Max Horn
b5bcc1a23a Merged Neil's NDS changes into trunk
svn-id: r39526
2009-03-19 09:51:40 +00:00
Max Horn
c7df3e2f7a Applied part of patch #2684986
svn-id: r39398
2009-03-14 17:07:07 +00:00
Max Lingua
344a4f5199 Added more ps2_* pseudo-posix entries for PS2 backend in
fs/stdiostream.cpp to properly support eof / clearerr.

svn-id: r39143
2009-03-06 00:26:48 +00:00
Max Lingua
5df197f579 Oops!
Forgot to commit backends/fs/ps2/ps2-fs.cpp in #36014
 (here it comes!)

svn-id: r39142
2009-03-06 00:24:18 +00:00
Max Lingua
804910c422 - 0.13.x friendly ;-)
- new GUI/themes

- no more funky colors!

- load/delete saved games


- cleaned-up Makefile.PS2 :
- dropped multiple extra paths
- dropped deprecated deps (UCL, MPEG2)


- all possible devices are supported to store, play and save games:

- CD
- HD
- USB
- MC
- REMOTE ! (this could actually be anywhere on the internet
as long as you run "ps2client listen" on the machine on
the other side that hosts the games)


- tested from :
- ps2link
- uLE
- toxicOS


- tested with:
- bass
- bs1
- mi1
- comi
- indy4
- ft
- ite
- ihnm
- elvira1
- dig
- kyra
- lure
- simon2
- goblins1

Played all those games in 1 session using RTL. Very smooth,
sub-second RTL experience. No crash!


- new PAL/NTSC detection : we are now reading the flavor from PS2 ROM,
it should work on all PS2 slim too


- new PAL TV centering : no more missing chunk of games on top/bottom


- we can now read the savefiles from Linux/SDL and other backends!
if you add that you can read them from remote together with the
games that you already have there, you can imagine the fun ;-)


- we fully implement RTL with every games/engine


- we nicely reboot / shutdown on quit


- fully support for themes/savegames paths. Run from MC, play the
games on remote and store your data on USB or HD. No limits!


- universal write/read for every media (of course no write on CD/DVD!)


- fully async / DMA read-write access to every media (even MC!)


- optimized cache/read-ahead for every media - now COMI is fast and
enjoyable from remote as it is from CD ;-)


- non polluting MC storage, just 1 folder + 1 icon, so that you can
copy all your settings / saved games to another MC in one go!

svn-id: r39102
2009-03-04 03:55:00 +00:00
Chris Apers
34add265e9 Fixed PalmOS FSNode which was failing in some cases
svn-id: r39029
2009-03-01 10:28:15 +00:00
Lars Persson
054f1fb514 Slight formatting update
svn-id: r38615
2009-02-20 19:42:19 +00:00
Lars Persson
f3d8087dd3 Updated so z:\ paths will be reported properly as a directory and valid path.
svn-id: r38536
2009-02-19 08:18:50 +00:00
Willem Jan Palenstijn
6abcac40de don't test existence of file in AmigaOSFilesystemNode::getChild (bug #2487481)
svn-id: r36171
2009-02-01 09:49:24 +00:00
Max Horn
de8fa39b25 Fix for bug #2548995: AmigaOS4: Compiler error (and taking care of some potential errors in WinCE & GP2x, too)
svn-id: r36146
2009-01-30 14:26:34 +00:00
Joost Peters
454610ff5a don't append '/' to path in getChildren()
svn-id: r36042
2009-01-24 20:46:20 +00:00
Joost Peters
ab30f44171 fix typo
svn-id: r36041
2009-01-24 20:35:16 +00:00
Max Horn
8f16458e9b Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
2009-01-23 03:41:36 +00:00
Max Horn
72702130d9 DS: Apply an old cleanup patch of mine from last August
svn-id: r36011
2009-01-23 03:06:21 +00:00
Andre Heider
e94378511e made ISO9660 support optional via USE_WII_DI
svn-id: r35985
2009-01-21 19:29:02 +00:00
Andre Heider
57d118e930 Added ISO9660/Joliet DVD support
svn-id: r35930
2009-01-19 23:57:49 +00:00
Andre Heider
964a451e42 Removed slashes as last char from directories
svn-id: r35894
2009-01-18 12:58:06 +00:00
Andre Heider
2e321f7a74 use pointers when passing struct stat
svn-id: r35882
2009-01-17 18:48:35 +00:00
Andre Heider
9f1ac87466 Reuse given stat flags when possible to avoid fstat() calls
svn-id: r35872
2009-01-16 19:32:19 +00:00
Andre Heider
18e67a8ed7 disable buffering for newlib's poor fread() implementation
svn-id: r35675
2009-01-02 18:00:12 +00:00