MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zMainMemCardQueryPost

Function zMainMemCardQueryPost

src/SB/Game/zMain.cpp:762–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760}
761
762static void zMainMemCardQueryPost(S32 needed, S32 available, S32 neededFiles, S32 unk0)
763{
764 RwCamera* cam = NULL;
765 RwRGBA colour = {};
766 RwInt32 clearMode = 3;
767
768 cam = iCameraCreate(640, 480, 0);
769 RwCameraClear(cam, &colour, clearMode);
770 RwCameraBeginUpdate(cam);
771 render_mem_card_no_space(needed, available, neededFiles, unk0);
772 RwCameraEndUpdate(cam);
773 RwCameraShowRaster(cam, NULL, 1);
774 iCameraDestroy(cam);
775}
776
777void zMainMemCardRenderText(const char* a, bool enabled)
778{

Callers

nothing calls this directly

Calls 3

iCameraCreateFunction · 0.50
render_mem_card_no_spaceFunction · 0.50
iCameraDestroyFunction · 0.50

Tested by

no test coverage detected