a437a76f35
save battery levels to config
2022-03-06 22:47:21 +01:00
3c92afa3fc
Add support for changing the DS and DSi battery level
...
The DS battery level is configured via the SPI Power Management Device,
and the DSi's is configured via the I2C BPTWL. Add support for changing
these registers and add the "Power Management" dialog in the UI.
2022-02-18 15:56:44 +00:00
35cc79787d
update copyright headers
2022-01-09 02:15:50 +01:00
e665e25bd3
Custom path support ( #1333 )
...
also including:
* getting rid of shitty strings
* all new, cleaner ROM handling code
* base for DSi savestates
* GBA slot addons (for now, memory cart)
2022-01-07 14:00:43 +01:00
73d7bada87
add valid wifi data to the default firmware
2021-11-20 13:22:20 +01:00
1472a0ec4b
move 'randomize MAC' setting to firmware settings, and add setting for changing the MAC.
...
make things overall betterer.
2021-11-19 13:31:14 +01:00
f73df85d1c
make external-BIOS toggle also explicitly control external firmware
...
make things a tad more consistent and explicit
2021-11-18 18:17:48 +01:00
d5b248bb86
decouple more config shit from the core. bahahah
2021-11-17 21:44:49 +01:00
5bb8f4c922
* remove more Config dependencies from the core
...
* also use less shitty strings
2021-11-17 20:42:11 +01:00
d378b0252f
Generate a simple non-bootable firmware when not provided. (v2) ( #1175 )
...
* Generate a simple non-bootable firmware when not provided.
* Expose Username and Language into settings dialog.
* Add firmware overrides for more settings. Also make override optionals when a firmware is provided.
* Refactor firmware settings into separate dialog.
* use usernameLength instead of u16Username.length() (#3 )
* Fix curly braces code-style.
* LoadUserSettingsFromConfig: convert from UTF-8 to UTF-16 via wstring_convert
* Fix firmware username capitalization.
* cleanup firmware backup logic
* Put brace where it should be
Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com >
Co-authored-by: Filippo Scognamiglio <flscogna@gmail.com >
Co-authored-by: kyandora <71771686+kyandora@users.noreply.github.com >
Co-authored-by: Filippo Scognamiglio <filippo.scognamiglio@felgo.com >
Co-authored-by: RSDuck <RSDuck@users.noreply.github.com >
Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com >
2021-10-02 20:16:27 +02:00
523552a92d
actually make DSi-mode direct boot work to some extent
2021-08-30 20:26:49 +02:00
235da420c8
having fun with fatfs ( #1189 )
...
* patch TSC coords in DSi mode
* DSiware importer and shit
2021-08-24 17:46:20 +02:00
436b3c4c1d
update copyright year and add missing GPL headers
2021-03-12 20:07:40 +01:00
34da7f5cc3
minor code refactoring, to simplify BizHawk support ( #958 )
2021-01-22 19:05:07 +01:00
abccc44eec
make MAC randomization optional
2020-08-24 19:19:41 +02:00
c9447935ff
NWifi: correctly determine ROM/chip/etc IDs based on hardware version (as specified in firmware).
...
fixes #700
2020-08-19 17:53:31 +02:00
e43a216ab5
take care of some minor details
2020-06-21 11:02:42 +02:00
43e045357f
make it able to switch between DS and DSi modes
2020-06-01 20:36:30 +02:00
b62d90cbe4
Merge remote-tracking branch 'remotes/origin/master' into melonDSi
2020-05-30 03:19:20 +02:00
2327de2423
Merge commit '4b57416552ec2fa95216e2b044559f215723bf70' into melonDSi
2020-05-30 03:12:42 +02:00
17d30e91f0
actually hook this up
2020-05-17 04:37:44 +02:00
83f8e11bc1
update copyright years
2020-02-14 20:18:08 +01:00
118b3b0f24
don't auto-patch firmware touchscreen coordinates, atleast until we find out whether that causes problems in DSi mode
2019-10-15 23:30:01 +02:00
a6a9f74acc
lay base for DSi-mode TSC
2019-08-04 11:44:36 +02:00
f7f4ff0519
wifi: take this shit further. complete wifi init
2019-08-04 02:16:16 +02:00
58e3ff61ac
add I2C shito
2019-06-15 16:58:02 +02:00
3a9410b5d0
Firmware backup writing now uses OpenLocalFile
2019-05-13 23:05:50 +01:00
f91eb18152
Fix all -Wwrite-strings warnings
2019-05-04 14:07:02 +01:00
f08b87b41f
* move melon_fopen_local() to Platform.cpp
...
* make it require that the file already exist (hopefully fixing config saving bug)
* finally axe melon_fopen.cpp
2019-03-27 13:34:26 +01:00
b0efde8bf7
also, update copyright name
2019-01-22 15:58:29 +01:00
c7433ca664
finalize microphone code (hooked to all settings etc)
...
also add volume setting
2018-12-14 05:15:57 +01:00
2c8f674318
add ROM #3159 to romlist.bin
2018-12-12 17:23:54 +01:00
758bed93bc
preliminary microphone code. requires an actual microphone. resulting audio is farty and blargy as fuck.
2018-12-12 16:33:40 +01:00
40f3f91368
move config-file seeking code to its own thing.
...
look also into the same directory as melonDS. make it the preferred place for storing melonDS.ini.
rewrite WinMain() wrapper.
2018-12-11 21:34:05 +01:00
cbe5780837
SPI done
2018-10-18 02:54:48 +02:00
fea7955675
fixor copyright years.
2018-09-15 02:32:13 +02:00
52df6be5f8
Load bios, firmware and melonDS.ini from executable or ~/.config/melonds or AppData
2018-01-11 14:38:57 -08:00
141e2a7ab0
clear chipselect when turning SPI off. fixes libnds bugs.
2017-12-19 00:20:36 +01:00
495d0ba12d
add support for SPI shutdown, btw
2017-09-21 03:59:12 +02:00
0106406aff
* allow 128KB firmwares (DSi/3DS dumps)
...
* document firmware sizes better
2017-08-05 19:13:55 +02:00
cb0e026ec1
implement transfer delays for both SPI busses
...
also make microphone input return 0x800
2017-07-15 19:29:10 +02:00
77627af438
* implement firmware saving for user settings
...
* fix bug with SPI commands that have no parameters
2017-06-26 00:35:19 +02:00
0c31a7ab01
quick hack: Tab toggles framerate limit.
...
misc little fix.
2017-05-25 22:46:01 +02:00
01361f006e
(untested yet) code for sending and receiving packets via sockets
...
MAC randomization
2017-05-11 23:43:57 +02:00
a4f436f827
* stub more wifi crap
...
* louder sound
* misc fixes
2017-04-07 17:37:49 +02:00
3a89513c93
* more accurate direct boot
...
* improve touchscreen precision a bit
* proper support for 512KB firmwares
2017-03-21 00:53:04 +01:00
8a4ed8f41c
reorganize repo, move shit around
2017-03-16 23:01:22 +01:00