Closed SimpleTease closed 4 years ago
actually better not move the jni, it's some android crap...
I'm wondering. https://github.com/Javanaise/mrboom-libretro/blob/3bdbc0cc127dcf0c55e984c7b7fccea20c629575/Makefile.common#L44-L48
Should this be?
ifeq ($(LIBSDL2),)
ifeq ($(LIBSDL),)
Although I see this later. So libretro-common should be on root level. https://github.com/Javanaise/mrboom-libretro/blob/3bdbc0cc127dcf0c55e984c7b7fccea20c629575/Makefile.common#L85-L99
Should retro_data.h
and retro_music_data.h
be moved into libretro also? Like sdl1/2?
No they're both for libretro:
#ifdef __LIBRETRO__
#include <audio/audio_mixer.h>
#include <audio/conversion/float_to_s16.h>
static float * fbuf = NULL;
static int16_t * ibuf = NULL;
static audio_mixer_sound_t *musics[NB_CHIPTUNES];
#ifndef LOAD_FROM_FILES
#include "retro_data.h"
#include "retro_music_data.h"
#endif
I had a second thought, maybe you could try jni too. there are some makefiles in there and you should fix the .gitlab-ci,yml
I moved retro_* into libretro folder and it compiles.
I had a second thought, maybe you could try jni too. there are some makefiles in there and you should fix the .gitlab-ci,yml
I think you should ask @twinaphex. I'm not familiar with the internals of buildbot. Libretro has some rules sometimes.
OK no worries, should we merge? did you check the SDL2 is still OK?
It's safer if you check SDL2. It should be good. But. I have different experiences sometimes, so I can't offer fail-proof guarantee.
It's easy you need to make clean first though, then make mrboom LIBSDL2=1
I think jni
can be moved around safely. I can compile Android so I'll follow-up.
https://github.com/libretro/desmume/blob/master/.gitlab-ci.yml
https://github.com/libretro/desmume/pull/37/commits/2c72cd037e4907fbeff9cfcd3e2a00a09b6c177e
some stuff into libretro-common are also beeing used by the SDL versions I think.
Yep, so we should not move libretro-common, on the contrary the jni directory is pure retrolib