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

GBAWidget: Use std::span with SetVideoBuffer() #12415

Merged
merged 2 commits into from Dec 13, 2023

Conversation

lioncash
Copy link
Member

Previously we were always taking the buffer by value, even if it wasn't being stored anywhere and only read from.

We can use a std::span for the same thing.

Gets rid of a redundant copy of the video buffer in GBAHost::FrameEnded()

Previously we were always taking the buffer by value, even if it wasn't
being stored anywhere and only read from.

We can use a std::span for the same thing.
@Tilka Tilka merged commit b5d8498 into dolphin-emu:master Dec 13, 2023
11 checks passed
@lioncash lioncash deleted the buffer branch December 13, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants