Improve consistency for including

This commit is contained in:
madmaurice 2023-08-29 23:11:31 +02:00
parent c39a680293
commit 517577d546
10 changed files with 17 additions and 16 deletions

View file

@ -1,5 +1,5 @@
#include "cpu.h"
#include "panic.h"
#include <cpu/cpu.h>
#include <cpu/panic.h>
void Cpu_state::setAF(u16 v)
{

View file

@ -1,6 +1,6 @@
#include "cpu/cpu.h"
#include "cpu/panic.h"
#include "memory/mem_device.h"
#include <cpu/cpu.h>
#include <cpu/panic.h>
#include <memory/mem_device.h>
static inline u16 make_u16(u8 msb, u8 lsb)
{

View file

@ -3,7 +3,7 @@
#include <vector>
#include <optional>
#include "mem_device.h"
#include <memory/mem_device.h>
class Bus : public Mem_device {
private:

View file

@ -1,6 +1,6 @@
#pragma once
#include "types.h"
#include <types.h>
class Range {
private:

View file

@ -1,4 +1,4 @@
#include "ram.h"
#include <memory/ram.h>
#include <cstring>
RAM::RAM(u16 size) : size(size), readonly(false) {

View file

@ -1,6 +1,6 @@
#pragma once
#include "mem_device.h"
#include <memory/mem_device.h>
class RAM : public Mem_device {
private:

View file

@ -1,7 +1,7 @@
#include "doctest.h"
#include "memory/bus.h"
#include "memory/ram.h"
#include <memory/bus.h>
#include <memory/ram.h>
TEST_CASE("Bus can map same device twice")
{

View file

@ -1,7 +1,7 @@
#include "doctest.h"
#include "cpu/cpu.h"
#include "memory/ram.h"
#include <cpu/cpu.h>
#include <memory/ram.h>
TEST_CASE("EI followed by DI should not trigger interrupt")
{

View file

@ -1,7 +1,7 @@
#include "doctest.h"
#include "cpu/cpu.h"
#include "memory/ram.h"
#include <cpu/cpu.h>
#include <memory/ram.h>
TEST_CASE("simple load and add")

View file

@ -1,5 +1,6 @@
#include "doctest.h"
#include "memory/ram.h"
#include <memory/ram.h>
TEST_SUITE_BEGIN("memory/ram");