Commit Graph

21 Commits

Author SHA1 Message Date
Henrik Rydgård
1f8549045d Default Discord rich presence to off 2024-11-02 21:36:30 +01:00
Henrik Rydgård
55d110493a Hide the Discord Rich Presence option on platforms where we don't support it 2024-11-02 21:31:45 +01:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Silent
c754da6491
Do not assert in Discord::Shutdown
Discord::Shutdown runs on app exit unconditionally,
and thus it's valid to try to call it even when Discord RPC
is not running.
2019-11-18 21:46:51 +01:00
Henrik Rydgård
6a1676413e Don't assert if Discord not shut down properly. Possible workaround for #12140. 2019-09-30 09:57:32 +02:00
Unknown W. Brackets
732d344328 Common: Fix some unused ident and case warnings. 2019-06-22 13:22:12 -07:00
Henrik Rydgård
f94beb5185
Merge pull request #11652 from pent0/master
Update UWP port
2018-12-14 19:02:30 +01:00
pent0
4a53853f79 Update UWP port 2018-12-10 20:55:07 +07:00
Abbanon
c17a211320
Attempt to improve Discord Rich Presence 2018-12-09 08:29:58 -05:00
Unknown W. Brackets
c96748f0e2 Discord: Attempt to explicitly cleanup on exit. 2018-11-10 09:49:08 -08:00
Unknown W. Brackets
6bd6b86c05 Discord: Add cmake option to disable. 2018-11-10 09:49:08 -08:00
Henrik Rydgård
e34378a1c1 Enable Discord integration for Mac and Linux. 2018-08-18 10:11:15 +02:00
Henrik Rydgård
35e1d0c841 Discord: Translated some messages 2018-08-13 20:14:34 +02:00
Henrik Rydgård
9c22f6ed55 Don't forget to update the other build systems and try to fix the
builds.
2018-08-13 00:28:12 +02:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00