summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeGC.cpp
AgeCommit message (Collapse)Author
2015-06-08Volume: Add prefer_long parameter to GetNamesJosJuice
GC games with long names store two variations of the name in opening.bnr. This makes the shorter of those names available. For volumes other than GC discs, prefer_long is ignored.
2015-06-07Merge pull request #2512 from JosJuice/bnr-size-matchRyan Houdek
VolumeGC: Check that opening.bnr size matches type
2015-06-04Volume: Return volume type as an enumJosJuice
ISOFile and GameFile were using IsWiiDisc() and IsWadFile() to set an enum value. The volume might as well return an enum directly. I increased the Qt CACHE_REVISION because m_platform now is saved as u32 instead of int, but increasing the wx CACHE_REVISION is not necessary.
2015-06-03VolumeGC: Check that opening.bnr size matches typeJosJuice
The old code would accept files with BNR1 length and BNR2 type, which can be a problem when GetNames tries to read the extra BNR2 strings.
2015-05-29Volume: Use more appropriate types for some returned valuesJosJuice
Disc number is changed from bool to u8, and revision is changed from int to u16 (WADs can use all 16 bits, but discs can only use 8 bits).
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-11Volume: Rename GetName to GetInternalNameJosJuice
This is intended to better separate it from GetNames and to clarify that this name originally wasn't meant to be shown to users. The ISOProperties GUI is also updated, mainly because labeling the long banner name "short name" was confusing.
2015-04-28Get rid of banner loaders and move their functionality to volumesJosJuice
Having some data available in banner loaders and some other data data available in volumes gets messy, especially with GetNames(), which is available in both but returns different results depending on which one is used. This change drops support for reading names and descriptions from Wii save data.
2015-04-23Return GetNames languages, to avoid hardcoded language lists in callersJosJuice
This makes the code cleaner and also leads to some user-visible changes: The wx game properties will no longer let the user select WAD languages that don't have any names. The Qt game list will now display names using the languages set in the configuration instead of always using English for PAL GC games and Japanese for WADs. If a WAD doesn't have a name in the user's preferred language, English is now selected as a fallback before Japanese.
2015-02-28DiscIO: Get rid of unsafe castStevoisiak
2015-02-26De-capitalized CountryCodeStevoisiak
2015-02-11Don't use revision-specific unique ID strings outside of CoreParameterJosJuice
2014-12-28DiscIO: Replace "raw" functions with "decrypt" parametersJosJuice
This is intended to make decryption look less implicit in the code.
2014-11-14Implement GetRevision() for wii disks.Rachel Bryk
2014-10-07VolumeGC: Use regular return type declaration for GetStringDecoderLioncash
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-09-02Merge pull request #893 from rohitnirmal/scan-build-fixesshuffle2
Scan build fixes
2014-08-31DiscIO: Move some raw pointers over to unique_ptrLioncash
2014-08-27Initialize variables to silence garbage return warning from scan-build.Rohit Nirmal
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-02-22Make DiscIO/ mostly IWYU clean (and fix errors in rest of the project ↵Pierre Bourdon
detected by this change).
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-10Some tidy up of sprintf to StringFromFormatMatthew Parlane
Includes a small fix to SetupWiiMemory
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