mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 09:37:56 -05:00
Convert old logging calls to new logging macros
This commit is contained in:
@ -23,7 +23,7 @@ namespace Loader {
|
||||
*/
|
||||
FileType IdentifyFile(const std::string &filename) {
|
||||
if (filename.size() == 0) {
|
||||
ERROR_LOG(LOADER, "invalid filename %s", filename.c_str());
|
||||
LOG_ERROR(Loader, "invalid filename %s", filename.c_str());
|
||||
return FileType::Error;
|
||||
}
|
||||
|
||||
@ -55,7 +55,7 @@ FileType IdentifyFile(const std::string &filename) {
|
||||
* @return ResultStatus result of function
|
||||
*/
|
||||
ResultStatus LoadFile(const std::string& filename) {
|
||||
INFO_LOG(LOADER, "Loading file %s...", filename.c_str());
|
||||
LOG_INFO(Loader, "Loading file %s...", filename.c_str());
|
||||
|
||||
switch (IdentifyFile(filename)) {
|
||||
|
||||
@ -83,7 +83,7 @@ ResultStatus LoadFile(const std::string& filename) {
|
||||
// Raw BIN file format...
|
||||
case FileType::BIN:
|
||||
{
|
||||
INFO_LOG(LOADER, "Loading BIN file %s...", filename.c_str());
|
||||
LOG_INFO(Loader, "Loading BIN file %s...", filename.c_str());
|
||||
|
||||
FileUtil::IOFile file(filename, "rb");
|
||||
|
||||
|
Reference in New Issue
Block a user