Move MBC implementations into cartridge subfolder
This commit is contained in:
parent
89fc62b312
commit
2762b3aa8b
4 changed files with 3 additions and 3 deletions
2
Makeconf
2
Makeconf
|
@ -8,9 +8,9 @@ modules_libemu.a := memory/device.o \
|
||||||
memory/bootrom_overlay.o \
|
memory/bootrom_overlay.o \
|
||||||
memory/register.o \
|
memory/register.o \
|
||||||
memory/bank.o \
|
memory/bank.o \
|
||||||
memory/mbc/mbc1.o \
|
|
||||||
cpu/cpu.o \
|
cpu/cpu.o \
|
||||||
cpu/decoder.o \
|
cpu/decoder.o \
|
||||||
|
cartridge/mbc/mbc1.o \
|
||||||
cartridge/cartridge.o
|
cartridge/cartridge.o
|
||||||
|
|
||||||
modules_vgbc := main.o libemu.a
|
modules_vgbc := main.o libemu.a
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <memory/mbc/mbc1.h>
|
#include <cartridge/mbc/mbc1.h>
|
||||||
#include <misc/exception.h>
|
#include <misc/exception.h>
|
||||||
|
|
||||||
MBC1::MBC1(Cartridge& cart)
|
MBC1::MBC1(Cartridge& cart)
|
2
main.cpp
2
main.cpp
|
@ -1,6 +1,6 @@
|
||||||
#include <cpu/cpu.h>
|
#include <cpu/cpu.h>
|
||||||
#include <cartridge/cartridge.h>
|
#include <cartridge/cartridge.h>
|
||||||
#include <memory/mbc/mbc1.h>
|
#include <cartridge/mbc/mbc1.h>
|
||||||
#include <memory/ram.h>
|
#include <memory/ram.h>
|
||||||
#include <memory/bus.h>
|
#include <memory/bus.h>
|
||||||
#include <memory/register.h>
|
#include <memory/register.h>
|
||||||
|
|
Loading…
Reference in a new issue