Any-Region-Changer-ModMii-E.../source/detect_settings.h

42 lines
1.3 KiB
C
Raw Permalink Normal View History

2022-04-21 02:12:38 +02:00
/*-------------------------------------------------------------
2022-04-21 03:38:39 +02:00
2022-04-21 02:12:38 +02:00
detect_settings.h -- detects various system settings
2022-04-21 03:38:39 +02:00
2022-04-21 02:12:38 +02:00
Copyright (C) 2008 tona
Unless other credit specified
2022-04-21 03:38:39 +02:00
2022-04-21 02:12:38 +02:00
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
2022-04-21 03:38:39 +02:00
2022-04-21 02:12:38 +02:00
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:
2022-04-21 03:38:39 +02:00
2022-04-21 02:12:38 +02:00
1.The origin of this software must not be misrepresented; you
must not claim that you wrote the original software. If you use
this software in a product, an acknowledgment in the product
documentation would be appreciated but is not required.
2022-04-21 03:38:39 +02:00
2022-04-21 02:12:38 +02:00
2.Altered source versions must be plainly marked as such, and
must not be misrepresented as being the original software.
2022-04-21 03:38:39 +02:00
2022-04-21 02:12:38 +02:00
3.This notice may not be removed or altered from any source
distribution.
2022-04-21 03:38:39 +02:00
2022-04-21 02:12:38 +02:00
-------------------------------------------------------------*/
#ifndef __SYSMENU_DETECT_H_
#define __SYSMENU_DETECT_H_
2022-04-21 03:38:39 +02:00
// Get the title version of a given title
2022-04-21 02:12:38 +02:00
u16 get_installed_title_version(u64 title);
2022-04-21 03:38:39 +02:00
// Get the IOS version of a given title
2022-04-21 02:12:38 +02:00
u64 get_title_ios(u64 title);
2022-04-21 03:38:39 +02:00
// Get the region that the System menu is currently using
2022-04-21 02:12:38 +02:00
char get_sysmenu_region(void);
#endif