Improve consistency for including
This commit is contained in:
parent
c39a680293
commit
517577d546
10 changed files with 17 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
#include "cpu.h"
|
||||
#include "panic.h"
|
||||
#include <cpu/cpu.h>
|
||||
#include <cpu/panic.h>
|
||||
|
||||
void Cpu_state::setAF(u16 v)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <vector>
|
||||
#include <optional>
|
||||
|
||||
#include "mem_device.h"
|
||||
#include <memory/mem_device.h>
|
||||
|
||||
class Bus : public Mem_device {
|
||||
private:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "types.h"
|
||||
#include <types.h>
|
||||
|
||||
class Range {
|
||||
private:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "ram.h"
|
||||
#include <memory/ram.h>
|
||||
#include <cstring>
|
||||
|
||||
RAM::RAM(u16 size) : size(size), readonly(false) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "mem_device.h"
|
||||
#include <memory/mem_device.h>
|
||||
|
||||
class RAM : public Mem_device {
|
||||
private:
|
||||
|
|
|
@ -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")
|
||||
{
|
||||
|
|
|
@ -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")
|
||||
{
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "doctest.h"
|
||||
#include "memory/ram.h"
|
||||
|
||||
#include <memory/ram.h>
|
||||
|
||||
TEST_SUITE_BEGIN("memory/ram");
|
||||
|
||||
|
|
Loading…
Reference in a new issue