Commit graph

10 commits

Author SHA1 Message Date
Clownacy
cf92263fba 3DS - Swap ZL and ZR
I use the D-pad on the 3DS, rendering the L and ZL buttons basically
unusable. By swapping ZL and ZR, I can cycle through the weapons both
ways with only my right hand.
2020-10-14 23:43:07 +01:00
Clownacy
658c38b350 Remove unnecessary function calls
These are called internally by libctru
2020-10-14 18:41:12 +01:00
Clownacy
e732534e91 3DS - Fix hang on shutdown 2020-10-14 18:40:37 +01:00
Clownacy
a77cc0a559 Optimise the 3DS port (now runs okay on Old3DSs)
This commit customises the software renderer specifically for the
3DS, taking into account its rotated framebuffer and BGR format.

With this, the game appears to run full-speed on Old3DSs. Of course,
the level transition effect still makes the console chug, but that
thing was always a bit of a bottleneck.
2020-10-12 17:32:31 +01:00
Clownacy
8513a1d7d8
Correct 3DS Backend_PrintInfo writing to stderr 2020-10-12 10:37:19 +01:00
Clownacy
8d296f0385 Allow backend to specify data folder
On the 3DS, I want the data files to go in the read-only ROMFS, while
save data goes on the SD card. This is impossible with the current
system, so I'm changing it.

The other backends will need updating to support this.
2020-10-11 15:58:48 +01:00
Clownacy
2a73c12a5f 3DS cleanup 2020-10-11 15:17:00 +01:00
Clownacy
c398ec7c25 Cleanup and enable New3DS speedup 2020-10-11 14:42:27 +01:00
Clownacy
10c4831160 Better 3DS debug logging and fix console output
Was using the wrong screen
2020-10-11 14:25:48 +01:00
Clownacy
f5b3b2e0d0 Add a basic 3DS port
Was a lot easier than I expected. The software renderer is such a
godsend for quick-and-dirty ports.

Oddly enough, even on an old3DS, this actually almost runs at full
speed (hits around 40FPS in Mimiga Village).

There's a lot of work left to do before this is actually useable:
* There's no audio
* You can't save
* A proper hardware-accelerated renderer is needed
2020-10-11 00:09:22 +01:00