Version 2.8

This commit is contained in:
dgis 2024-10-29 16:03:09 +01:00
parent f71367b05e
commit 03d5beeeed
5 changed files with 8 additions and 9 deletions

View file

@ -58,7 +58,7 @@ LINKS
CHANGES CHANGES
Version 2.8 (2024-xx-xx) Version 2.8 (2024-10-29)
- Updated source code with Emu48 version 1.66+. - Updated source code with Emu48 version 1.66+.
- Fix an USB serial issue with Android 13+ (fix #23). - Fix an USB serial issue with Android 13+ (fix #23).

View file

@ -7,7 +7,6 @@ cmake_minimum_required(VERSION 3.6.0)
project("org.emulator.calculator.EmuApplication") project("org.emulator.calculator.EmuApplication")
#add_compile_options(-DDEBUG_DISPLAY) #add_compile_options(-DDEBUG_DISPLAY)
#add_compile_options(-DDEBUG_SOUND) #add_compile_options(-DDEBUG_SOUND)
#add_compile_options(-DDEBUG_DEBUGGER) #add_compile_options(-DDEBUG_DEBUGGER)

View file

@ -34,8 +34,8 @@ android {
applicationId "org.emulator.forty.eight" applicationId "org.emulator.forty.eight"
minSdk 21 minSdk 21
targetSdk 34 targetSdk 34
versionCode 26 versionCode 27
versionName "2.7" versionName "2.8"
setProperty("archivesBaseName", "Emu48-v$versionName") setProperty("archivesBaseName", "Emu48-v$versionName")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild { externalNativeBuild {
@ -90,6 +90,6 @@ dependencies {
implementation 'androidx.preference:preference:1.2.1' implementation 'androidx.preference:preference:1.2.1'
implementation 'androidx.documentfile:documentfile:1.0.1' implementation 'androidx.documentfile:documentfile:1.0.1'
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.5.2' androidTestImplementation 'androidx.test:runner:1.6.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
} }

View file

@ -58,7 +58,7 @@ LINKS
CHANGES CHANGES
Version 2.8 (2024-xx-xx) Version 2.8 (2024-10-29)
- Updated source code with Emu48 version 1.66+. - Updated source code with Emu48 version 1.66+.
- Fix an USB serial issue with Android 13+ (fix #23). - Fix an USB serial issue with Android 13+ (fix #23).

View file

@ -88,7 +88,7 @@ enum CALLBACK_TYPE {
}; };
// https://stackoverflow.com/questions/9630134/jni-how-to-callback-from-c-or-c-to-java // https://stackoverflow.com/questions/9630134/jni-how-to-callback-from-c-or-c-to-java
int mainViewCallback(int type, int param1, int param2/*, const TCHAR * param3, const TCHAR * param4*/) { int mainViewCallback(int type, int param1, int param2) {
if (mainActivity) { if (mainActivity) {
JNIEnv *jniEnv = getJNIEnvironment(); JNIEnv *jniEnv = getJNIEnvironment();
if(jniEnv) { if(jniEnv) {