All: Fix indentation errors

This commit is contained in:
Vicki Pfau 2021-08-26 03:35:19 -07:00
parent 5c3229b4fa
commit c6167470eb
4 changed files with 13 additions and 13 deletions

View File

@ -252,9 +252,9 @@ typedef intptr_t ssize_t;
#define ATTRIBUTE_NOINLINE
// Adapted from https://stackoverflow.com/a/2390626
#define _CONSTRUCTOR(FN, PRE) \
static void FN(void); \
__declspec(allocate(".CRT$XCU")) void (*_CONSTRUCTOR_ ## FN)(void) = FN; \
static void FN(void)
static void FN(void); \
__declspec(allocate(".CRT$XCU")) void (*_CONSTRUCTOR_ ## FN)(void) = FN; \
static void FN(void)
#ifdef _WIN64
#define CONSTRUCTOR(FN) _CONSTRUCTOR(FN, "")
#else

View File

@ -17,16 +17,16 @@ struct StringList;
struct Table;
struct mUpdaterContext {
struct Configuration manifest;
struct Configuration manifest;
};
struct mUpdate {
const char* path;
size_t size;
int rev;
const char* version;
const char* commit;
const char* sha256;
const char* path;
size_t size;
int rev;
const char* version;
const char* commit;
const char* sha256;
};
bool mUpdaterInit(struct mUpdaterContext*, const char* manifest);

View File

@ -662,7 +662,7 @@ size_t _parseGDBMessage(struct GDBStub* stub, const char* message) {
break;
case 'X':
_writeMemoryBinary(stub, message);
break;
break;
case 'Z':
_setBreakpoint(stub, message);
break;

View File

@ -83,8 +83,8 @@ static Socket _server = INVALID_SOCKET;
int main(int argc, char** argv) {
#ifdef _3DS
UNUSED(_mPerfShutdown);
gfxInitDefault();
osSetSpeedupEnable(true);
gfxInitDefault();
osSetSpeedupEnable(true);
consoleInit(GFX_BOTTOM, NULL);
#elif defined(__SWITCH__)
UNUSED(_mPerfShutdown);