Files
psxrecomp/overlay_toolchain/include/mod_media.h
T
Matthew Stanley fe42da2744 Merge release/native-rendering-20261003 into master
Keeps both lines: master's PGXP session, draw-distance clamps, masked rejects
and saturated-winding NCLIP; the release's render-pass kit additions, verified
media/disc extents, timeline/present rings, cull-scale sites. Overlay ABI v30.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 19:27:02 -07:00

21 lines
690 B
C++

#pragma once
#include <cstdint>
#include <filesystem>
#include <memory>
#include <string>
#include <vector>
namespace PSXRecompV4 {
/* Canonical bytes are an immutable, engine-owned snapshot. Plugins never
* reopen the selected file after verification. The PSX domain contains the
* first data track's 2048-byte sector payloads, excluding CD audio. */
bool load_mod_media(const std::filesystem::path& path,
const std::string& format, uint64_t expected_size,
const std::string& expected_sha256,
std::shared_ptr<const std::vector<uint8_t>>& bytes,
std::string* error = nullptr);
} // namespace PSXRecompV4