Skip to content

implement "recomp" wrappers for string.h functions #55

@blackgamma7

Description

@blackgamma7

Would it be possible/reasonable to wrap any functions labeled as those found in the string.h library by loading the registers directly into the native counterpart? example:

void strlen_recomp(uint8_t* rdram, recomp_context* ctx) {
    ctx->r2=(uint32_t)std::strlen((char*)MEM_W(0x0, ctx->r4));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions