Skip to content

add recomp::Configuration and ultramodern::MessageQueueControl + plum…#131

Merged
Mr-Wiseguy merged 5 commits intoN64Recomp:mainfrom
gcsmith:message_queue_control
Jan 16, 2026
Merged

add recomp::Configuration and ultramodern::MessageQueueControl + plum…#131
Mr-Wiseguy merged 5 commits intoN64Recomp:mainfrom
gcsmith:message_queue_control

Conversation

@gcsmith
Copy link
Copy Markdown
Contributor

@gcsmith gcsmith commented Jan 14, 2026

Example from Superman 64, which needs to disable PI message requeues due to massive performance regression:

    ultramodern::MessageQueueControl message_queue_control{};
    message_queue_control.requeue_pi = false;

    recomp::Configuration cfg{
        .project_version = project_version,
        .window_handle = {},
        .rsp_callbacks = rsp_callbacks,
        .renderer_callbacks = renderer_callbacks,
        .audio_callbacks = audio_callbacks,
        .input_callbacks = input_callbacks,
        .gfx_callbacks = gfx_callbacks,
        .events_callbacks = thread_callbacks,
        .error_handling_callbacks = error_handling_callbacks,
        .threads_callbacks = threads_callbacks,
        .message_queue_control = message_queue_control,
    };

    recomp::start(cfg);

@Mr-Wiseguy Mr-Wiseguy merged commit 575c8f2 into N64Recomp:main Jan 16, 2026
10 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