Linux: Flatpak-related changes (#5772)
* cmake: allow supplying local compatibility list * dist/desktop: add prefer non-default GPU hint ... * On compatible systems, this will make the system to use more powerful GPU instead of the default one (usually the integrated one)
This commit is contained in:
parent
842031a2eb
commit
324e88d6e0
2 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,10 @@ if (ENABLE_COMPATIBILITY_LIST_DOWNLOAD AND NOT EXISTS ${PROJECT_BINARY_DIR}/dist
|
|||
https://api.citra-emu.org/gamedb/
|
||||
"${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json" SHOW_PROGRESS)
|
||||
endif()
|
||||
if (EXISTS ${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.json)
|
||||
file(COPY "${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.json"
|
||||
DESTINATION "${PROJECT_BINARY_DIR}/dist/compatibility_list/")
|
||||
endif()
|
||||
if (NOT EXISTS ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json)
|
||||
file(WRITE ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json "")
|
||||
endif()
|
||||
|
|
1
dist/citra.desktop
vendored
1
dist/citra.desktop
vendored
|
@ -12,3 +12,4 @@ Exec=citra-qt %f
|
|||
Categories=Game;Emulator;Qt;
|
||||
MimeType=application/x-ctr-3dsx;application/x-ctr-cci;application/x-ctr-cia;application/x-ctr-cxi;
|
||||
Keywords=3DS;Nintendo;
|
||||
PrefersNonDefaultGPU=true
|
||||
|
|
Loading…
Reference in a new issue