summaryrefslogtreecommitdiffstats
path: root/gui/resources.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-07-21 22:24:39 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-07-28 15:50:59 +0200
commit780cd39e422943f7c46be84de5494ae7045e1a5e (patch)
tree0ed259ee9c6e5f2106fae19fd4013281a98f1e09 /gui/resources.cpp
parentOnly disable recovery flash if it is truly "stock" recovery (diff)
downloadandroid_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar
android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.gz
android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.bz2
android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.lz
android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.xz
android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.tar.zst
android_bootable_recovery-780cd39e422943f7c46be84de5494ae7045e1a5e.zip
Diffstat (limited to 'gui/resources.cpp')
-rw-r--r--gui/resources.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/resources.cpp b/gui/resources.cpp
index 7a50a899b..8d430b1ec 100644
--- a/gui/resources.cpp
+++ b/gui/resources.cpp
@@ -183,6 +183,11 @@ Resource* ResourceManager::FindResource(std::string name)
ResourceManager::ResourceManager(xml_node<>* resList, ZipArchive* pZip)
{
+ LoadResources(resList, pZip);
+}
+
+void ResourceManager::LoadResources(xml_node<>* resList, ZipArchive* pZip)
+{
xml_node<>* child;
if (!resList)