mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 03:40:05 +00: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/
|
https://api.citra-emu.org/gamedb/
|
||||||
"${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json" SHOW_PROGRESS)
|
"${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json" SHOW_PROGRESS)
|
||||||
endif()
|
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)
|
if (NOT EXISTS ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json)
|
||||||
file(WRITE ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json "")
|
file(WRITE ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json "")
|
||||||
endif()
|
endif()
|
||||||
|
1
dist/citra.desktop
vendored
1
dist/citra.desktop
vendored
@ -12,3 +12,4 @@ Exec=citra-qt %f
|
|||||||
Categories=Game;Emulator;Qt;
|
Categories=Game;Emulator;Qt;
|
||||||
MimeType=application/x-ctr-3dsx;application/x-ctr-cci;application/x-ctr-cia;application/x-ctr-cxi;
|
MimeType=application/x-ctr-3dsx;application/x-ctr-cci;application/x-ctr-cia;application/x-ctr-cxi;
|
||||||
Keywords=3DS;Nintendo;
|
Keywords=3DS;Nintendo;
|
||||||
|
PrefersNonDefaultGPU=true
|
||||||
|
Loading…
Reference in New Issue
Block a user