Skip to content

Commit

Permalink
Add support for using directories and .iso files within CUE sheets
Browse files Browse the repository at this point in the history
Add support for big-endian binary files

Remove unused is_dir member
  • Loading branch information
Cacodemon345 committed Jul 6, 2024
1 parent f72c1a5 commit 32fb1b1
Show file tree
Hide file tree
Showing 7 changed files with 256 additions and 187 deletions.
1 change: 1 addition & 0 deletions src/cdrom/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ pkg_check_modules(SNDFILE REQUIRED IMPORTED_TARGET sndfile)
add_library(cdrom OBJECT cdrom.c cdrom_image_backend.c cdrom_image_viso.c cdrom_image.c cdrom_ioctl.c cdrom_mitsumi.c)
target_link_libraries(86Box PkgConfig::SNDFILE)
if (WIN32)
# MSYS2
target_link_libraries(86Box -static ${SNDFILE_STATIC_LIBRARIES})
endif()
1 change: 0 additions & 1 deletion src/cdrom/cdrom_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ cdrom_image_open(cdrom_t *dev, const char *fn)
dev->cd_status = CD_STATUS_DATA_ONLY;
else
dev->cd_status = CD_STATUS_STOPPED;
dev->is_dir = (i == 3);
dev->seek_pos = 0;
dev->cd_buflen = 0;
dev->cdrom_capacity = image_get_capacity(dev);
Expand Down
Loading

0 comments on commit 32fb1b1

Please sign in to comment.