Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedowns committed Jan 11, 2024
1 parent 6b6ec3b commit 8e6b93f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0")
implementation("androidx.preference:preference-ktx:1.2.1")
implementation("io.coil-kt:coil:2.2.2")
implementation(files("src/android/cnsdk-android-0.7.28/samples/leia/lwEngine/tests/androidJava/src/main/java/com/leia/lwe/java.sample.LWE_Core.java"))
addSdkDependency(false)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import android.content.Intent
import android.content.SharedPreferences
import android.content.pm.PackageManager
import android.net.Uri
import android.opengl.GLSurfaceView
import android.os.Bundle
import android.view.InputDevice
import android.view.KeyEvent
Expand Down Expand Up @@ -42,6 +43,7 @@ import org.citra.citra_emu.utils.ForegroundService
import org.citra.citra_emu.utils.EmulationLifecycleUtil
import org.citra.citra_emu.utils.ThemeUtil
import org.citra.citra_emu.viewmodel.EmulationViewModel
import com.leia.lwe.java.sample.LWE_Core

private class LWERenderer(val activity: Activity) : GLSurfaceView.Renderer, AutoCloseable {
private val TAG = LWERenderer::class.java.simpleName
Expand Down
2 changes: 1 addition & 1 deletion src/android/app/src/main/jni/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if ("arm64" IN_LIST ARCHITECTURE)
target_link_libraries(citra-android PRIVATE adrenotools)
endif()

target_link_libraries(citra-android CNSDK::leiaSDK)
target_link_libraries(citra-android PRIVATE CNSDK::leiaSDK)

set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} citra-android)

4 changes: 2 additions & 2 deletions src/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.1.2" apply false
id("com.android.library") version "8.1.2" apply false
id("com.android.application") version "8.2.1" apply false
id("com.android.library") version "8.2.1" apply false
id("org.jetbrains.kotlin.android") version "1.8.21" apply false
id("org.jetbrains.kotlin.plugin.serialization") version "1.8.21"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private class LWERenderer(val activity: Activity) : GLSurfaceView.Renderer, Auto
this.width = width
this.height = height
this.isSizeDirty = true
}
}

override fun onDrawFrame(p0: GL10?) {
Log.d(TAG, "onDrawFrame")
Expand Down
2 changes: 1 addition & 1 deletion src/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip

0 comments on commit 8e6b93f

Please sign in to comment.