zGameLoop progress / zGame_HackDrawCard - #786
Open
LSLees wants to merge 10 commits into
Open
Conversation
|
| Section | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | .sbss |
49.47% | 64.36% | +33 |
| 📈 | .sdata2 |
86.81% | 89.58% | +4 |
| 📈 | .text |
67.67% | 79.21% | +999 |
| Function | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | zGameLoop() |
0.00% | 35.21% | +663 |
| 📈 | zGame_HackDrawCard(float, float, float, float, RwRaster*) |
0.00% | 92.45% | +336 |
SquareMan
requested changes
Aug 25, 2026
| static S32 zGameLoopContinue(); | ||
| static void zGameUpdateMode(); | ||
| void RwGameCubeSetMinRetraceCount(RwChar); | ||
| void __cvt_dbl_usll(); |
Member
There was a problem hiding this comment.
this is a compiler generated function. Please remove this declaration.
|
|
||
| gGameWhereAmI = eGameWhere_LoopStart; | ||
| zGameStateSwitch(eGameState_Play); | ||
| __cvt_dbl_usll(); |
Member
There was a problem hiding this comment.
as mentioned, this is compiler generated. Taking a quick look at the asm I see it accessing address 0x800000F8 and dividing by 60. Can you try something like
iTime var = (double)OS_TIMER_CLOCK() / 60.0;
|
| Section | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | .sbss |
49.47% | 64.36% | +33 |
| 📈 | .sdata2 |
86.81% | 89.58% | +4 |
| 📈 | .text |
67.67% | 79.20% | +998 |
| Function | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | zGameLoop() |
0.00% | 35.14% | +662 |
| 📈 | zGame_HackDrawCard(float, float, float, float, RwRaster*) |
0.00% | 92.45% | +336 |
main/SB/Game/zTalkBox
| Section | From | To | Bytes | |
|---|---|---|---|---|
| ️ |
.text |
99.09% | 98.13% | --138 |
| Function | From | To | Bytes | |
|---|---|---|---|---|
| ️ |
@unnamed@zTalkBox_cpp@::trigger_sound(const xtextbox::jot&) |
97.95% | 94.91% | --19 |
| ️ |
@unnamed@zTalkBox_cpp@::stop_audio_effect() |
100.00% | 87.38% | --10 |
| ️ |
@unnamed@zTalkBox_cpp@::refresh_prompts() |
100.00% | 96.48% | --12 |
| ️ |
ztalkbox::update_all(xScene&, float) |
100.00% | 95.57% | --16 |
| ️ |
@unnamed@zTalkBox_cpp@::next_state_type::start() |
97.92% | 90.83% | --27 |
| ️ |
@unnamed@zTalkBox_cpp@::wait_state_type::stop() |
97.57% | 93.40% | --11 |
| ️ |
pointer_asset::type_name() |
100.00% | 0.00% | --16 |
| ️ |
location_asset::type_name() |
100.00% | 0.00% | --16 |
| ️ |
xtextbox::layout::jots() const |
100.00% | 0.00% | --8 |
|
| Section | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | .sbss |
49.47% | 64.36% | +33 |
| 📈 | .sdata2 |
86.81% | 89.58% | +4 |
| 📈 | .text |
67.67% | 79.20% | +998 |
| Function | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | zGameLoop() |
0.00% | 35.14% | +662 |
| 📈 | zGame_HackDrawCard(float, float, float, float, RwRaster*) |
0.00% | 92.45% | +336 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.