mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2025-02-16 18:19:18 +01:00
Formatting
This commit is contained in:
parent
3d2363d171
commit
e100163172
@ -36,7 +36,6 @@ WUPS_PLUGIN_VERSION("0.1");
|
|||||||
WUPS_PLUGIN_AUTHOR("Maschell");
|
WUPS_PLUGIN_AUTHOR("Maschell");
|
||||||
WUPS_PLUGIN_LICENSE("GPL");
|
WUPS_PLUGIN_LICENSE("GPL");
|
||||||
|
|
||||||
|
|
||||||
char gIconCache[65580] __attribute__((section(".data")));
|
char gIconCache[65580] __attribute__((section(".data")));
|
||||||
ACPMetaXml gLaunchXML __attribute__((section(".data")));
|
ACPMetaXml gLaunchXML __attribute__((section(".data")));
|
||||||
MCPTitleListType template_title __attribute__((section(".data")));
|
MCPTitleListType template_title __attribute__((section(".data")));
|
||||||
@ -53,7 +52,6 @@ INITIALIZE_PLUGIN() {
|
|||||||
gHomebrewLaunched = FALSE;
|
gHomebrewLaunched = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ON_APPLICATION_START(args) {
|
ON_APPLICATION_START(args) {
|
||||||
socket_lib_init();
|
socket_lib_init();
|
||||||
log_init();
|
log_init();
|
||||||
@ -194,8 +192,7 @@ typedef struct __attribute((packed)) {
|
|||||||
uint32_t filesize;
|
uint32_t filesize;
|
||||||
uint32_t fileoffset;
|
uint32_t fileoffset;
|
||||||
char path[256];
|
char path[256];
|
||||||
}
|
} LOAD_REQUEST;
|
||||||
LOAD_REQUEST;
|
|
||||||
|
|
||||||
int32_t getRPXInfoForID(uint32_t id, romfs_fileInfo *info);
|
int32_t getRPXInfoForID(uint32_t id, romfs_fileInfo *info);
|
||||||
|
|
||||||
@ -284,7 +281,6 @@ DECL_FUNCTION(int, FSOpenFile, FSClient *client, FSCmdBlock *block, char *path,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DECL_FUNCTION(FSStatus, FSCloseFile, FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags) {
|
DECL_FUNCTION(FSStatus, FSCloseFile, FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags) {
|
||||||
if (handle == 0x13371337) {
|
if (handle == 0x13371337) {
|
||||||
return FS_STATUS_OK;
|
return FS_STATUS_OK;
|
||||||
@ -306,7 +302,6 @@ DECL_FUNCTION(FSStatus, FSCloseFile, FSClient *client, FSCmdBlock *block, FSFile
|
|||||||
return real_FSCloseFile(client, block, handle, flags);
|
return real_FSCloseFile(client, block, handle, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DECL_FUNCTION(FSStatus, FSReadFile, FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, uint32_t flags) {
|
DECL_FUNCTION(FSStatus, FSReadFile, FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, uint32_t flags) {
|
||||||
if (handle == 0x13371337) {
|
if (handle == 0x13371337) {
|
||||||
int cpySize = size * count;
|
int cpySize = size * count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user