Commit Graph

494 Commits

Author SHA1 Message Date
Andrea Pappacoda
728bd3178b
build: update required fmt version (#183) 2022-09-05 15:38:25 +02:00
Exzap
391334d64e
Use ANSI encoding for cemu.rc (#184)
Clang has issues with utf16 and MSVC does not like utf8. So ANSI it is.
2022-09-05 15:36:06 +02:00
bitscher
917b80941e
Fix broken icon layout when loading Cemu on Gnome (#171)
The icon view was all broken from having entries inserted with non
loaded icons, resulting in a layout that had the wrong size and no
obvious way to trigger a resizing without incurring a costly window
redraw.

Solution: When the icon is not yet loaded insert a transparent
placeholder icon.
2022-09-05 14:51:24 +02:00
SSimco
0ed4fdcd78
Update fmt version to 9.1.0 (#177) 2022-09-05 14:48:44 +02:00
bitscher
f2ec0b4083
Fix the reloading of game cache from settings.xml (#169)
std::is_same_v<decltype(0LL), int64_t> does not evaluate the same on
Linux Clang and MSVC. MSVC returns true but Clang and GCC both returns
false resulting in failing to read the game id from the XML file and
therefore rebuilding the cache.

Solution: Don't rely on the type of 0LL and 0ULL literals but explicitly
provide the type of the field we are trying to read.
2022-09-05 14:42:15 +02:00
Jun Bo Bi
a54a3ec74e
Fix build using clang-cl on windows and improve driver detection (#129) 2022-09-04 23:15:40 +02:00
Exzap
4ed18a65c3
Name output binary Cemu_<CONFIG> and always place it in bin/ (#179) 2022-09-04 22:23:24 +02:00
bslhq
1373c76eb9
fix H264_IsBotW() return false while BotW's TitleRegion is JP (#174) 2022-09-04 18:19:27 +02:00
LoaTcHi
14d6fb0987
Added french translation on GenericName field (#160) 2022-09-04 02:01:46 +02:00
bitscher
f8297eeb44
Fix game list ordering & Favorite checkbox (#163) 2022-09-04 01:32:32 +02:00
Exzap
33167196d9
Wait for gfx pack init before loading shaders (#168)
2.0 introduced a race condition where the shader cache loading screen could load shaders before the graphic packs finished activating, potentially bypassing custom shaders.
Also removed legacy GraphicPack interface (GraphicPack.cpp/.h) since it was only kept around for Cemuhook and removed u8string variant of cemuLog_force since it's no longer used
2022-09-04 01:27:44 +02:00
Exzap
8dd1688ca7
coreinit: Make OSReport and OSConsoleWrite thread-safe 2022-09-03 23:53:45 +02:00
Francesco Saltori
d22901be1c
Miscellaneous translatable strings improvements and fixes (#159)
* Make PPC threads/texture cache info window columns untranslatable
* Make several window titles translatable
* Make About window text translatable
* Fix <profile name> placeholder not being recognized as translatable
* Miscellaneous improvements to GUI strings
* Add a few missing entries to gitignore
* Adjust Italian translation of Linux files
2022-09-03 22:55:58 +02:00
bitscher
1a1de370e4
Portable way of opening URLs and directories (#156)
Replaced every instance of ShellExecute with wxLaunchDefaultBrowser
2022-09-03 22:32:31 +02:00
uranuspucksaxophone
f3c70e69b4
Add curl as linux build dependency (#161) 2022-09-03 21:49:59 +02:00
larevehkaoja
76126e69b2
Add Finnish translation for linux distributions (#122) 2022-09-03 10:40:54 +02:00
Ziemas
afb08f23e2
cmake: Exclude unnecessary dep build targets (#150) 2022-09-03 10:34:47 +02:00
Andrea Pappacoda
8c617a39b7
style: use std::enable_if & co instead of boost:: (#153) 2022-09-02 21:06:05 +02:00
Exzap
ef1ce59931
Update graphic pack url query request (#154)
Fixed bad request url and changed URL to separate post 2.0 releases.
Also updated .gitignore
2022-09-02 20:54:22 +02:00
Exzap
4ed38a28b9
Merge pull request #112 from Tachi107/build-minor-fixes
build: minor refactoring and fixes
2022-09-02 19:22:19 +02:00
Tom Lally
f5972dfbb0
Per-function target attribute on clang and GCC. (#152) 2022-09-02 19:10:41 +02:00
Tom Lally
68fa5b32a1
Linux cursor show and hide. (#149) 2022-09-02 15:16:35 +02:00
Andrea Pappacoda
719ee90b27
build: minor refactoring and fixes
- Fix target_precompile_headers() usage; the CemuCommon target exposes
  the src/Common/precompiled.h precompiled header as part of its public
  interface with
  target_precompile_headers(CemuCommon PUBLIC precompiled.h), so all the
  other targets wanting to use the precompiled header have to link to
  the CemuCommon target with
  target_precompile_headers(TargetName PRIVATE CemuCommon).
- Set the project version to 2.0
- Set RUNTIME_OUTPUT_DIRECTORY instead of only their _DEBUG and _RELEASE
  variants, fixing the compilation when neither build types are defined
- Use a consistent indentation style (tabs, like in the .cpp files)
- Use "modern" variants of some functions, e.g. add_definitions ->
  add_compile_definitions
2022-09-02 13:05:15 +02:00
bitscher
b1e92f1779
Fix more UI asserts (#146) 2022-09-02 11:01:17 +02:00
Crementif
86e1a2227c
nn_act: Fix account endianness (#141)
Also adds some code for enabling multi-user support inside apps maybe, but it's probably hardcoded in more places since Cemu currently only shows the active account.
2022-09-02 09:46:19 +02:00
bitscher
a3b1af4e3d
Add SIGINT handler on posix systems (#145) 2022-09-02 09:32:33 +02:00
Exzap
b1844a8753
Fix online for NA console logins (#147)
This is just a quick fix. In the future we can look into avoiding hardcoded firmware version numbers. On the console it gets read from some system file
2022-09-02 09:14:55 +02:00
Tom Lally
d3a7b3b5a6
Misc. Linux improvements and bug fixes. (#121)
Co-authored-by: Tom Lally <tomlally@protonmail.com>
2022-09-01 20:46:20 +02:00
bitscher
b8d4cf5b29
Fix asserts in TitleManager and DownloadManager (#134) 2022-09-01 18:24:07 +02:00
Exzap
d8da8a54a6
Infrastructure for shipping and auto-updating experimental releases (#131) 2022-08-31 12:04:09 +02:00
Exzap
e147c1b4a6
cmake workaround for CemuAsm failing to link on msbuild 2022-08-31 10:41:24 +02:00
ArtemisX64
0630e8d845
Linker(Vcpkg) Error: undefined reference to libdecor (#128) 2022-08-31 07:53:04 +02:00
Marcin Chojnacki
527ee3aea5
Initial implementation of macOS Vulkan renderer over MoltenVK (#124) 2022-08-30 19:02:56 +02:00
Marcin Chojnacki
15b71c57dd
Correct wxMenu ID to resolve macOS crash (#125) 2022-08-30 17:55:34 +02:00
Crementif
dff782eb0d
docs: Add warning about clang-14 issue 2022-08-30 17:53:32 +02:00
Crementif
7d461d1658
docs: Improve build instructions (#109)
Co-authored-by: RyzenDew <84041391+RyzenDew@users.noreply.github.com>
2022-08-30 16:36:14 +02:00
niko1point0
584938d8f3
Renable Nvidia Multithreaded Pipeline compile after driver 515 (#91) 2022-08-30 15:58:43 +02:00
Krystian Booker
60074c440d
Bug #620 Fixed crash when no audio devices are present (#118) 2022-08-30 14:10:05 +02:00
bitscher
2d42c885da
Fix various compiler warnings and update OpenSSL hash functions (#119)
* Update OpenSSL hash functions to OpenSSL 3.0
* Fix invalid sscanf format in DownloadManager
* Fix unset return value warning
* Fix erroneous check on otpMem in iosu_crypto
2022-08-30 09:27:25 +02:00
P. "Ivory" Vasilopoulos
86c0a8f698
Add Greek translation for Linux distributions (#106) 2022-08-30 06:24:23 +02:00
William
1fba15a4c5
Add pt_BR to desktop and metainfo files (#110) 2022-08-30 06:17:53 +02:00
Stefano Calabrese
5b9483f7d8
Add Italian translation for Linux distributions (#116) 2022-08-30 06:14:17 +02:00
Tom Lally
c065d22dda
Removed THREAD_LOCAL macro. (#101) 2022-08-30 06:10:33 +02:00
Amaro Martínez
d94ecfe078
Add Spanish translation for Linux distributions (#105) 2022-08-29 10:00:08 +02:00
Andrea Pappacoda
f51a51df3b
build: improve the Linux aspect of things (#75)
Improved, fixed and streamlined cmake files. Optionally use system libraries instead of vcpkg (-DENABLE_VCPKG=OFF)
2022-08-29 07:19:48 +02:00
Crementif
0f24b0663e
Initialize glslang struct using consteval
Doesn't seem like there's a way to bypass the need for default values in their API, and since their versions doesn't seem to be reliable enough to know whether maxDualSourceDrawBuffersEXT exists. This way it's default initialized to 0 which is fine for Cemu.
2022-08-28 19:23:24 +02:00
Tom Lally
454b587e36
Fix compilation on GCC and other Linux fixes (#80) 2022-08-28 15:29:15 +02:00
Morgan Hofmann
96dcc7c82e
Dutch translations for Linux distributions (#98) 2022-08-28 12:57:09 +02:00
IntriguingTiles
07ce5b0aa6
nn_act: Fix errors in Mii name (#95)
nn_act: Don't swap the Mii name again
Account: Zero out miiName before copying in data
2022-08-28 11:32:10 +02:00
Crementif
ef61361b87
deps: Update zarchive submodule 2022-08-28 00:52:18 +02:00