From 10913bf1b8f6cf6eb8c85c0c3812038e762c72d5 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Sun, 1 Oct 2017 22:22:25 +0100 Subject: [PATCH] Remove some unused signals. Signed-off-by: Adrian Conlon --- LR35902/inc/GameBoyBus.h | 2 -- inc/Bus.h | 5 ----- 2 files changed, 7 deletions(-) diff --git a/LR35902/inc/GameBoyBus.h b/LR35902/inc/GameBoyBus.h index 9e64d39..3d9b147 100644 --- a/LR35902/inc/GameBoyBus.h +++ b/LR35902/inc/GameBoyBus.h @@ -122,14 +122,12 @@ namespace EightBit { Bus(); - Signal InterruptGenerated; Signal DisplayStatusModeUpdated; void reset(); void triggerInterrupt(int cause) { pokeRegister(IF, peekRegister(IF) | cause); - InterruptGenerated.fire(cause); } void writeRegister(int offset, uint8_t content) { diff --git a/inc/Bus.h b/inc/Bus.h index cb32280..5bd8e92 100644 --- a/inc/Bus.h +++ b/inc/Bus.h @@ -13,11 +13,8 @@ namespace EightBit { m_address.word = 0xffff; } - Signal WritingByte; Signal WrittenByte; - Signal ReadingByte; - Signal ReadByte; register16_t& ADDRESS() { return m_address; } uint8_t& DATA() { return *m_data; } @@ -53,7 +50,6 @@ namespace EightBit { uint8_t read() { ReadingByte.fire(ADDRESS().word); auto content = reference(); - ReadByte.fire(ADDRESS().word); return content; } @@ -68,7 +64,6 @@ namespace EightBit { } void write(uint8_t value) { - WritingByte.fire(ADDRESS().word); reference() = value; WrittenByte.fire(ADDRESS().word); }