MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / Content

Method Content

Source/Basic/Content.cpp:1518–1526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516
1517#if BX_PLATFORM_ANDROID
1518Content::Content()
1519 : _thread(SharedAsyncThread.newThread())
1520 , _appPath(getPrefPath()) {
1521 _apkFilter = "assets/"s;
1522 _assetPath = SharedApplication.getAPKPath() + '/' + _apkFilter;
1523 trimTrailingSlashes(_assetPath);
1524 _apkFile = New<ZipFile>(SharedApplication.getAPKPath(), _apkFilter);
1525 _writablePath = _appPath;
1526}
1527
1528uint8_t* Content::loadUnsafe(String filename, int64_t& size) {
1529 uint8_t* data = nullptr;

Callers

nothing calls this directly

Calls 7

getPrefPathFunction · 0.85
trimTrailingSlashesFunction · 0.85
current_pathFunction · 0.85
SDL_freeFunction · 0.85
newThreadMethod · 0.80
SDL_GetBasePathFunction · 0.50
stringMethod · 0.45

Tested by

no test coverage detected