Create screenshots folder if it doesn't exist

When taking a screenshot the windows implementation will now check for a folder to save to and create it if it does not exist

g_pApp->field_D58 is now g_pApp->m_externalStorageDir
This commit is contained in:
Vruk
2023-07-31 05:50:26 -07:00
parent 3ccf62e613
commit cf6d27f123
4 changed files with 38 additions and 5 deletions

View File

@@ -231,7 +231,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLin
g_pApp = new NinecraftApp;
g_pApp->m_pPlatform = &g_AppPlatform;
g_pApp->field_D58 = ".";
g_pApp->m_externalStorageDir = ".";
// initialize the app
g_pApp->init();