chore: Apply code formatting to entire code base

This commit is contained in:
icex2
2023-04-06 15:39:53 +02:00
committed by icex2
parent 47bfb4e9b2
commit b0564b97c6
15 changed files with 152 additions and 116 deletions
+4 -4
View File
@@ -12,8 +12,8 @@
#include "util/log.h"
#include "util/str.h"
static void* (*real_avs_fs_open)(const char* path, int mode, int flags);
static void* my_avs_fs_open(const char* path, int mode, int flags);
static void *(*real_avs_fs_open)(const char *path, int mode, int flags);
static void *my_avs_fs_open(const char *path, int mode, int flags);
static const struct hook_symbol iidxhook5_ifs_snd_redir_hook_syms[] = {
{.name = "XC058ba50000b6", // avs_fs_open
@@ -21,9 +21,9 @@ static const struct hook_symbol iidxhook5_ifs_snd_redir_hook_syms[] = {
.link = (void **) &real_avs_fs_open},
};
static void* my_avs_fs_open(const char* path, int mode, int flags)
static void *my_avs_fs_open(const char *path, int mode, int flags)
{
void* handle;
void *handle;
char redir_path[MAX_PATH];
// Trap virtual path /sd00/*, /sd01/*, /sd02/*, /sd03/* that contain