Apply clang-format to files (#5273)

This commit is contained in:
Archez
2025-04-01 22:33:38 -04:00
committed by GitHub
parent e8389e0b2e
commit 8f126344a4
885 changed files with 40384 additions and 36263 deletions
+5 -5
View File
@@ -25,10 +25,10 @@ GameState* gGameState;
// #endregion
// Forward declared, because this in a C++ header.
int gfx_create_framebuffer(uint32_t width, uint32_t height, uint32_t native_width, uint32_t native_height, uint8_t resize);
int gfx_create_framebuffer(uint32_t width, uint32_t height, uint32_t native_width, uint32_t native_height,
uint8_t resize);
void gfx_texture_cache_clear();
void GameState_FaultPrint(void) {
static char sBtnChars[] = "ABZSuldr*+LRudlr";
s32 i;
@@ -486,7 +486,8 @@ void GameState_Destroy(GameState* gameState) {
osSyncPrintf("game デストラクタ終了\n"); // "game destructor end"
// Performing clear skeletons before unload resources fixes an actor heap corruption crash due to the skeleton patching system.
// Performing clear skeletons before unload resources fixes an actor heap corruption crash due to the skeleton
// patching system.
ResourceMgr_ClearSkeletons();
if (ResourceMgr_IsAltAssetsEnabled()) {
@@ -507,8 +508,7 @@ u32 GameState_IsRunning(GameState* gameState) {
return gameState->running;
}
void* GameState_Alloc(GameState* gameState, size_t size, char* file, s32 line)
{
void* GameState_Alloc(GameState* gameState, size_t size, char* file, s32 line) {
void* ret;
if (THA_IsCrash(&gameState->tha)) {