mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Without yet a struct for Spectrum states, at least checks general wiring.
This commit is contained in:
parent
5b419ca5bf
commit
485c2a866c
@ -7,10 +7,17 @@
|
||||
//
|
||||
|
||||
#include "SNA.hpp"
|
||||
#include "../../Analyser/Static/ZXSpectrum/Target.hpp"
|
||||
|
||||
using namespace Storage::State;
|
||||
|
||||
std::unique_ptr<Analyser::Static::Target> SNA::load(const std::string &file_name) {
|
||||
using Target = Analyser::Static::ZXSpectrum::Target;
|
||||
auto result = std::make_unique<Target>();
|
||||
|
||||
// SNAs are always for 48kb machines.
|
||||
result->model = Target::Model::FortyEightK;
|
||||
|
||||
// 0x1a byte header:
|
||||
//
|
||||
// 00 I
|
||||
@ -34,5 +41,6 @@ std::unique_ptr<Analyser::Static::Target> SNA::load(const std::string &file_name
|
||||
// (perform a POP to get the PC)
|
||||
|
||||
(void)file_name;
|
||||
return nullptr;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user