all repos — mgba @ 0bab397851cf5b5847b7438ac08864ba313dacf4

mGBA Game Boy Advance Emulator

Switch: Minor fixes
Vicki Pfau vi@endrift.com
Sat, 15 Sep 2018 12:14:51 -0700
commit

0bab397851cf5b5847b7438ac08864ba313dacf4

parent

a4d058f1263f93ed67d05f0295c5544e875e8f62

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/switch/CMakeLists.txtsrc/platform/switch/CMakeLists.txt

@@ -37,7 +37,7 @@ set_target_properties(${BINARY_NAME}.elf PROPERTIES COMPILE_DEFINITIONS "${OS_DEFINES};${FEATURE_DEFINES};${FUNCTION_DEFINES}")

target_link_libraries(${BINARY_NAME}.elf ${BINARY_NAME} ${M_LIBRARY} ${EGL_LIBRARY} ${OPENGLES2_LIBRARY} ${GLAPI_LIBRARY} ${NOUVEAU_LIBRARY} stdc++ ${OS_LIB}) add_custom_command(OUTPUT control.nacp - COMMAND ${NACPTOOL} --create "${PROJECT_NAME}" "endrift" "${LIB_VERSION_STRING}" control.nacp) + COMMAND ${NACPTOOL} --create "${PROJECT_NAME}" "endrift" "${VERSION_STRING}" control.nacp) add_custom_command(OUTPUT romfs.bin COMMAND ${CMAKE_COMMAND} -E make_directory romfs
M src/platform/switch/gui-font.csrc/platform/switch/gui-font.c

@@ -114,7 +114,7 @@ glBindTexture(GL_TEXTURE_2D, font->font);

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); if (!_loadTexture("romfs:/font-new.png")) { GUIFontDestroy(font); return NULL;