mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2024-11-22 10:39:16 +01:00
Format code and add missing imports
This commit is contained in:
parent
9e5e7ddc23
commit
11e89b04ce
@ -1,10 +1,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "utils/logger.h"
|
#include "utils/logger.h"
|
||||||
|
#include "utils/utils.h"
|
||||||
#include <coreinit/mcp.h>
|
#include <coreinit/mcp.h>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <wuhb_utils/utils.h>
|
#include <wuhb_utils/utils.h>
|
||||||
#include "utils/utils.h"
|
|
||||||
|
|
||||||
class FileInfos {
|
class FileInfos {
|
||||||
public:
|
public:
|
||||||
|
@ -47,7 +47,6 @@ ACPMetaXml gLaunchXML __attribute__((section(".data")));
|
|||||||
MCPTitleListType current_launched_title_info __attribute__((section(".data")));
|
MCPTitleListType current_launched_title_info __attribute__((section(".data")));
|
||||||
BOOL gHomebrewLaunched __attribute__((section(".data")));
|
BOOL gHomebrewLaunched __attribute__((section(".data")));
|
||||||
|
|
||||||
|
|
||||||
std::mutex fileInfosMutex;
|
std::mutex fileInfosMutex;
|
||||||
std::forward_list<std::shared_ptr<FileInfos>> fileInfos;
|
std::forward_list<std::shared_ptr<FileInfos>> fileInfos;
|
||||||
|
|
||||||
@ -238,9 +237,6 @@ void readCustomTitlesFromSD() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
auto repl = "fs:/vol/external01/";
|
auto repl = "fs:/vol/external01/";
|
||||||
auto input = dirList.GetFilepath(i);
|
auto input = dirList.GetFilepath(i);
|
||||||
const char *relativeFilepath;
|
const char *relativeFilepath;
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <forward_list>
|
#include <forward_list>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
#include <memory>
|
||||||
|
#include <mutex>
|
||||||
|
|
||||||
uint32_t hash_string(const char *);
|
uint32_t hash_string(const char *);
|
||||||
|
|
||||||
@ -29,4 +31,3 @@ bool remove_locked_first_if(std::mutex &mutex, std::forward_list<T, Allocator> &
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user