draft transfer implementation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <MainApplication.hpp>
|
||||
#include <data.h>
|
||||
#include <fs.h>
|
||||
#include "util.hpp"
|
||||
#include "main.hpp"
|
||||
|
||||
static int nxlink_sock = -1;
|
||||
|
||||
@@ -35,7 +35,14 @@ extern "C" void userAppExit() {
|
||||
|
||||
// Main entrypoint
|
||||
int main() {
|
||||
printf("main\n");
|
||||
Result res = servicesInit();
|
||||
if (R_FAILED(res)) {
|
||||
servicesExit();
|
||||
exit(res);
|
||||
}
|
||||
|
||||
loadTitles();
|
||||
|
||||
// First create our renderer, where one can customize SDL or other stuff's
|
||||
// initialization.
|
||||
auto renderer_opts = pu::ui::render::RendererInitOptions(
|
||||
@@ -46,8 +53,6 @@ int main() {
|
||||
|
||||
auto renderer = pu::ui::render::Renderer::New(renderer_opts);
|
||||
|
||||
data::init();
|
||||
fs::init();
|
||||
// Create our main application from the renderer
|
||||
auto main = ui::MainApplication::New(renderer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user