Skip to content

Commit 832250b

Browse files
committed
Buildfix for CI
1 parent 1f6c709 commit 832250b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

samples/tasks/database/main.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,18 @@ void video_display_server_set_window_progress(int progress, bool finished)
7272
(void)progress; (void)finished;
7373
}
7474

75+
/* task_database.c's progress_cb is now the shared task_window_progress_cb,
76+
* whose definition lives in tasks/task_file_transfer.c. Pulling that
77+
* file in would drag in nbio, the audio mixer, and the image-task
78+
* machinery, none of which the dbscan path exercises. Stub it here
79+
* to satisfy the linker; the function is never called on this code
80+
* path because no progress_cb is invoked unless a worker thread
81+
* publishes progress, and this sample never reaches that state. */
82+
void task_window_progress_cb(retro_task_t *task)
83+
{
84+
(void)task;
85+
}
86+
7587
uint64_t frontend_driver_get_free_memory(void)
7688
{
7789
return 0;

0 commit comments

Comments
 (0)