Various fixes. Note: This contains debug stuff which will be removed later. I was getting tired of having to cherrypick tiny changes

This commit is contained in:
Adubbz 2019-08-04 13:10:45 +10:00
parent b2dd198dc8
commit ef28b7d395
16 changed files with 639 additions and 174 deletions

View file

@ -13,26 +13,37 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <inttypes.h>
#include "impl/lr_manager.hpp"
#include "lr_manager_service.hpp"
#include "debug.hpp"
namespace sts::lr {
Result LocationResolverManagerService::OpenLocationResolver(Out<std::shared_ptr<ILocationResolver>> out, ncm::StorageId storage_id) {
R_DEBUG_START
return impl::OpenLocationResolver(out, storage_id);
R_DEBUG_END
}
Result LocationResolverManagerService::OpenRegisteredLocationResolver(Out<std::shared_ptr<RegisteredLocationResolverInterface>> out) {
R_DEBUG_START
return impl::OpenRegisteredLocationResolver(out);
R_DEBUG_END
}
Result LocationResolverManagerService::RefreshLocationResolver(ncm::StorageId storage_id) {
R_DEBUG_START
D_LOG("storage_id: 0x%x\n", static_cast<u8>(storage_id));
return impl::RefreshLocationResolver(storage_id);
R_DEBUG_END
}
Result LocationResolverManagerService::OpenAddOnContentLocationResolver(Out<std::shared_ptr<AddOnContentLocationResolverInterface>> out) {
R_DEBUG_START
return impl::OpenAddOnContentLocationResolver(out);
R_DEBUG_END
}
}