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

Don't rename mednafen_psx_hw_libretro.so to mednafen_psx_libretro.so #105

Open
crocket opened this issue Mar 19, 2018 · 6 comments
Open

Comments

@crocket
Copy link
Contributor

crocket commented Mar 19, 2018

games-emulation/libretro-info-1.0_pre20171127 contains mednafen_psx_hw_libretro.info.

I want to utilize core options available in mednafen_psx_hw_libretro.info

@stefan-gr
Copy link
Owner

Yes, that's what I was talking about in #104 (comment)
Do you miss core options? The info file has just a different display name and as far as I know, cores provide the options themselves.

@crocket
Copy link
Contributor Author

crocket commented Mar 20, 2018

make it so that hw and sw cores are install-able at the same time.

How?

@stefan-gr
Copy link
Owner

USE flags and a conditional src_compile phase. It requires a little tinkering similar to bsnes-libretro. Let me slap something up with bsnes as a base later and you can test this with beetle-psx-libretro-9999 in the evening or something around that time. If it works out I will apply the changes to the old versions and rename beetle ebuild to mednafen.

@stefan-gr
Copy link
Owner

stefan-gr commented Mar 20, 2018

It's untested, it should install two cores if software and at least opengl or vulkan are in USE.
I also removed append-cppflags -DHAVE_HW in hopes that the Makefile takes care of it it properly.

@crocket
Copy link
Contributor Author

crocket commented Mar 20, 2018

I built mednafen_psx_libretro.so and mednafen_psx_hw_libretro.so with beetle-psx-libretro.
Both cores run Mega Man X4, but the opengl core has some graphical glitches.

I don't know whether some core options can fix glitches, but they work.

Does mednafen_psx_hw_libretro.so handle both opengl and vulcan?

@stefan-gr
Copy link
Owner

Does mednafen_psx_hw_libretro.so handle both opengl and vulcan?

According to the Makefile both seem to be supported at the same time. See:
https://github.com/libretro/beetle-psx-libretro/blob/master/Makefile#L56

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

No branches or pull requests

2 participants