-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
lr-mgba.sh: enable lr-mgba for GB and GBC (SGB also supported) #2366
Conversation
If this change gets merged and the binary updated, I will update the Wiki to include BIOS file information too, similar to the PSX Wiki page. |
local def=1 | ||
isPlatform "armv6" && def=0 | ||
addEmulator $def "$md_id" "gba" "$md_inst/mgba_libretro.so" | ||
addSystem "gba" | ||
for system in gb gbc gba; do |
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.
You should ensure the system
variable is local scope
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.
oh forgot that, thanks for spotting.
for system in gb gbc gba; do | ||
mkRomDir "$system" | ||
ensureSystemretroconfig "$system" | ||
addEmulator "$def" "$md_id" "$system" "$md_inst/mgba_libretro.so" |
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.
I'm not certain if @joolswills wants this patch included at all, but if so, perhaps he can chime in on whether the previous defaults should be preserved, or if all three systems should use lr-mgba
as set by this patch (I think not).
Perhaps the correct thing to do is to follow the same approach/logic than for
Then I can rework the patch to achieve this style of behaviour for the Game Boy consoles:
How does this sound? Edit:
I've been using |
Hi @psyke83 , @joolswills , did you have any chance to review this PR? |
I will add this as an alternative but I am not going to change any defaults currently. |
Good stuff. Do you want me to refactor this PR accordingly? |
If you would like - please squash the commits also. alternatively I am happy to implement it when I next have some time. |
No problem from my side, I was also planning to squash the commits. Will update shortly. Thanks for the feedback. |
Thanks. |
d3f91bc
to
a58f172
Compare
Update the PR now:
I will update the Wiki after this is merged too. Thanks! |
Thanks |
@joolswills , before I forget , it is possible to also update the binary for lr-mgba to be up-to-date to its current master? Thanks! |
Can do. It was updated a few weeks ago btw. |
Great, should be fine then. When you have time, it won't hurt if you update again just in case. |
Hi @joolswills , sorry to bring this up again. Looks like users in the forum are needing to update |
As mentioned in #2295,
lr-mgba
is mature enough now to support GB/GBC/SGB as well as GBA.I've been using it for several weeks now and all works fine. The emulator detects the system type automatically and can use all BIOSes available, even Super Gameboy.
The emulation speed in my standard-configured RPI3 is very satisfactory too.
This is for the
master
upstream repository oflr-mgba
, used when you install it from source.I strongly suggest the binary version in RetroPie is updated too to make all work out-of-the-box.
The following BIOS files were used for testing each system type:
I kept the original logic used to set the emulator as default, e.g. set it as default in non
armv6
platforms.This should keep users of slow hardware unaffected if they are using
lr-gambatte
already.