Skip to content

Conversation

@LivewireCB
Copy link
Contributor

No description provided.

@github-actions
Copy link

main/SB/Core/x/xTRC

Section From To Bytes
⚠️ .data 100.00% 0.00% --208
⚠️ .rodata 100.00% 0.00% --992
⚠️ .sbss 100.00% 85.71% --3
⚠️ .sdata2 85.71% 0.00% --27
⚠️ .text 78.48% 16.80% --885
Function From To Bytes
⚠️ render_message(const char*) 88.21% 0.00% --335
xTRCReset() 77.78% 77.50% +/-0
⚠️ render_mem_card_no_space(int, int, int, bool) 94.74% 0.00% --147
⚠️ RenderText(const char*, bool) 93.18% 0.00% --402

main/SB/Core/x/xUpdateCull

Section From To Bytes
.text 23.65% 100.00% +1872
Function From To Bytes
xUpdateCull_DistanceSquaredCB(void*, void*) 0.00% 100.00% +120
xUpdateCull_Init(void**, unsigned int, xGroup**, unsigned int) 0.00% 100.00% +1260
xUpdateCull_Update(xUpdateCullMgr*, unsigned int) 0.00% 100.00% +492

main/SB/Core/x/xPtankPool

Section From To Bytes
.text 98.79% 100.00% +31
Function From To Bytes
@unnamed@xPtankPool_cpp@::create_ptank(unsigned int) 84.62% 100.00% +31

main/SB/Game/zNPCHazard

Section From To Bytes
⚠️ .data 4.55% 2.80% --20
⚠️ .rodata 29.82% 17.44% --205
⚠️ .sbss 90.48% 64.71% --24
⚠️ .sdata2 38.82% 33.48% --18
⚠️ .text 50.63% 34.43% --5622
Function From To Bytes
⚠️ NPCHazard::Upd_PuppyNuke(float) 100.00% 0.00% --240
⚠️ NPCHazard::Upd_FodBomb(float) 100.00% 0.00% --252
⚠️ NPCHazard::FodBombBubbles(float) 99.85% 0.00% --247
⚠️ NPCHazard::Upd_CattleProd(float) 98.43% 0.00% --803
⚠️ NPCHazard::Upd_TubeletBlast(float) 94.50% 0.00% --461
⚠️ NPCHazard::Upd_DuploBoom(float) 100.00% 0.00% --208
⚠️ NPCHazard::Upd_TikiThunder(float) 100.00% 0.00% --204
⚠️ NPCHazard::Upd_Mushroom(float) 100.00% 0.00% --272
⚠️ NPCHazard::Upd_TTFlight(float) 98.34% 0.00% --959
⚠️ NPCHazard::ReconTarTar() 94.76% 0.00% --159
⚠️ NPCHazard::Upd_TTSpill(float) 100.00% 0.00% --228
⚠️ NPCHazard::Upd_TTStink(float) 100.00% 0.00% --184
⚠️ NPCHazard::Upd_FunFrag(float) 100.00% 0.00% --328
⚠️ NPCHazard::StreakUpdate(unsigned int, float) 100.00% 0.00% --256
⚠️ NPCHazard::Upd_RoboBits(float) 100.00% 0.00% --360
⚠️ NPCHazard::Upd_VisSplash(float) 100.00% 0.00% --136
⚠️ NPCHazard::VisSplashSparklies() 100.00% 0.00% --324

main/bink/shared/time/radcb

Section From To Bytes
📈 .text 23.80% 63.04% +692
Function From To Bytes
📈 RADCB_register_callback 0.00% 3.70% +4
📈 RADCB_unregister_callback 0.00% 79.05% +135
RADCB_unregister_2_callbacks 4.76% 100.00% +80
RADCB_try_to_suspend_handler 3.57% 100.00% +108
RADCB_resume_handler 99.86% 100.00% +/-0
RADCB_try_to_suspend_callback 2.70% 100.00% +144
RADCB_suspend_callback 3.70% 100.00% +103
RADCB_resume_callback 3.33% 100.00% +116

u32 FrameRateDiv; // frame rate divisor
u32 Frames; // frames in this sample period
u32 FramesTime; // time is ms for these frames
volatile u32 FramesTime; // time is ms for these frames
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good if you could document here or elsewhere why you decided these needed to be marked volatile.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marked with TODO: in bother bink.h and radcb.c

@github-actions
Copy link

main/SB/Core/x/xUpdateCull

Section From To Bytes
.text 23.65% 100.00% +1872
Function From To Bytes
xUpdateCull_DistanceSquaredCB(void*, void*) 0.00% 100.00% +120
xUpdateCull_Init(void**, unsigned int, xGroup**, unsigned int) 0.00% 100.00% +1260
xUpdateCull_Update(xUpdateCullMgr*, unsigned int) 0.00% 100.00% +492

main/SB/Core/x/xPtankPool

Section From To Bytes
.text 98.79% 100.00% +31
Function From To Bytes
@unnamed@xPtankPool_cpp@::create_ptank(unsigned int) 84.62% 100.00% +31

main/bink/shared/time/radcb

Section From To Bytes
📈 .text 23.80% 63.04% +692
Function From To Bytes
📈 RADCB_register_callback 0.00% 3.70% +4
📈 RADCB_unregister_callback 0.00% 79.05% +135
RADCB_unregister_2_callbacks 4.76% 100.00% +80
RADCB_try_to_suspend_handler 3.57% 100.00% +108
RADCB_resume_handler 99.86% 100.00% +/-0
RADCB_try_to_suspend_callback 2.70% 100.00% +144
RADCB_suspend_callback 3.70% 100.00% +103
RADCB_resume_callback 3.33% 100.00% +116

group_data* end = groups + MAX_PGT;
while (it != end)
{
double f = it->max_size - 0.f;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these need to be Heavy Iron-typed? We have F64 for doubles and u32 for unsigned long.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly don't know as I didn't actually do the function, just fixed it. Will update that now.

@github-actions
Copy link

main/SB/Core/x/xUpdateCull

Section From To Bytes
.text 23.65% 100.00% +1872
Function From To Bytes
xUpdateCull_DistanceSquaredCB(void*, void*) 0.00% 100.00% +120
xUpdateCull_Init(void**, unsigned int, xGroup**, unsigned int) 0.00% 100.00% +1260
xUpdateCull_Update(xUpdateCullMgr*, unsigned int) 0.00% 100.00% +492

main/SB/Core/x/xPtankPool

Section From To Bytes
.text 98.79% 100.00% +31
Function From To Bytes
@unnamed@xPtankPool_cpp@::create_ptank(unsigned int) 84.62% 100.00% +31

main/bink/shared/time/radcb

Section From To Bytes
📈 .text 23.80% 63.04% +692
Function From To Bytes
📈 RADCB_register_callback 0.00% 3.70% +4
📈 RADCB_unregister_callback 0.00% 79.05% +135
RADCB_unregister_2_callbacks 4.76% 100.00% +80
RADCB_try_to_suspend_handler 3.57% 100.00% +108
RADCB_resume_handler 99.86% 100.00% +/-0
RADCB_try_to_suspend_callback 2.70% 100.00% +144
RADCB_suspend_callback 3.70% 100.00% +103
RADCB_resume_callback 3.33% 100.00% +116

@JoshSanch JoshSanch merged commit b014145 into bfbbdecomp:main Nov 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants