Commit Graph

34 Commits

Author SHA1 Message Date
D G Turner
2615e95768 WII: Fix Variable Shadowing Compiler Warnings. 2017-01-12 05:45:41 +00:00
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Alexander Tkachev
17fc40a944 CLOUD: Add AbstractFSNode::create() backends stubs 2016-08-24 16:07:55 +06:00
Johannes Schickel
3b73ceb17e WII: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
D G Turner
b6e5865fce WII: Add missing dvd interface header for Gamecube build. 2014-01-26 11:19:53 +00:00
D G Turner
08d3b5754a WII: Another fix for Gamecube build. Corrected Disc Interface object. 2014-01-25 21:32:07 +00:00
D G Turner
417f755b90 WII: Fix Gamecube build. Missing ifdef guard for Wii DVD interface. 2014-01-25 18:50:20 +00:00
AReim1982
eff22cb43d WII: Implement changes needed by DevKitPPC R26 and later
This changes makes ScummVM compilable with newer versions of DevKitPPC. ScummVM can be linked against the original libogc and libfat. That makes some newer WiiMotes work, improves audio-/video-playback and contains various improvements.
2014-01-21 16:03:47 +01:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Ori Avtalion
aa0f307e06 ALL: Require DECLARE_SINGLETON to be used in the Common namepsace
Silences the clang warning:

  static data member specialization of '_singleton' must
  originally be declared in namespace 'Common'; accepted as a C++0x
  extension [-Wc++0x-extensions]

Wrapping "namespace Common {}" around the macro assignment causes clang
to complain about a spurious semicolon, and removing the semicolon at
the end of the macro causes some editors to misbehave.

Changing the requirement of using the macro in one namespace (the
global) to another (Common) seems a small price to pay to
silence a warning.
2011-06-30 22:41:41 +03:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
dhewg
b85fc8f190 WII: Fix compilation 2011-05-03 18:27:50 +02:00
Max Horn
2fa63ca015 COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility 2011-05-03 14:30:25 +02:00
Max Horn
91141dae40 WII: Fix fs code compile regressions 2011-05-03 13:32:20 +02:00
Max Horn
f62fd4f25f BACKENDS: Avoid #including .cpp files
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.
2011-05-03 13:22:00 +02:00
Max Horn
abe1959d36 COMMON: Simplify DECLARE_SINGLETON macro
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-11-16 08:23:13 +00:00
Andre Heider
af3dd70938 WII: Fix compilation of the GameCube port.
svn-id: r52089
2010-08-14 11:01:00 +00:00
Andre Heider
c58e2707ff WII: Update port for the current versions of the base libraries. Enable DVD access for the GameCube port.
svn-id: r52074
2010-08-14 00:56:12 +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
Andre Heider
cd1628f70d Mention mount errors on the status labels.
svn-id: r44202
2009-09-20 11:47:11 +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
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
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
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Andre Heider
4feac7a2e0 changes for the new libfat version. the root node now yields a list of all mounted devices
svn-id: r35504
2008-12-23 19:23:11 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
7f18aaf8ec Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out to backends
svn-id: r34304
2008-09-03 12:56:46 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Max Horn
cb21c25e41 FSNode code: Merged most versions of lastPathComponent() into one new AbstractFilesystemNode::lastPathComponent() method, with customizable path separator character
svn-id: r34197
2008-08-27 20:31:22 +00:00
Eugene Sandulenko
5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +00:00