Skip to content

Commit 74e20d0

Browse files
Merge pull request Playgama#3 from KorolevSoftware/main
fix header
2 parents 9a5799e + ac941f6 commit 74e20d0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

bridge/bridge_storage.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ local app_name = sys.get_config_string("title", "defold_game")
55
local path_to_save_file = sys.get_save_file(app_name, "bridge_storage_data")
66
local load_data = {}
77

8+
function storage.default_type()
9+
return "local_storage"
10+
end
11+
812
function storage.is_supported(storageType)
913
if storageType == "local_storage" then
1014
return true

bridge/src/bridge.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#define LIB_NAME "Bridge"
22
#define MODULE_NAME "Bridge"
3+
#include <dmsdk/sdk.h>
34

45
#if defined(DM_PLATFORM_HTML5)
56
#include "bridge.h"

0 commit comments

Comments
 (0)