mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-16 16:28:59 +00:00
20 lines
642 B
C++
20 lines
642 B
C++
//
|
|
// ROMFetcher.h
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 01/01/2018.
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#include "ROMMachine.hpp"
|
|
|
|
ROMMachine::ROMFetcher CSROMFetcher(ROM::Request *missing = nullptr);
|
|
|
|
/// Loads the binary file located at @c url and then tests for whether it matches anything
|
|
/// known to the ROM catalogue. If so then a copy of the ROM will be retained where it
|
|
/// can later be found by the ROM fetcher returned by @c CSROMFetcher.
|
|
///
|
|
/// @returns @c true if the file was loaded successfully and matches something in
|
|
/// the library; @c false otherwise.
|
|
BOOL CSInstallROM(NSURL *url);
|