mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-25 22:51:03 +00:00
Restructure backends
This commit is contained in:
@@ -18,8 +18,8 @@ namespace snapshot
|
||||
|
||||
std::span<const std::byte> validate_header(const std::span<const std::byte> snapshot)
|
||||
{
|
||||
snapshot_header default_header;
|
||||
snapshot_header header{};
|
||||
constexpr snapshot_header default_header{};
|
||||
|
||||
if (snapshot.size() < sizeof(header))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user