aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author浅倉麗子2020-06-12 21:41:57 -0400
committer浅倉麗子2020-06-12 21:41:57 -0400
commita742de6f2c8caa2014217e00f8366853c1797ba5 (patch)
treed35fbd25966e37feedee6888d7f813eefa8f8b05
parentTerminology changes (diff)
downloadsharpscale-a742de6f2c8caa2014217e00f8366853c1797ba5.tar.gz
Poll kernel module for config on every frame
-rw-r--r--config-app/CMakeLists.txt2
-rw-r--r--config-app/main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/config-app/CMakeLists.txt b/config-app/CMakeLists.txt
index cdce48f..b2d09d1 100644
--- a/config-app/CMakeLists.txt
+++ b/config-app/CMakeLists.txt
@@ -25,7 +25,7 @@ set(VPK "${PROJECT_NAME}.vpk")
set(TITLE_NAME "Sharpscale Config Menu")
set(TITLE_ID "AKRK00005")
-set(TITLE_VER "01.05")
+set(TITLE_VER "01.06")
add_executable("${ELF}"
main.c
diff --git a/config-app/main.c b/config-app/main.c
index 6f7998b..dbf629a 100644
--- a/config-app/main.c
+++ b/config-app/main.c
@@ -134,6 +134,8 @@ int main(int argc, char **argv) { (void)argc; (void)argv;
vita2d_draw_line(50.0f, line_height * 2.75f, 910.0f, line_height * 2.75f, TEXT_BLACK);
if (kmod_linked) {
+ SharpscaleGetConfig(&config);
+
x_pos = 50;
y_pos = line_height * 4;
draw_text(x_pos, y_pos, text_yellow(ui_row == 0), "Scaling mode");