summaryrefslogtreecommitdiff
path: root/Source/Core/Common/CDUtils.cpp
AgeCommit message (Collapse)Author
2019-10-07Remove obsolete "Windows compatibility" macrosSilent
2019-06-14Common: Use fmt where applicableLioncash
Begins the transition to using fmt for string formatting where applicable. Given fmt supports formatting std::string instances out of the box, we can remove now-unnecessary calls to .c_str() and .data(). Note that this change does not touch the actual logging subsystem aside from converting the final StringFromFormat call in the process over to fmt::format. Given our logging system is heavily used throughout the entire codebase, and converting that over will be quite a large change by itself, this will be tackled near the end of the conversion process.
2018-05-27CDUtils: Remove unused parameter in IsCDROM()Lioncash
It was only ever passed nullptr, and even then, nothing was actually done with the parameter.
2018-05-27CDUtils: Amend function namesLioncash
Amends the function names to follow our coding style.
2018-05-27CDUtils: Namespace code under the Common namespaceLioncash
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-01-21Common: asterisks go against the type namemathieui
not the variable name
2015-09-28Fix building with PCH disabled.Rohit Nirmal
2015-05-25Add missing license headersTillmann Karras
2015-02-25Formatting/Whitespace CleanupStevoisiak
Various fixes to formatting and whitespace
2014-10-21Improve some libcdio CoreFoundation code.comex
I found it via clang complaining about a useless null check on an array, but I decided to get rid of the array in favor of dynamic allocation, as there was no reason to assume a maximum length of 0x32 bytes. Plus, add a CFString type check just in case, and switch to UTF-8 in the off-chance it matters. The result has not actually been tested, as I have no CD drive.
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-07-11mark all local functions as staticdegasus
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-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
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-22Make Common/ 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-17Second and final pass of clearing out tabs.Lioncash
2014-02-13Turn loops into range-based formTillmann Karras
and some things suggested by cppcheck and compiler warnings.
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