Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Simplify SGB related UIs and make it possible to use SGB under Gambatte link #3635
base: master
Are you sure you want to change the base?
Simplify SGB related UIs and make it possible to use SGB under Gambatte link #3635
Changes from 27 commits
dd14f8e
5f95a93
f8b294f
eecee30
dd6abbc
7dd40dd
511f48d
2e6f59b
2e534a9
ff268f3
c183e6e
0a3a727
ef87a48
c0ff230
b2a4720
e8aa24a
3786258
0f5cc8d
b910c38
864ee92
c68e9db
c56f047
f148272
cddb113
02746ef
06496c6
3e401db
0e32693
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep this attribute...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and here...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is SGB being removed here? BSNES/BSNESv115 still have it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because for core choosing, the system is only set to
SGB
when the core is bsnes:BizHawk/src/BizHawk.Client.Common/RomLoader.cs
Lines 485 to 490 in 9ee3830
Thinking about it, that's probably logic that could get removed too...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this exactly end up working for say, loading a GBC only ROM into BSNES. Does it proceed to fail completely due to not finding a fallback with the SGB system ID ctor, or does it end up still picking Gambatte with the GBC system ID?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point. It does NOT work currently for that exact reason and instead runs into this code which then no longer makes sense:
BizHawk/src/BizHawk.Client.Common/RomLoader.cs
Line 859 in 9ee3830
This comment was marked as duplicate.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's more to this, and there is already broken behavior currently. I'll make an issue later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#3960
The new issue in question for reference. The way this currently is makes sense with that proposed change.
Resolving.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and here...
Check failure on line 1 in src/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.IEmulator.cs
GitHub Actions / Build solution with analyzers