mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-27 11:02:55 -04:00
Apply clang-format to files (#5273)
This commit is contained in:
+5
-5
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user