[Scummvm-git-logs] scummvm-tools master -> cde3d16c4e4eea027a863a99c7eb62495f6ae799
sev-
noreply at scummvm.org
Sat Oct 22 19:02:19 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .
Summary:
cde3d16c4e SCUMM: MM_APPLE: Set Xor mode for output for 01.LFL+
Commit: cde3d16c4e4eea027a863a99c7eb62495f6ae799
https://github.com/scummvm/scummvm-tools/commit/cde3d16c4e4eea027a863a99c7eb62495f6ae799
Author: eientei (einstein95 at users.noreply.github.com)
Date: 2022-10-22T21:02:17+02:00
Commit Message:
SCUMM: MM_APPLE: Set Xor mode for output for 01.LFL+
Changed paths:
engines/scumm/extract_mm_apple.cpp
diff --git a/engines/scumm/extract_mm_apple.cpp b/engines/scumm/extract_mm_apple.cpp
index 52a36dd5..458c36ad 100644
--- a/engines/scumm/extract_mm_apple.cpp
+++ b/engines/scumm/extract_mm_apple.cpp
@@ -29,8 +29,10 @@
unsigned char room_disks_apple[NUM_ROOMS], room_tracks_apple[NUM_ROOMS], room_sectors_apple[NUM_ROOMS];
static const int SectorOffset[36] = {
- 0, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 256,
- 272, 288, 304, 320, 336, 352, 368,
+ 0, 16, 32, 48, 64, 80,
+ 96, 112, 128, 144, 160, 176,
+ 192, 208, 224, 240, 256, 272,
+ 288, 304, 320, 336, 352, 368,
384, 400, 416, 432, 448, 464,
480, 496, 512, 528, 544, 560
};
@@ -143,6 +145,7 @@ void ExtractMMApple::execute() {
sprintf(fname, "%02i.LFL", i);
outpath.setFullName(fname);
output.open(outpath, "wb");
+ output.setXorMode(0xFF);
print("Creating %s...", fname);
input->seek((SectorOffset[room_tracks_apple[i]] + room_sectors_apple[i]) * 256, SEEK_SET);
More information about the Scummvm-git-logs
mailing list