summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/Makefile2
-rw-r--r--str-player.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 79aae21..3c9cef6 100755
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-CPPFLAGS=-Wall -g -O3 -mcpu=i686 -Werror -I../includes -DHAVE_ZLIB
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -Werror -I../includes -DHAVE_ZLIB -DUSE_CDREADER
CXX=g++
OBJECTS = cdutils.o lzss.o yazedc.o dteutils.o cdreader.o cdabstract.o
diff --git a/str-player.cpp b/str-player.cpp
index b20b795..08f8be4 100644
--- a/str-player.cpp
+++ b/str-player.cpp
@@ -73,13 +73,13 @@ void process_one_sector(Handle * f) {
f->read(sector, 2336);
h = (STR_Header *) ((Byte *) sector + 8);
-// printm(M_INFO, "SubHeader: FN = %x, CN = %x, SM = %x, CI = %x: ", sector[0], sector[1], sector[2], sector[3]);
-/*
+ printm(M_INFO, "SubHeader: FN = %x, CN = %x, SM = %x, CI = %x: ", sector[0], sector[1], sector[2], sector[3]);
+
printm(M_BARE, "SubHeader FN : %x\n", sector[0]);
printm(M_BARE, "SubHeader CN : %x\n", sector[1]);
printm(M_BARE, "SubHeader SM : %x\n", sector[2]);
printm(M_BARE, "SubHeader CI : %x\n", sector[3]);
-*/
+
if ((channel != -1) && (channel != sector[1]))
return;