summaryrefslogtreecommitdiff
path: root/Xenogears/build-sector.cpp
diff options
context:
space:
mode:
authorpixel <pixel>2004-11-27 21:44:15 +0000
committerpixel <pixel>2004-11-27 21:44:15 +0000
commit50f0dd331f8168fb5b2cd60c70178fad627b7fb6 (patch)
tree65fcec7bd507791f0db8a3af1b60ad9ac631f4a7 /Xenogears/build-sector.cpp
parentf1df76865d1751469deff19e62255d50a814f183 (diff)
Large dos2unix commit...
Diffstat (limited to 'Xenogears/build-sector.cpp')
-rw-r--r--Xenogears/build-sector.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/Xenogears/build-sector.cpp b/Xenogears/build-sector.cpp
index 3effc35..744a087 100644
--- a/Xenogears/build-sector.cpp
+++ b/Xenogears/build-sector.cpp
@@ -1,14 +1,14 @@
-#include <stdio.h>
-#include "yazedc.h"
-
-int main(void) {
- unsigned char datas[2352];
-
- fread(datas, 2352, 1, stdin);
- minute = datas[12];
- second = datas[13];
- frame = datas[14];
- fprintf(stderr, "Sector info: %2i:%02i:%04i\n", minute, second, frame);
- do_encode_L2(datas, MODE_2_FORM_1, 0);
- fwrite(datas, 2352, 1, stdout);
-}
+#include <stdio.h>
+#include "yazedc.h"
+
+int main(void) {
+ unsigned char datas[2352];
+
+ fread(datas, 2352, 1, stdin);
+ minute = datas[12];
+ second = datas[13];
+ frame = datas[14];
+ fprintf(stderr, "Sector info: %2i:%02i:%04i\n", minute, second, frame);
+ do_encode_L2(datas, MODE_2_FORM_1, 0);
+ fwrite(datas, 2352, 1, stdout);
+}