Open rosefloase opened 1 year ago
Only cores that support achievements are available in the Manage Cores window. The Dolphin core is not supported. According to our documention, it does not generate video in RALibretro.
I've figured out why it doesn't generate video using RenderDoc.
The Dolphin OpenGL renderer binds a sampler that uses a filtering type that expects mipmaps, and the texture that Dolphin renders to doesn't have mipmaps, so the render to the screen fails. I added some code to reset the sampler. This is the result.
Also, the core seems to be exposing one big chunk of internal memory, where the extended RAM for the Wii is disconnected from the main RAM. The stuff in between won't be in the memory map, so the core will be expected to implement RETRO_ENVIRONMENT_SET_MEMORY_MAPS
. The big chunk should be okay for GameCube games as the GameCube RAM is the first region within the big chunk.
Something to consider is exposing ARAM (Auxiliary RAM) for GC. ARAM is an extra 16 MB of RAM used mainly by the DSP for audio but sometimes used for other things by games. It's not connected to the main CPU bus, so it wouldn't be exposed in Memmap.cpp, but the pointer can be obtained in DSP.cpp. On the Wii this is just an alias to its Extended RAM.
Another thing to consider is Dolphin's ability to give "more RAM" to the game. This is a dangerous hack, most games do not query for the amount of RAM available and this just does nothing, some games do but end up immediately crashing sometime after bootup, or otherwise just become very unstable, and for a few games this has some benefits (for preventing some OOM crashes). It mainly is used for randos and other kinds of hacks which need more memory. If it is decided to allow this setting, then the memory map would need to be made to account for the maximum values given here, 24 -> 64 MB for main RAM and 64 -> 128 MB for the Wii's extended RAM.
Heyo peoples..
Currently,, the Dolphin emulator is not displayed in the "Manage Cores" window in settings. I'm pretty sure that RALibretro uses normal Libretro cores.. if they dont,, then it would just be something nice to have in the future.. I'm also kinda new to RALibretro,, if that wasn't obvious enough
This image is a screenshot of the context menu within the Manage Cores window