diff options
author | Andre Heider | 2009-01-03 19:20:24 +0000 |
---|---|---|
committer | Andre Heider | 2009-01-03 19:20:24 +0000 |
commit | 043ddf0ae6566d94e928b4b1341ca2521cdd1a23 (patch) | |
tree | e17ba3e3e15c0a38fd2b6d345344a455459d9dcd /backends/platform/wii | |
parent | efcfada33e3a7c7129a5c8d6a96cee9a815db8e8 (diff) | |
download | scummvm-rg350-043ddf0ae6566d94e928b4b1341ca2521cdd1a23.tar.gz scummvm-rg350-043ddf0ae6566d94e928b4b1341ca2521cdd1a23.tar.bz2 scummvm-rg350-043ddf0ae6566d94e928b4b1341ca2521cdd1a23.zip |
tweak the cache values for better video streaming
svn-id: r35708
Diffstat (limited to 'backends/platform/wii')
-rw-r--r-- | backends/platform/wii/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/wii/main.cpp b/backends/platform/wii/main.cpp index 097f23a47c..c1c403bdd8 100644 --- a/backends/platform/wii/main.cpp +++ b/backends/platform/wii/main.cpp @@ -74,7 +74,7 @@ int main(int argc, char *argv[]) { printf("fatInitDefault failed\n"); } else { #ifdef LIBFAT_READAHEAD_CACHE - fatSetReadAheadDefault(8, 128); + fatSetReadAheadDefault(16, 32); #else printf("read ahead cache not available\n"); #endif @@ -100,7 +100,9 @@ int main(int argc, char *argv[]) { printf("shutdown\n"); +#ifdef LIBFAT_READAHEAD_CACHE fatUnmountDefault(); +#endif if (power_btn_pressed) { printf("shutting down\n"); |