Code: Select all
snes9x: $(SNES9X_OBJ) @echo [LD] [email protected] @$(CXX) $(LIBDIRS) $(LDFLAGS) -o [email protected] $^ confTool/confTool: $(CONFTOOL_OBJ) @echo [LD] [email protected] @$(CXX) $(LIBDIRS) $(LDFLAGS) -o [email protected] $^
Code: Select all
snes9x: $(SNES9X_OBJ) @echo [LD] [email protected] @$(CXX) -o [email protected] $^ $(LIBDIRS) $(LDFLAGS) confTool/confTool: $(CONFTOOL_OBJ) @echo [LD] [email protected] @$(CXX) -o [email protected] $^ $(LIBDIRS) $(LDFLAGS)
Great!! I don't understand why it works better in this order but I'll test and do the update.kalehrl wrote:I managed to cross-compile[...]
\o/kalehrl wrote:Hi Chep
I just tested the snes9x with the change you made in kalehrl-keyboard branch and I'm happy to report that my keyboard now works.
However, I noticed a significant audio lag which I think affect all games.
I tested Aladdin and Donkey Kong Country so far.
I think this is a bad initialization/use of ALSA. Soft resampling or something like that. With exactly the same code but using oss, sound is ok. I'm working on it. I need to read the manual.kalehrl wrote:Yes, the delay is a better word for it.
The audio is 1s late approximately.
First, I cross compiled it and noticed the delay.
To be sure it's not the fault of cross compilation, I compiled it on my raspi and got the exact same result.
Debian packaging is in TODO list. Raspbian users will be able to use debian tools to get all dependencies resolved and to install/remove snes9x easily.Tchaly wrote:I just needed to download those package : libsdl1.2-dev, libsdl-ttf2.0-dev, libboost-serialization-dev (and perhaps some others libboost-*)
How do you get source code and do compile? Can you paste whole build output?jUjU142 wrote:Is this project still under developement? I'm trying to get this running on XBMC with Rom Collection Browser but I am very....very new to linux. Are there new packages I need before trying to compile?
"/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'"
I'm probably doing something...massively? wrong, pardon my ignorance.
This is a pulseaudio function. Are you using palerider version? If you do, this could be a oss emulation issue. If not, I'll have to install pulseaudio and deal with it...jUjU142 wrote:Assertion 'l' failed at pulsecore/flist.c:168, function pa_flist_pop(). Aborting.
Thanks for feedback. That's strange, I don't need this flag (just tested after a make clean). I use 1.49 boost libraries, maybe this is an intern dependency in 1.50 version. I'll add the flag to be sure. I'll also make a good readme and debian packaging.sgtslaughter wrote:Anyways in the end I had to make a change to the Makefile and add in "-lboost_system" to the LDFLAGS line.
I'll test this week end.kalehrl wrote:When loading savestate, the keyboard no longer works.
Fwiw, I also found I had to add -lboost_system to get it to compile. I'm using Arch linux, so I don't know if that has its libraries set up slightly differently to raspbian.sgtslaughter wrote: Anyways in the end I had to make a change to the Makefile and add in "-lboost_system" to the LDFLAGS line.
Hope this helps someone. Thanks everyone for all the hard work to get to this point.
I just did itkalehrl wrote:Hi Chep
I have a suggestion where to place input.config.
Why not put it in .snes96_snapshots folder?
This folder is created by snes9x anyway so maybe it is better for it to be there than where the binary is.