Removed some fake testing files. Now only initialize SDL's video and joystick systems - this avoids audio conflicts with RetroArch.

This commit is contained in:
Aloshi 2012-07-23 16:47:30 -05:00
parent 59ca4f301a
commit 21bd83d5b2
4 changed files with 8 additions and 8 deletions

View file

View file

View file

@ -9,11 +9,11 @@
int main() int main()
{ {
if(SDL_Init(SDL_INIT_EVERYTHING) != 0) if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) != 0)
{ {
std::cerr << "Error - could not initialize SDL!\n"; std::cerr << "Error - could not initialize SDL!\n";
std::cerr << " " << SDL_GetError() << "\n"; std::cerr << " " << SDL_GetError() << "\n";
std::cerr << "\nAre you in the 'video', 'audio', and 'input' groups?\n"; std::cerr << "\nAre you in the 'video' and 'input' groups?\n";
return 1; return 1;
} }
if(TTF_Init() != 0) if(TTF_Init() != 0)

View file

@ -1,12 +1,12 @@
NAME=Super Nintendo Entertainment System NAME=Super Nintendo Entertainment System
PATH=./snes/ PATH=../ROMs/snes/
EXTENSION=.smc EXTENSION=.smc
COMMAND=retroarch -L ~/libretro-pocketsnes.so %ROM% COMMAND=retroarch -L ~/cores/libretro-pocketsnes.so %ROM%
NAME=MAME NAME=Nintendo Entertainment System
PATH=./mame/ PATH=../ROMs/nes/
EXTENSION=.zip EXTENSION=.nes
COMMAND=echo %ROM% COMMAND=retroarch -L ~/cores/libretro-fceumm.so %ROM%
# This is just a dud to test error handling. Also, comment support! Woo! # This is just a dud to test error handling. Also, comment support! Woo!
NAME=Fake System NAME=Fake System