Pk11
9416ec5ac0
Make select prompt scroll if too many options
...
Also a little cleanup to the file browse one for consistency
2022-10-24 14:35:04 +02:00
d0k3
c13bba4cfe
Fixed a boatload of compiler warnings
2022-03-22 19:40:47 +01:00
Pk11
830479f50c
Fix multibyte letters in keyboard and input prompt
2021-11-14 22:14:58 +01:00
Pk11
0275a85121
Convert old escapes to Unicode
...
Only does the ones below ASCII (0x00 - 0x1F), hopefully none of the high ones are important because they'll conflict with Unicode codepoints
2021-11-14 22:14:58 +01:00
Pk11
3eb92754bc
Use lookup table for ASCII to avoid binary search
2021-11-14 22:14:58 +01:00
Pk11
77fc7af2f2
Use macro for UTF-8 byte count
...
Makes it more clear why all of the buffers are being multiplied by 4
Fix UTF-8 bytesize macro
Before UTF_BUFFER_BYTESIZE(str_width - 10)] would multiply the 10, not the whole number, by UTF_MAX_BYTES_PER_RUNE
Do (rune_count + 1) * 4 in UTF-8 bytesize macro
Fix Resize/Truncate String snprintf size
Before it would break if the last character was multi-byte
2021-11-14 22:14:53 +01:00
Pk11
b366200d4b
Switch to a RIFF font format
...
Fix height of ラ character
I accidentally made it 1px too tall before
Add Cyrillic to default font
Make Я more like latin R
Right after I commit, looking at my screenshot I notice I forgot to tweak the Я to be more angled like this font's latin R...
Improve the default font's Kana
derp fix
Properly handle invalid UTF-8
Fix conversion PBMs with non-byte aligned rows
Rename font extension to .frf
For Font RiFf
Re-add PBM font support
Default converting to CP-437 and try guess size
Revert "Default converting to CP-437 and try guess size"
Reverts 2c9a47d224b28cbb51a3ee335fd9970265201b72 as I think the old behaviour works better given PBM font support being kept
Re-add mapping file for CP-437
Automatically use mapping file with same name as image
ex. for "font_6x10.pbm" it will use "font_6x10.txt" in the same directory
2021-11-14 22:13:55 +01:00
d0k3
294890057f
Display full filename in file info (for long filenames)
2021-03-14 14:56:35 +01:00
d0k3
8114a0bd26
Higher level warning for editing 0:/Nintendo
3DS/ folder
2021-02-15 17:58:59 +01:00
d0k3
e41b098843
Misc code improvements
2021-02-05 13:16:01 +01:00
Gabriel Marcano
d010f2858b
Remove trailing white space
...
- Removed trailing whitespace from all source code files (.c, .h. and
.s) and the README.md
2020-08-26 23:01:58 +02:00
d0k3
1633961707
Allow game icons as preview for scripting
2019-10-03 17:04:35 -03:00
d0k3
85c43795c3
Partially fix #537 (two fixes make one)
2019-10-03 17:04:35 -03:00
Wolfvak
47312797e2
Partially fix #537
...
if size was zero, the inputstr array could contain stack garbage
2019-10-03 17:04:35 -03:00
d0k3
dc9dc794b0
Added brightness setting dialogue to HOME more.. menu, some minor adaptions
2019-06-30 23:50:44 +02:00
Wolfvak
bd74ad00d8
add initial brightness config dialog, currently inaccessible
2019-06-07 17:13:42 -03:00
d0k3
ae5584aca0
Fix displaying alphabet preview in input tool
2019-06-03 02:28:27 +02:00
Wolfvak
b45bb966df
fixed an off by one error in the UI code that caused all rectangles to be drawn one pixel lower than indicated
2019-06-03 02:28:27 +02:00
Wolfvak
f179caaef3
removed useless stack clearing and whitespace
2019-06-03 02:28:27 +02:00
Wolfvak
256f2465d8
converted all bitmaps to RGB565
2019-06-03 02:28:26 +02:00
Wolfvak
6823e15584
enable write buffering on VRAM, optimize some UI drawing algorithms
2019-06-03 02:28:25 +02:00
Wolfvak
50e97d2dab
Moved most things to RGB565
2019-06-03 02:28:25 +02:00
d0k3
df21331218
New & improved touchscreen playground
2019-06-03 02:27:44 +02:00
d0k3
500333b011
Some source code reorganisation
2019-06-03 02:27:43 +02:00
d0k3
bc66cd0ccf
Improved touchscreen calibration GUI & playground
2019-06-03 02:27:43 +02:00
Wolfvak
79aa9191f7
- clamp down the touchscreen coordinates to boundaries
...
- fix annoying compilation warning regarding unsigned vs signed comparison
2019-06-03 02:27:42 +02:00
Wolfvak
70757e3385
- added extremely simple calibration dialog, to be replaced by something prettier/saner/safer at a later point in time
...
- moved all SPI code to the ARM11
- reimplemented NVRAM reading for the new SPI interface
2019-06-03 02:27:42 +02:00
Wolfvak
f5a877d00b
- implemented MCU stuff and its interrupts, thanks @profi200 for the info
...
- moved brightness control to the ARM11
- moved HID updating to the ARM11
- moved screen init from ARM9 to the ARM11, always performed unconditionally
- removed unnecessary SCREENINIT and SET_BRIGHTNESS pxi commands
and other stuff I probably forgot about
2019-06-03 02:27:41 +02:00
Eix
c644820e41
re-order the keyboard string to make renaming stuff less annoying
2019-03-15 00:34:42 +01:00
windows-server-2003
732165153b
Implemented new file selector
2019-03-15 00:34:41 +01:00
windows-server-2003
c10f6d1f9e
Fix potential buffer overflows
2018-06-14 12:37:42 +02:00
Hyarion Sanyënóna
ffa5eaaae4
Progress bars will not draw to screen faster than 30 Hz
2018-06-14 00:44:43 +02:00
d0k3
bdf635e39d
Fix a potential buffer overflow
...
thanks @windows-server-2003 !
2018-06-04 00:52:45 +02:00
windows-server-2003
46f67e1d18
Fix sprintf format vulnerability
2018-05-17 00:29:03 +02:00
d0k3
0caf2a6cbb
Scripting: add keysel command
2018-04-25 15:25:07 +02:00
d0k3
b0997fa687
Improved string display handling
...
should fix #344 for good
2018-04-17 23:44:53 +02:00
d0k3
ac514669a1
Properly handle UTF-8 filenames
2018-03-16 03:00:26 +01:00
d0k3
988f2634b0
Fix #316
2018-02-26 23:16:43 +01:00
d0k3
0fa9f52b08
Added PCX bitmap viewer
...
Fixes #299
2018-01-23 02:00:02 +01:00
d0k3
98bc5f00ec
Better handling for tiny fonts
2018-01-16 00:43:09 +01:00
d0k3
5df8c4b739
New, easier to edit font format
2018-01-15 01:49:04 +01:00
d0k3
48f7f4c652
Allow switching fonts at runtime
2018-01-13 17:05:51 +01:00
d0k3
a034214512
Revised font system
2018-01-13 16:11:14 +01:00
d0k3
973fef9eaf
Alphabet preview for string input
2017-12-27 16:33:19 +01:00
d0k3
52b3f128bf
Scripting: Allow PCX and custom text for preview
2017-12-20 00:13:31 +01:00
d0k3
d8521dfdb9
Added TIMER_UNLOCK build parameter
2017-12-07 02:58:49 +01:00
Wolfvak
0220230403
Replace QLZ with PCX for splash
2017-12-05 18:37:50 +01:00
d0k3
63767e5eae
Updated build system
...
Includes better handling for FLAVOR now, AUTO_UNLOCK for unlock
sequences and setting SD_TIMEOUT from make
2017-11-24 18:21:02 +01:00
d0k3
bf2ce1a37c
Use random keysequences and increase length for dangerous ones
2017-11-22 03:17:57 +01:00
Wolfvak
beeea37d07
Revised Makefile
2017-11-17 19:37:45 +01:00