mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
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
@ -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 New Issue
Block a user