Add mroe default cases to the thread switch

This commit is contained in:
angie 2024-06-21 09:02:44 -04:00
parent 296673fd29
commit a73154baae

View file

@ -356,6 +356,10 @@ namespace zelda64 {
case 254: case 254:
name += "VIMGR"; name += "VIMGR";
break; break;
default:
name += std::to_string(t->id);
break;
} }
break; break;
@ -372,6 +376,10 @@ namespace zelda64 {
case 127: case 127:
name += "FAULT"; name += "FAULT";
break; break;
default:
name += std::to_string(t->id);
break;
} }
break; break;
@ -504,7 +512,17 @@ int main(int argc, char** argv) {
.get_game_thread_name = zelda64::get_game_thread_name, .get_game_thread_name = zelda64::get_game_thread_name,
}; };
recomp::start({}, rsp_callbacks, renderer_callbacks, audio_callbacks, input_callbacks, gfx_callbacks, thread_callbacks, error_handling_callbacks, threads_callbacks); recomp::start(
{},
rsp_callbacks,
renderer_callbacks,
audio_callbacks,
input_callbacks,
gfx_callbacks,
thread_callbacks,
error_handling_callbacks,
threads_callbacks
);
NFD_Quit(); NFD_Quit();