summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/gb_lcd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/gb_lcd.cpp')
-rw-r--r--src/devices/video/gb_lcd.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/devices/video/gb_lcd.cpp b/src/devices/video/gb_lcd.cpp
index 6be32fc7588..8439f33fc94 100644
--- a/src/devices/video/gb_lcd.cpp
+++ b/src/devices/video/gb_lcd.cpp
@@ -158,6 +158,9 @@ TODO:
#include "emu.h"
#include "video/gb_lcd.h"
+#include "screen.h"
+
+
#define ENABLE_LOGGING 0
#define LOG(x) do { if (ENABLE_LOGGING) logerror x; } while(0)
@@ -309,10 +312,10 @@ static const uint8_t ags_oam_fingerprint[0x100] = {
#endif
-const device_type DMG_PPU = &device_creator<dmg_ppu_device>;
-const device_type MGB_PPU = &device_creator<mgb_ppu_device>;
-const device_type SGB_PPU = &device_creator<sgb_ppu_device>;
-const device_type CGB_PPU = &device_creator<cgb_ppu_device>;
+const device_type DMG_PPU = device_creator<dmg_ppu_device>;
+const device_type MGB_PPU = device_creator<mgb_ppu_device>;
+const device_type SGB_PPU = device_creator<sgb_ppu_device>;
+const device_type CGB_PPU = device_creator<cgb_ppu_device>;