aboutsummaryrefslogtreecommitdiff
path: root/ctru-sys/src/services/gsplcd.rs
blob: 332ebefd812ed2537abb5a7dab65bf827a9b0292 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//TODO: Verify if anonymous enum is properly represented

use ::Result;

#[derive(Clone, Copy)]
#[repr(C)]
pub enum Enum_Unnamed1 {
    GSPLCD_SCREEN_TOP = 1,
    GSPLCD_SCREEN_BOTTOM = 2,
    GSPLCD_SCREEN_BOTH = 3,
}
extern "C" {
    pub fn gspLcdInit() -> Result;
    pub fn gspLcdExit();
    pub fn GSPLCD_PowerOnBacklight(screen: u32) -> Result;
    pub fn GSPLCD_PowerOffBacklight(screen: u32) -> Result;
}