summaryrefslogtreecommitdiffstats
path: root/src/core/hw/lcd.h
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-05-17 22:07:06 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-12 12:10:47 +0200
commitb1c8bad9a646b2f4ae1b03c45844d060d8889aab (patch)
treef0eca82b818d9448f4713ad61ce1d515b0e8cae7 /src/core/hw/lcd.h
parentUpdate CONTRIBUTING.md (diff)
downloadyuzu-b1c8bad9a646b2f4ae1b03c45844d060d8889aab.tar
yuzu-b1c8bad9a646b2f4ae1b03c45844d060d8889aab.tar.gz
yuzu-b1c8bad9a646b2f4ae1b03c45844d060d8889aab.tar.bz2
yuzu-b1c8bad9a646b2f4ae1b03c45844d060d8889aab.tar.lz
yuzu-b1c8bad9a646b2f4ae1b03c45844d060d8889aab.tar.xz
yuzu-b1c8bad9a646b2f4ae1b03c45844d060d8889aab.tar.zst
yuzu-b1c8bad9a646b2f4ae1b03c45844d060d8889aab.zip
Diffstat (limited to 'src/core/hw/lcd.h')
-rw-r--r--src/core/hw/lcd.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/core/hw/lcd.h b/src/core/hw/lcd.h
index 2dd3b4adc..2ae852d7c 100644
--- a/src/core/hw/lcd.h
+++ b/src/core/hw/lcd.h
@@ -17,6 +17,10 @@ struct Registers {
u32 framebuffer_sub_left_2;
u32 framebuffer_sub_right_1;
u32 framebuffer_sub_right_2;
+
+ u32 command_list_size;
+ u32 command_list_address;
+ u32 command_processing_enabled;
};
extern Registers g_regs;
@@ -24,7 +28,7 @@ extern Registers g_regs;
enum {
TOP_ASPECT_X = 0x5,
TOP_ASPECT_Y = 0x3,
-
+
TOP_HEIGHT = 240,
TOP_WIDTH = 400,
BOTTOM_WIDTH = 320,
@@ -57,12 +61,16 @@ enum {
REG_FRAMEBUFFER_SUB_LEFT_2 = 0x1EF0056C, // Sub LCD, second framebuffer
REG_FRAMEBUFFER_SUB_RIGHT_1 = 0x1EF00594, // Sub LCD, unused first framebuffer
REG_FRAMEBUFFER_SUB_RIGHT_2 = 0x1EF00598, // Sub LCD, unused second framebuffer
+
+ CommandListSize = 0x1EF018E0,
+ CommandListAddress = 0x1EF018E8,
+ ProcessCommandList = 0x1EF018F0,
};
/// Framebuffer location
enum FramebufferLocation {
FRAMEBUFFER_LOCATION_UNKNOWN, ///< Framebuffer location is unknown
- FRAMEBUFFER_LOCATION_FCRAM, ///< Framebuffer is in the GSP heap
+ FRAMEBUFFER_LOCATION_FCRAM, ///< Framebuffer is in the GSP heap
FRAMEBUFFER_LOCATION_VRAM, ///< Framebuffer is in VRAM
};