Skip to content

Commit

Permalink
sources reorg #1
Browse files Browse the repository at this point in the history
  • Loading branch information
superg committed Dec 7, 2023
1 parent 6c3fecf commit 906aa64
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ target_sources(redumper
"cd/cdrom.ixx"
"cd/ecc.ixx"
"cd/edc.ixx"
"cd/offset_manager.ixx"
"cd/scrambler.ixx"
"cd/split.ixx"
"cd/subcode.ixx"
"cd/toc.ixx"
"crc/crc.ixx"
Expand Down Expand Up @@ -182,13 +184,11 @@ target_sources(redumper
"drive.ixx"
"hash.ixx"
"info.ixx"
"offset_manager.ixx"
"options.ixx"
"redumper.ixx"
"rings.ixx"
"rom_entry.ixx"
"skeleton.ixx"
"split.ixx"
"version.ixx"
)

Expand Down
2 changes: 1 addition & 1 deletion offset_manager.ixx → cd/offset_manager.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module;
#include <vector>
#include "throw_line.hh"

export module offset_manager;
export module cd.offset_manager;



Expand Down
6 changes: 3 additions & 3 deletions split.ixx → cd/split.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ import cd.cd;
import cd.cdrom;
import cd.ecc;
import cd.edc;
import cd.offset_manager;
import cd.scrambler;
import cd.subcode;
import cd.toc;
import dump;
import filesystem.iso9660;
import hash.sha1;
import offset_manager;
import options;
import readers.image_bin_form1_reader;
import rom_entry;
Expand Down Expand Up @@ -285,7 +285,7 @@ std::vector<std::string> write_tracks(const TOC &toc, std::fstream &scm_fs, std:
// discs with offset shift usually have some corruption in a couple of transitional sectors preventing normal descramble detection,
// as everything is scrambled in this case, force descrambling
bool force_descramble = offset_manager->isVariable();

for(auto &s : toc.sessions)
{
for(auto &t : s.tracks)
Expand Down Expand Up @@ -1284,7 +1284,7 @@ export void redumper_split(Context &ctx, Options &options)
data_track = true;
break;
}

if(data_track)
{
LOG("data disc detected, offset configuration: ");
Expand Down

0 comments on commit 906aa64

Please sign in to comment.