2
0
Эх сурвалжийг харах

Added 'safe' return values to unimplemented SDLCore->openFolderPicker and SDLCore->openFilePicker.

Christopher Reed 12 жил өмнө
parent
commit
ca1e9c9c84

+ 4 - 2
Core/Contents/Source/PolySDLCore.cpp

@@ -420,11 +420,13 @@ void SDLCore::removeDiskItem(const String& itemPath) {
 }
 }
 
 
 String SDLCore::openFolderPicker() {
 String SDLCore::openFolderPicker() {
-
+	String r = "";
+	return r;
 }
 }
 
 
 vector<String> SDLCore::openFilePicker(vector<CoreFileExtension> extensions, bool allowMultiple) {
 vector<String> SDLCore::openFilePicker(vector<CoreFileExtension> extensions, bool allowMultiple) {
-
+	vector<String> r = vector<String>();
+	return r;
 }
 }
 
 
 void SDLCore::resizeTo(int xRes, int yRes) {
 void SDLCore::resizeTo(int xRes, int yRes) {