mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-25 18:05:12 -04:00
fe42da2744
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>
21 lines
690 B
C++
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
|