diff --git a/src/Backends/Audio/SoftwareMixer/3DS.cpp b/src/Backends/Audio/SoftwareMixer/3DS.cpp index 0a6ae410..3d1e19be 100644 --- a/src/Backends/Audio/SoftwareMixer/3DS.cpp +++ b/src/Backends/Audio/SoftwareMixer/3DS.cpp @@ -76,7 +76,7 @@ unsigned long SoftwareMixerBackend_Init(void (*callback)(long *stream, size_t fr if (stream_buffer != NULL) { - if (ndspInit() == 0) + if (R_SUCCEEDED(ndspInit())) { ndspSetCallback(Callback, NULL); diff --git a/src/Backends/Platform/3DS.cpp b/src/Backends/Platform/3DS.cpp index 70f5f593..78e0eea3 100644 --- a/src/Backends/Platform/3DS.cpp +++ b/src/Backends/Platform/3DS.cpp @@ -17,9 +17,7 @@ bool Backend_Init(void (*drag_and_drop_callback)(const char *path), void (*windo gfxInitDefault(); consoleInit(GFX_BOTTOM, NULL); - Result rc = romfsInit(); - - if (rc == 0) + if (R_SUCCEEDED(romfsInit())) { osSetSpeedupEnable(true); // Enable New3DS speedup, since this doesn't run very well on Old3DSs yet @@ -44,7 +42,7 @@ void Backend_Deinit(void) void Backend_PostWindowCreation(void) { - + // Nothing to do here } bool Backend_GetBasePath(std::string *string_buffer)