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

BizhawkClient: set metadata from patch file #4346

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Silvris
Copy link
Collaborator

@Silvris Silvris commented Dec 9, 2024

What is this fixing or adding?

Patch.create_rom_file returns a metadata object such that rom clients can immediately connect to the room tied to the patch file should one exist (ie WebHost). BizhawkClient currently just discards this metadata without properly setting it, so we return the metadata and properly set args.connect from it.

How was this tested?

Hosted a room with MM2 and downloaded the patch file. Patched the file and watched as BizhawkClient was able to connect to the room by itself.

If this makes graphical changes, please attach screenshots.

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant