76e8933a05
finish buttoning up the new NDSCart. kiss NDSCart_SRAM goodbye.
2021-04-23 23:44:03 +02:00
5f0e119e34
SD/MMC: don't assume space/data is available when a SD read/write command is issued. fixes bug where unlaunch would corrupt the NAND when saving settings.
...
this finally fixes #956 I guess
2021-04-23 23:04:55 +02:00
d7140543c5
fix unlaunch 'battery low' error
...
settings still don't survive a reset for some reason
2021-04-23 22:30:53 +02:00
964199ab47
blarg
2021-04-23 20:57:03 +02:00
3a05b68223
begin clearing up things
2021-04-23 20:56:32 +02:00
8fb238f60f
add cart-SPI hold-reset behavior
2021-04-23 20:51:34 +02:00
b5e4871930
don't hardcode numbers you derp
...
also add some extra safety
2021-04-21 20:34:38 +02:00
49fa1b5290
savemem size for WarioWare is 16MB. fixes #1068
...
(also, fix some wonky code)
2021-04-21 12:26:31 +02:00
a8a7177d8f
lay base and detection logic for the pokémon typing cart
2021-04-18 00:57:16 +02:00
30c3bee5d4
make Generic happy :P
2021-04-18 00:17:43 +02:00
d3503bf4f1
add the pokémon thing
2021-04-18 00:04:33 +02:00
44a4cc83d1
actually make the NAND thing work
2021-04-15 01:14:50 +02:00
2c5049d40a
move DLDI shenanigans to CartHomebrew, too
2021-04-14 23:22:01 +02:00
41230881b2
fix mishap. also likely more accurate behavior for DSi secure area shito.
2021-04-14 22:57:10 +02:00
1eb63089cd
move KEY1 command decryption to the cart class, too
2021-04-14 22:46:01 +02:00
e423c234e3
start decoupling the cart classes from the global NDSCart state
2021-04-14 22:27:54 +02:00
02620026dd
make SRAM loading less derpy (always pull SRAM size from gamelist)
2021-04-14 22:06:33 +02:00
109fc776da
begin work on the NAND thing
2021-04-14 19:26:58 +02:00
77a0d83de7
IR thing isn't just for Pokémon
2021-04-14 00:28:06 +02:00
234cdc8e66
new code actually working to some extent now... still incomplete, and still a lot of junk to remove
2021-04-14 00:05:01 +02:00
9d849ac106
get further with this
2021-04-13 02:27:17 +02:00
875a305595
lay class base
2021-04-11 03:17:11 +02:00
707b2396f2
remove variables that don't actually exist
2021-04-10 20:24:51 +02:00
24824d7c66
what??
2021-04-10 20:21:32 +02:00
150ce7af61
annotate what parts of the NDSCart module are used from outside.
...
also might want to support ROM writing on both ARM9 and ARM7 and properly check EXMEMCNT.
2021-04-10 20:04:00 +02:00
af3fa1236e
get this started (just laying bases for now)
2021-04-09 15:29:04 +02:00
d5dbef2c22
make path inputs support drag/dropping files onto them to add the path quickly. fixes #1033
2021-03-29 01:08:22 +02:00
284a9b73b0
keep recent filenames from being absurdly long in the menu
2021-03-27 01:54:55 +01:00
7e6cf61b4c
Fix static iconv linking on Windows
2021-03-26 18:04:19 +00:00
2c2e868de0
Disable JIT write-protect when de-initialising on ARM64 macOS
2021-03-22 20:14:21 +00:00
ac49d8e25c
Update copyright year and add missing GPL headers part 2
...
Looks like a lot of files were missed...
Closes #1036
2021-03-21 21:32:26 +00:00
6b431a6664
Allow bundling libraries on macOS ( #1013 )
2021-03-21 15:32:23 +00:00
f7347b1f7a
tell pkg-config the location of libarchive
2021-03-21 15:12:34 +00:00
f060162dac
attempt at fixing #1037
2021-03-17 16:44:54 +01:00
fbe691a673
fix read from unassigned variable for large BGs
2021-03-16 20:57:30 +01:00
7f8a58b8fe
Set up CI with Azure Pipelines
...
blarg [skip ci]
2021-03-15 19:28:56 +01:00
436b3c4c1d
update copyright year and add missing GPL headers
2021-03-12 20:07:40 +01:00
a08f70e3a5
Set macOS Deployment Target to 10.14
2021-03-12 17:53:50 +00:00
bc63531e00
avoid leaking threads in NDSCart_SRAMManager
...
also atomics
2021-03-11 16:54:43 +01:00
ae7761c33e
Remove temporary macOS CI workarounds
2021-03-08 12:50:09 +00:00
0ea85fdd2b
Use setup-msys2 GitHub Action ( #1029 )
...
* Use setup-msys2 GitHub Action
This makes the Windows CI a few minutes faster
2021-03-06 19:37:51 +00:00
6a3aa551da
remove direct reference to Switch frontend header
2021-03-03 00:43:56 +01:00
cb34032ac8
Set macOS Deployment Target to 10.13
...
It's the minimum that the latest Qt 5 supports
2021-03-01 13:12:02 +00:00
41dd448e28
call Renderer2D::VBlankEnd at vblank end
...
instead of vblank start
2021-03-01 04:06:11 +01:00
a046eb5038
separate GPU2D registers and renderer
2021-02-27 22:25:42 +01:00
f8692f85a4
Only use special ar and ranlib command when ENABLE_LTO is ON. ( #1018 )
...
This allows melonDS to be built with the standard system toolchain
on NetBSD, see discussion in #1016
2021-02-26 16:54:36 +00:00
89051f63d4
Define CONTEXT_PC and use instead for much cleaner code ( #1017 )
...
* Define CONTEXT_PC and use instead for much cleaner code
Also include ways to get the Program Counter on ARM64 FreeBSD and NetBSD
2021-02-25 21:17:11 +00:00
81980d2836
Request microphone permissions on macOS
2021-02-25 09:12:22 +00:00
68da2ace58
Include winsock2.h before windows.h
2021-02-23 18:15:02 +00:00
94dcc9523e
SRAM things ( #970 )
...
* Allow SRAMManager to save to/load from a buffer.
* Don't delete what doesn't exist. Don't create a thread that will do absolutely nothing.
* Update SRAMManager's SecondaryBuffer when loading a savestate.
2021-02-23 02:46:02 +01:00