diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-16 14:55:48 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-16 14:55:48 +0200 |
| commit | 63d2e9d409831aa8582787234cae4741847504b7 (patch) | |
| tree | 595fae753d2eb293437226eaab2eed208463f132 /results/scraper/box64/1010 | |
| parent | 2843bb65aeaeb86eb89bf3d9690db61b9dc6306e (diff) | |
| download | qemu-analysis-box64.tar.gz qemu-analysis-box64.zip | |
add box64 bug reports box64
Diffstat (limited to 'results/scraper/box64/1010')
| -rw-r--r-- | results/scraper/box64/1010 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/results/scraper/box64/1010 b/results/scraper/box64/1010 new file mode 100644 index 000000000..554a3d077 --- /dev/null +++ b/results/scraper/box64/1010 @@ -0,0 +1,25 @@ +Force GLES context similar to box86 implementation +Hello. + +I'm looking to add functionality to box64, similar to what's in box86, which forces a GLES context. I believe it will help getting some games running on the Odroid Go Ultra and clones with the JELOS firmware. I've done a POC forcing the ES context by modifying SDL2, which resolves the initial issue of not being able to find a GL context, but then has a Rubiks cube effect, breaking things further along I think. The modification on box86 was made by JonnyOnFlame and can be found here: + +https://github.com/ptitSeb/box86/pull/455/commits/fb79a9eb2297cf2f819e1f60757b64586d37959e + +I've given it a go with some basic adaptions but I'm no C programmer. There are a couple of issues when it comes to compilation. + +The first one is the following line. It's commented out elsewhere in the box64 codebase so I think it's globally defined now and can be removed? +`sdl2_my_t *my = (sdl2_my_t *)emu->context->sdl2lib->priv.w.p2;` + +Error is: +`error: \u2018library_t\u2019 {aka \u2018struct library_s\u2019} has no member named \u2018priv\u2019 + 594 | sdl2_my_t *my = (sdl2_my_t *)emu->context->sdl2lib->priv.w.p2;` + +The second one I'm not sure what to do with and hoping you could give some insight: +`int (*SDL_GL_SetAttribute_p)(uint32_t, int) = dlsym(emu->context->sdl2lib->priv.w.lib, "SDL_GL_SetAttribute");` + +Error is: +`error: \u2018library_t\u2019 {aka \u2018struct library_s\u2019} has no member named \u2018priv\u2019 + 613 | int (*SDL_GL_SetAttribute_p)(uint32_t, int) = dlsym(emu->context->sdl2lib->priv.w.lib, "SDL_GL_SetAttribute");` + + + Thanks for taking the time and I appreciate your work, it's an absolute marvel! \ No newline at end of file |