mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-19 02:22:39 +00:00
Start importing code from WOZ, preparatory to a refactoring.
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
|
||||
using namespace Storage::Disk;
|
||||
|
||||
namespace {
|
||||
constexpr uint32_t chunk(const char *str) {
|
||||
return uint32_t(str[0] | (str[1] << 8) | (str[2] << 16) | (str[3] << 24));
|
||||
}
|
||||
}
|
||||
|
||||
MOOF::MOOF(const std::string &file_name) :
|
||||
file_(file_name) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user