added a prefernces screen to handle media card selection on Android devices. Contains actual fix for 4297.
Added a place marker to allow volume change during app. Right now it's either loud or off. There isn't a way to allow the volume to gradually go up and odwn based on the values set in settings.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
/* Include the SDL main definition header */
|
||||
#include "SDL_main.h"
|
||||
#include "JGE.h"
|
||||
|
||||
/*******************************************************************************
|
||||
Functions called by JNI
|
||||
@@ -13,6 +14,8 @@ extern "C" void SDL_Android_Init(JNIEnv* env, jclass cls);
|
||||
// Library init
|
||||
extern "C" jint JNI_OnLoad(JavaVM* vm, void* reserved)
|
||||
{
|
||||
JGE *mEngine = JGE::GetInstance();
|
||||
mEngine->setJVM(vm);
|
||||
return JNI_VERSION_1_4;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user