mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-25 18:05:12 -04:00
b210446460
Checkpoint exact NCLIP and cull-scale code generation, overlay ABI 25, draw-area clipping, timeline and presented-image rings, mod counters, hotkey matching and savestate messages. Add canonical external ROM/disc verification with immutable plugin-scoped snapshots. Focused recompiler/runtime validation: 16 tests passed.
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
|