mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-23 05:29:23 +00:00
Adds missing include files, corrects bad include paths and eliminates the Clang-specific __undefined
.
This commit is contained in:
parent
153067c018
commit
fabaf4e607
@ -6,10 +6,10 @@
|
||||
// Copyright © 2016 Thomas Harte. All rights reserved.
|
||||
//
|
||||
|
||||
#include "C1540.hpp"
|
||||
#include "../C1540.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
#include "../../../../Storage/Disk/Encodings/CommodoreGCR.hpp"
|
||||
|
||||
|
@ -8,9 +8,11 @@
|
||||
|
||||
#include "IntermediateShader.hpp"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cmath>
|
||||
|
||||
#include "../../../../SignalProcessing/FIRFilter.hpp"
|
||||
|
||||
using namespace OpenGL;
|
||||
|
@ -8,7 +8,8 @@
|
||||
|
||||
#include "Shader.hpp"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
using namespace OpenGL;
|
||||
|
||||
|
@ -9,9 +9,10 @@
|
||||
#ifndef Storage_Data_ZX8081_hpp
|
||||
#define Storage_Data_ZX8081_hpp
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
namespace Storage {
|
||||
namespace Data {
|
||||
|
@ -8,6 +8,8 @@
|
||||
|
||||
#include "ImplicitSectors.hpp"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "../../../Encodings/MFM/Sector.hpp"
|
||||
#include "../../../Encodings/MFM/Encoder.hpp"
|
||||
#include "../../../Encodings/MFM/Constants.hpp"
|
||||
|
@ -300,12 +300,14 @@ void TZX::ignore_group_end() {
|
||||
}
|
||||
|
||||
void TZX::ignore_jump_to_block() {
|
||||
__unused uint16_t target = file_.get16le();
|
||||
uint16_t target = file_.get16le();
|
||||
(void)target;
|
||||
printf("Ignoring TZX jump\n");
|
||||
}
|
||||
|
||||
void TZX::ignore_loop_start() {
|
||||
__unused uint16_t number_of_repetitions = file_.get16le();
|
||||
uint16_t number_of_repetitions = file_.get16le();
|
||||
(void)number_of_repetitions;
|
||||
printf("Ignoring TZX loop\n");
|
||||
}
|
||||
|
||||
@ -313,7 +315,7 @@ void TZX::ignore_loop_end() {
|
||||
}
|
||||
|
||||
void TZX::ignore_call_sequence() {
|
||||
__unused uint16_t number_of_entries = file_.get16le();
|
||||
uint16_t number_of_entries = file_.get16le();
|
||||
file_.seek(number_of_entries * sizeof(uint16_t), SEEK_CUR);
|
||||
printf("Ignoring TZX call sequence\n");
|
||||
}
|
||||
@ -323,7 +325,7 @@ void TZX::ignore_return_from_sequence() {
|
||||
}
|
||||
|
||||
void TZX::ignore_select_block() {
|
||||
__unused uint16_t length_of_block = file_.get16le();
|
||||
uint16_t length_of_block = file_.get16le();
|
||||
file_.seek(length_of_block, SEEK_CUR);
|
||||
printf("Ignoring TZX select block\n");
|
||||
}
|
||||
@ -337,9 +339,10 @@ void TZX::ignore_text_description() {
|
||||
}
|
||||
|
||||
void TZX::ignore_message_block() {
|
||||
__unused uint8_t time_for_display = file_.get8();
|
||||
uint8_t time_for_display = file_.get8();
|
||||
uint8_t length = file_.get8();
|
||||
file_.seek(length, SEEK_CUR);
|
||||
(void)time_for_display;
|
||||
printf("Ignoring TZX message\n");
|
||||
}
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
//
|
||||
|
||||
#include "Commodore.hpp"
|
||||
|
||||
#include <cstring>
|
||||
#include "../../Data/Commodore.hpp"
|
||||
|
||||
using namespace Storage::Tape::Commodore;
|
||||
|
Loading…
Reference in New Issue
Block a user