mirror of https://github.com/mgba-emu/mgba.git
All: Fix indentation errors
This commit is contained in:
parent
5c3229b4fa
commit
c6167470eb
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue