From 6f825e4ff37f24e8e02d8fdada8e7b7b578110e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 5 Apr 2024 18:21:02 +0200 Subject: [PATCH] Minor comment fix --- Core/RetroAchievements.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Core/RetroAchievements.cpp b/Core/RetroAchievements.cpp index 506cb25325..1db3cc138f 100644 --- a/Core/RetroAchievements.cpp +++ b/Core/RetroAchievements.cpp @@ -522,16 +522,13 @@ static void load_integration_callback(int result, const char *error_message, rc_ switch (result) { case RC_OK: { - // If not successful, just report the error and bail. Shouldn't happen. - - // DLL was loaded. + // DLL was loaded correctly. g_OSD.Show(OSDType::MESSAGE_SUCCESS, ac->T("RAIntegration DLL loaded.")); - // Hook up menu. - HWND hWnd = (HWND)userdata; rc_client_raintegration_set_event_handler(g_rcClient, &raintegration_event_handler); rc_client_raintegration_set_write_memory_function(g_rcClient, &raintegration_write_memory_handler); rc_client_raintegration_set_get_game_name_function(g_rcClient, &raintegration_get_game_name_handler); + HWND hWnd = (HWND)userdata; rc_client_raintegration_rebuild_submenu(g_rcClient, GetMenu(hWnd)); break; }