ref: 2a73c12a5f0648075582e850cfbf9edcfdab9195
parent: c398ec7c25a4008428a9f1fae90d70f71355391f
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Oct 11 11:17:00 EDT 2020
3DS cleanup
--- a/src/Backends/Audio/SoftwareMixer/3DS.cpp
+++ b/src/Backends/Audio/SoftwareMixer/3DS.cpp
@@ -76,7 +76,7 @@
if (stream_buffer != NULL)
{
- if (ndspInit() == 0)
+ if (R_SUCCEEDED(ndspInit()))
{
ndspSetCallback(Callback, NULL);
--- a/src/Backends/Platform/3DS.cpp
+++ b/src/Backends/Platform/3DS.cpp
@@ -17,9 +17,7 @@
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_PostWindowCreation(void)
{
-
+ // Nothing to do here
}
bool Backend_GetBasePath(std::string *string_buffer)