mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Initialize RAIntegration support if available. Untested.
This commit is contained in:
1 parent
32620ff12f
commit
5a8140c301
25 files changed
+201
-53
No files matched your search
@@ -53,6 +53,10 @@
|
||||
#include "Core/Core.h"
|
||||
#include "Core/RetroAchievements.h"
|
||||
|
||||
#ifdef RC_CLIENT_SUPPORTS_RAINTEGRATION
|
||||
#include "ext/rcheevos/include/rc_client_raintegration.h"
|
||||
#endif
|
||||
|
||||
extern bool g_TakeScreenshot;
|
||||
|
||||
namespace MainWindow {
|
||||
@@ -946,7 +950,12 @@ namespace MainWindow {
|
||||
break;
|
||||
|
||||
default:
|
||||
MessageBox(hWnd, L"Unimplemented", L"Sorry", 0);
|
||||
#ifdef RC_CLIENT_SUPPORTS_RAINTEGRATION
|
||||
if (rc_client_raintegration_activate_menu_item(Achievements::GetClient(), LOWORD(wParam))) {
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
MessageBox(hWnd, L"Unhandled menu item", L"Sorry", 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user