Compare commits

...

2 Commits

Author SHA1 Message Date
2e2290cc8c core_bits, tools 2024-12-31 13:27:46 -06:00
da041de646 iso9660/test: missing namespace 2024-12-31 13:27:46 -06:00
3 changed files with 5 additions and 2 deletions

View File

@ -76,7 +76,7 @@ constexpr uint32_t fb_concat(uint32_t num) { return (num & 0x3) << 4; }
namespace fb_depth {
constexpr uint32_t _0555_rgb_16bit = 0 << 2;
constexpr uint32_t _0565_rgb_16bit = 1 << 2;
constexpr uint32_t _565_rgb_16bit = 1 << 2;
constexpr uint32_t _888_rgb_24bit_packed = 2 << 2;

View File

@ -1,6 +1,7 @@
#include <fstream>
#include <string>
#include <iostream>
#include <bit>
#include "primary_volume_descriptor.hpp"
#include "directory_record.hpp"
@ -15,6 +16,8 @@ void write_field(const uint8_t * s, const int len)
int main()
{
using namespace iso9660;
std::ifstream ifs("test.iso");
std::string content( (std::istreambuf_iterator<char>(ifs) ),
(std::istreambuf_iterator<char>() ) );

View File

@ -14,7 +14,7 @@ FREETYPE_LDFLAGS = $(shell pkg-config --libs freetype2)
FTDI_CFLAGS = $(shell pkg-config --cflags libftdi1) -I.
FTDI_LDFLAGS = $(shell pkg-config --libs libftdi1)
all: ttf_outline
all: ftdi_transfer
crc32.o: crc32.c
$(CC) -std=gnu2x $(CFLAGS) -I. -c $< -o $@