summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
AgeCommit message (Collapse)Author
2014-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
2014-03-23Fix a crash that got recently introduced.Ryan Houdek
When CFileSystemGCWii::GetFileName can't find a valid filename it would return nullptr. nullptr as a std::string throws an assert within the std lib. So return an empty string and check if it is empty or not
2014-03-16Simplify file tree building for the filesystem view.Lioncash
Technically this also simplifies on disc filename building in general.
2014-03-15Clean up FileHandlerARC.cpp/.hLioncash
- Removed parentheses from the returns. - Put the function declaration headers back on a single line. - Make FindFileInfo's parameter a const string reference.
2014-03-14Kill off some usages of c_str.Lioncash
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-10Merge pull request #149 from lioncash/filemonitor-song-typesMatthew Parlane
Add more sound file extensions to FileMonitor's IsSoundFile.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-03-09clang-modernize -add-overrideTillmann Karras
2014-03-09clang-modernize -loop-convertTillmann Karras
and some manual adjustments
2014-03-09Add more sound file extensions to FileMonitor's IsSoundFile.Lioncash
2014-03-04Add two other formats to the list of extensions in IsSoundFilelioncash
.adx is used in various games, so this should definitely be here.
2014-03-04Simplify ShowSound() in FileMonitor.cpp.lioncash
Now if more sound types are found, they just need to simply be added to the unordered set. - Also changed ShowSound() to IsSoundFile() - Fixed IsSoundFile’s definition in FileMonitor.h. This whole time it has been defined as a void method, when in reality it was a bool function. - Changed the FileMonitor’s string parameters to be constant references.
2014-02-28Various changes suggested by cppcheckTillmann Karras
- remove unused variables - reduce the scope where it makes sense - correct limits (did you know that strcat()'s last parameter does not include the \0 that is always added?) - set some free()'d pointers to NULL
2014-02-28Fix various warnings reported by clangTillmann Karras
- mostly remove unused variables - rename some generic JIT identifiers
2014-02-22Make DiscIO/ mostly IWYU clean (and fix errors in rest of the project ↵Pierre Bourdon
detected by this change).
2014-02-20Fix more header sorting issues in DiscIO/ (now check-includes clean).Pierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2014-02-16Fix some vertical alignmentsLioncash
ie. uses spaces for alignment.
2014-02-13Kill auto usage in CISOBlob.cpp per request.Jordan Woyak
2014-02-13Fixed issue 7020. CISO >4GB failure. Caused by integer overflow.Jordan Woyak
2014-02-13Turn loops into range-based formTillmann Karras
and some things suggested by cppcheck and compiler warnings.
2014-02-10Replace all include guard ifdefs with "#pragma once"lioncash
2014-02-10Some tidy up of sprintf to StringFromFormatMatthew Parlane
Includes a small fix to SetupWiiMemory
2014-02-09Cleanup enum indentations.Lioncash
2014-02-09Revert "Merge pull request #49 from Parlane/sprintf_tidy"Pierre Bourdon
Change broke the build on Debian stable. This reverts commit 28755439b36ac8e875d764da5db31ad693459ace, reversing changes made to 64e01ec763d21915e7166e625f8a3e85b46fbcbb.
2014-02-08Some tidy up of sprintf to StringFromFormatMatthew Parlane
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre
2013-12-31Convert all vcxproj files to UNIX line endingsJasper St. Pierre
2013-12-07fixed issue 6852.Chanwoong Kim
2013-12-06Add Read16/Read8 to the CBlobBigEndianReader so the key check is reading ↵Ryan Houdek
8bit from the correct location to determin which key to use. Also change check to == 1 as suggested in the IRC channel on first implementation. Potentially fixes 6852.
2013-11-13Fix format string warningsTillmann Karras
2013-11-11Add a comment to the magic value reading location.Ryan Houdek
2013-11-12Fixed a bug that incorrectly recognized as 'GameCube'. when you open the ↵Chanwoong Kim
Korean Wii Disc, which is re-encrypted with a common-key(g_MasterKey).
2013-11-05Fix {Read,Write}FileToString.Matthew Parlane
We should be using binary always.
2013-11-03Run code through clang-modernize -add-override to add 'override' decls.comex
2013-11-03Run code through the advanced tool 'sed' to remove trailing whitespace.comex
2013-11-03Run code through clang-modernize -loop-convert to create range-based for ↵comex
loops, and manually fix some stuff up.
2013-10-31Merge remote-tracking branch 'shuffle2/vc12'comex
Conflicts: Source/Core/Common/Common.vcxproj Source/Core/Common/Common.vcxproj.filters
2013-10-27Wipe all traces of OpenSSL's AES implementation. Use polarssl instead.Ryan Houdek
2013-10-26Update to VS2013 and a slew of build-related updates. Notes:Shawn Hoffman
* Currently there is no DEBUGFAST configuration. Defining DEBUGFAST as a preprocessor definition in Base.props (or a global header) enables it for now, pending a better method. This was done to make managing the build harder to screw up. However it may not even be an issue anymore with the new .props usage. * D3DX11SaveTextureToFile usage is dropped and not replaced. * If you have $(DXSDK_DIR) in your global property sheets (Microsoft.Cpp.$(PlatformName).user), you need to remove it. The build will error out with a message if it's configured incorrectly. * If you are on Windows 8 or above, you no longer need the June 2010 DirectX SDK installed to build dolphin. If you are in this situation, it is still required if you want your built binaries to be able to use XAudio2 and XInput on previous Windows versions. * GLew updated to 1.10.0 * compiler switches added: /volatile:iso, /d2Zi+ * LTCG available via msbuild property: DolphinRelease * SDL updated to 2.0.0 * All Externals (excl. OpenAL and SDL) are built from source. * Now uses STL version of std::{mutex,condition_variable,thread} * Now uses Build as root directory for *all* intermediate files * Binary directory is populated as post-build msbuild action * .gitignore is simplified * UnitTests project is no longer compiled
2013-10-19Clean up includes in DiscIO as much as possible.Lioncash
Also turned a long iterator declaration in VolumeDirectory.cpp to using auto in order to shorten it.
2013-10-19Remove unnecessary include of "../../Core/Src/ConfigManager.h" from ↵Lioncash
BannerLoaderGC.cpp. In actuality, all that was needed here was an include of CommonTypes.h. Also change Common.h to CommonTypes in BannerLoaderWii.cpp.
2013-10-17Basic precompiled header support for Linux/OS X. Shaves 20-30% off full ↵comex
rebuild time on my system.
2013-10-02[Common] Abstract out the decode5A3Image and decodeCI8Image functions in ↵Lioncash
BannerLoaderGC, BannerLoaderWii, and GCMemcard into ColorUtil.cpp. Makes for less copied code and remains functionally the same.
2013-09-28Support a gcm revision-specific game ini for cheats + partially fix gecko ↵comex
codes in default ini. The local ini is not revision-specific because it would require renaming everything. Meh.
2013-09-26No need to std::move a return value. Thanks Billiard.comex
2013-09-252x banner images!comex
2013-09-14proper fix for issue 6206LPFaint99