Skip to content

Commit 3d59405

Browse files
committed
libretro build fix
1 parent 3b65146 commit 3d59405

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/imgread/cdio.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ const std::vector<std::string>& getCdromDrives()
3737
if (devicesFetched)
3838
return cdromDevices;
3939
devicesFetched = true;
40+
#ifndef LIBRETRO
4041
if (cfgLoadBool("config", "HideCdromDrives", false))
4142
return cdromDevices;
43+
#endif
4244
// Set a custom log handler
4345
cdio_log_set_handler([](cdio_log_level_t level, const char message[]) {
4446
switch (level)

0 commit comments

Comments
 (0)