mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
(Android) Added device info as debug log output on application startup
This commit is contained in:
parent
3d4dcadc47
commit
c42c009c59
|
@ -858,6 +858,7 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
LOG(LogDebug) << "Android API level: " << SDL_GetAndroidSDKVersion();
|
LOG(LogDebug) << "Android API level: " << SDL_GetAndroidSDKVersion();
|
||||||
|
Utils::Platform::Android::printDeviceInfo();
|
||||||
int storageState {SDL_AndroidGetExternalStorageState()};
|
int storageState {SDL_AndroidGetExternalStorageState()};
|
||||||
if (storageState == 0) {
|
if (storageState == 0) {
|
||||||
LOG(LogError) << "Android external storage state: " << SDL_GetError();
|
LOG(LogError) << "Android external storage state: " << SDL_GetError();
|
||||||
|
|
Loading…
Reference in a new issue