8000 Rebase to 0ccd3c84d from upstream by warmenhoven · Pull Request #304 · libretro/mgba · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rebase to 0ccd3c84d from upstream #304

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

Merged
merged 340 commits into from
Jan 12, 2025

Conversation

warmenhoven
Copy link
Collaborator

Tested on macOS and iOS so far. I've confirmed that rumble is fixed (fixes #303).

Only marked as a Draft PR for now because I want to run it through the gitlab builders for all of the platforms before actually having this merged, and the gitlab install is currently down.

endrift added 30 commits April 20, 2024 22:55
This is maintained downstream and not synchronized back upstream
@warmenhoven warmenhoven force-pushed the warmenhoven/pr/rebase branch from c80c0da to 5f6747b Compare January 4, 2025 15:06
@warmenhoven
Copy link
Collaborator Author

@warmenhoven warmenhoven marked this pull request as ready for review January 4, 2025 15:12
Copy link
Collaborator
@endrift endrift left a comment

Choose a reason for hiding this comment

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

Post-merge fixes look fine, though I should probably look into upstreaming them in the long run.

Thanks for taking care of this.

@@ -17,6 +17,7 @@
#endif

#include <mgba-util/vector.h>
#include <mgba-util/vfs.h>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This file is already included on line 6

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep, thanks, this was left over from when I was working through a compilation error after the ENABLE_VFS changes. I've updated the PR with it removed, and the pipeline of course still passes, https://git.libretro.com/libretro/mgba/-/pipelines/326672.

@warmenhoven warmenhoven force-pushed the warmenhoven/pr/rebase branch from 5f6747b to 43243c1 Compare January 5, 2025 05:04
@warmenhoven
Copy link
Collaborator Author

Post-merge fixes look fine, though I should probably look into upstreaming them in the long run.

When taking a look at the diff between mgba-emu/mgba and libretro/mgba, excluding the new files and changes to libretro.c, most of the changes are pretty small and look to me like they shouldn't be controversial. I can put together a quick PR against mgba-emu/mgba that tries to bring them a little closer together if you'd like.

Thanks for taking care of this.

Thanks for the review!

@LibretroAdmin LibretroAdmin merged commit b9907e4 into libretro:master Jan 12, 2025
1 check failed
@MuPendulum
Copy link

Thanks for this!

When I did this in July, I ran into a crash when threaded video was enabled which I bisected to 1ca7544 but I never had the time to look further into. I assume it was likely fixed with your android fix in 72b5a9d.

Here were some changes upstream or downstream made that I had spotted back then if anyone wants to try to reduce the difference from upstream:
https://gist.github.com/MuPendulum/c8067e8cbc722cf59690aaf1be44ed23

src/core/CMakeLists.txt

  • Scripting support was made optional

src/core/core-serialize.c

  • An _MSC_VER check was changed when PS2 support was added and then reverted in a later commit but used a different syntax than upstream

src/gba/sio.c

  • These lines in GBASIOInit were removed in 401bc9e but I'm not sure if there's a libretro fork specific reason for keeping them

src/platform/libretro/libretro.c

  • endrift refactored the low-pass audio filter when she merged it from downstream in f7d594a
  • I'm not sure about the break change for the switch in retro_get_memory_size but it was done during a rebase in a0f0828

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.

Lost Rumble in latest build
0