Skip to content

Commit 6f825e4

Browse files
committed
Minor comment fix
1 parent 8a1ec96 commit 6f825e4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Core/RetroAchievements.cpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -522,16 +522,13 @@ static void load_integration_callback(int result, const char *error_message, rc_
522522
switch (result) {
523523
case RC_OK:
524524
{
525-
// If not successful, just report the error and bail. Shouldn't happen.
526-
527-
// DLL was loaded.
525+
// DLL was loaded correctly.
528526
g_OSD.Show(OSDType::MESSAGE_SUCCESS, ac->T("RAIntegration DLL loaded."));
529527

530-
// Hook up menu.
531-
HWND hWnd = (HWND)userdata;
532528
rc_client_raintegration_set_event_handler(g_rcClient, &raintegration_event_handler);
533529
rc_client_raintegration_set_write_memory_function(g_rcClient, &raintegration_write_memory_handler);
534530
rc_client_raintegration_set_get_game_name_function(g_rcClient, &raintegration_get_game_name_handler);
531+
HWND hWnd = (HWND)userdata;
535532
rc_client_raintegration_rebuild_submenu(g_rcClient, GetMenu(hWnd));
536533
break;
537534
}

0 commit comments

Comments
 (0)