/** * Copyright (c) 2026 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #pragma once #include "system/system.h" /** * Initializes the Dolphin system module. * * @return Error code indicating success or failure. */ errorret_t systemInitDolphin(void); /** * Returns which Dolphin system dialog is currently open (if any). * * @return Currently open system dialog type. */ systemdialogtype_t systemGetActiveDialogTypeDolphin(void); /** * Returns either CONF_ASPECT_4_3 or CONF_ASPECT_16_9 depending on the aspect * ratio of the system. I do believe that Gamecube will only ever return 4:3. * * Refer to; * https://github.com/devkitPro/libogc/blob/20d90e944b83c8991538e88b00b1e5f309428e85/gc/ogc/conf.h#L190 * * @return Aspect ratio of the system. */ int32_t systemGetAspectRatioDolphin(void); /** * Returns the language the system is set to. This is used for things like * locale management, to try to match the system language if possible. * * Refer to; * https://github.com/devkitPro/libogc/blob/20d90e944b83c8991538e88b00b1e5f309428e85/gc/ogc/conf.h#L190 * * On gamecube, refer to; * https://libogc.devkitpro.org/system_8h.html * * @return System language. */ int32_t systemGetLanguageDolphin(void); // There's actually a tonne more things Wii can return, this is it for now // though.