Skip to content

system

SystemAvInfo

Bases: Structure

retro_system_av_info

Source code in src/retropy/core/os/system.py
class SystemAvInfo(Structure):
    """retro_system_av_info"""

    _fields_ = [("geometry", GameGeometry), ("timing", SystemTiming)]

    geometry: GameGeometry
    timing: SystemTiming

SystemContenInfoOverride

Bases: Structure

retro_system_content_info_override

Source code in src/retropy/core/os/system.py
class SystemContenInfoOverride(Structure):
    """retro_system_content_info_override"""

    _fields_ = [
        ("extensions", c_char_p),
        ("need_fullpath", c_bool),
        ("persistent_data", c_bool),
    ]

    extensions: bytes
    need_fullpath: bool
    persistent_data: bool

SystemInfo

Bases: Structure

retro_system_info

Source code in src/retropy/core/os/system.py
class SystemInfo(Structure):
    """retro_system_info"""

    _fields_ = [
        ("library_name", c_char_p),
        ("library_version", c_char_p),
        ("valid_extensions", c_char_p),
        ("need_fullpath", c_bool),
        ("block_extract", c_bool),
    ]

    library_name: bytes
    library_version: bytes
    valid_extensions: bytes
    need_fullpath: bool
    block_extract: bool

SystemTiming

Bases: Structure

retro_system_timing

Source code in src/retropy/core/os/system.py
class SystemTiming(Structure):
    """retro_system_timing"""

    _fields_ = [("fps", c_double), ("sample_rate", c_double)]

    fps: float
    sample_rate: float