Skip to content

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

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

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

Conversation

@gcsmith

@gcsmith gcsmith commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

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);

Comment thread ultramodern/src/mesgqueue.cpp Outdated
Comment thread librecomp/src/recomp.cpp
Comment thread ultramodern/src/mesgqueue.cpp
Comment thread ultramodern/include/ultramodern/ultramodern.hpp
Comment thread ultramodern/src/mesgqueue.cpp
Comment thread ultramodern/include/ultramodern/ultramodern.hpp
Comment thread ultramodern/include/ultramodern/ultramodern.hpp Outdated
Comment thread librecomp/src/recomp.cpp
Comment thread ultramodern/include/ultramodern/ultramodern.hpp Outdated
@Mr-Wiseguy Mr-Wiseguy merged commit 575c8f2 into N64Recomp:main Jan 16, 2026
10 checks passed
gcsmith added a commit to gcsmith/N64ModernRuntime that referenced this pull request May 27, 2026
gcsmith added a commit to gcsmith/N64ModernRuntime that referenced this pull request May 27, 2026
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