Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement osViRepeatLine #30

Merged
merged 4 commits into from
Jun 18, 2024
Merged

Implement osViRepeatLine #30

merged 4 commits into from
Jun 18, 2024

Conversation

dcvz
Copy link
Collaborator

@dcvz dcvz commented Jun 2, 2024

Resolves #24

@dcvz dcvz changed the title Implement osViRepeatLine [DRAFT] Implement osViRepeatLine Jun 2, 2024
@@ -17,6 +17,10 @@ extern "C" void osViBlack_recomp(uint8_t* rdram, recomp_context* ctx) {
osViBlack((uint32_t)ctx->r4);
}

extern "C" void osViRepeatLine_recomp(uint8_t* rdram, recomp_context* ctx) {
osViRepeatLine((uint32_t)ctx->r4);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think new functions should use the _arg function instead of accessing the raw registers when possible

Suggested change
osViRepeatLine((uint32_t)ctx->r4);
osViRepeatLine(_arg<0, u8>(rdram, ctx));

@dcvz dcvz force-pushed the feat/vi-repeatline branch from 5f947d4 to 71e299a Compare June 10, 2024 14:28
@dcvz dcvz changed the title [DRAFT] Implement osViRepeatLine Implement osViRepeatLine Jun 10, 2024
@dcvz dcvz force-pushed the feat/vi-repeatline branch from ec3dba7 to 456f6a3 Compare June 18, 2024 20:56
@AngheloAlf AngheloAlf merged commit e94dc40 into main Jun 18, 2024
10 checks passed
@AngheloAlf AngheloAlf deleted the feat/vi-repeatline branch June 18, 2024 21:00
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.

Implement osViRepeatLine
3 participants