Reformat to something more readable for me :3
Build libsm64 / Build libsm64 for linux (push) Failing after 28s
Build libsm64 / Build libsm64 for web (push) Failing after 29s
Build libsm64 / Build libsm64 for windows (push) Failing after 23s

This commit is contained in:
2026-05-24 11:31:35 -05:00
parent 4328104536
commit 9ff6947911
141 changed files with 29706 additions and 20450 deletions
+4 -4
View File
@@ -26,7 +26,7 @@ uint8_t *utils_read_file_alloc( const char *path, size_t *fileLength )
{
FILE *f = fopen( path, "rb" );
if( !f ) return NULL;
if( !f ) return nullptr;
fseek( f, 0, SEEK_END );
size_t length = (size_t)ftell( f );
@@ -73,7 +73,7 @@ int main( void )
uint8_t *rom = utils_read_file_alloc( "baserom.us.z64", &romSize );
if( rom == NULL )
if( rom == nullptr )
{
printf("\nFailed to read ROM file \"baserom.us.z64\"\n\n");
return 1;
@@ -94,7 +94,7 @@ int main( void )
free( rom );
RenderState renderState;
renderState.mario.index = NULL;
renderState.mario.index = nullptr;
vec3 cameraPos = { 0, 0, 0 };
float cameraRot = 0.0f;
@@ -144,7 +144,7 @@ int main( void )
if (!controller) // keyboard
{
const Uint8* state = SDL_GetKeyboardState(NULL);
const Uint8* state = SDL_GetKeyboardState(nullptr);
float dir;
float spd = 0;