Commit graph

1897 commits

Author SHA1 Message Date
Arisotura
ab48461dc5 Merge branch 'master' of https://github.com/Arisotura/melonDS 2021-07-20 19:30:47 +02:00
Arisotura
740071e427 oopsies 2021-07-20 19:30:29 +02:00
RSDuck
fdb6d226fd enable undo savestate load in the gui 2021-07-17 23:30:57 +02:00
Arisotura
98072d82bf shut up DSi-IO warnings 2021-07-17 18:26:56 +02:00
DesperateProgrammer
3a9e07c0b1
Fallback to backup DSi Footer in NAND Image (#1154)
* - added fallback to DSi footer copy at 000FF800h if reading footer at end of file failed. See https://problemkaputt.de/gbatek.htm#dsisdmmcimages
- changed output of ConsoleID to use PRIx64 to be consistent with all other tools working with the consoleID (readability/cosmetic improvement)

* Remove extra space

Co-authored-by: Tim Seidel <t.seidel@kts-systeme.de>
Co-authored-by: RSDuck <RSDuck@users.noreply.github.com>
2021-07-13 15:01:42 +02:00
WaluigiWare64
e5240a688c
Add ROM Header struct and ROM info dialog (#1095) 2021-07-02 16:42:54 +00:00
Arisotura
778d5468ec getting somewhere 2021-06-30 14:37:37 +02:00
RSDuck
5a071c4c29 some tiny A64 optimisations 2021-06-30 00:41:04 +02:00
RSDuck
aa430608e7 support allocating more registers for aarch64 JIT
also some minor fixes for the x64 JIT as well
2021-06-29 22:25:43 +02:00
Arisotura
d2bff7c187 make some progress 2021-06-29 20:49:43 +02:00
Arisotura
a9545fbf32 complete it, I guess 2021-06-28 17:03:39 +02:00
Arisotura
c8af82af64 add some of the GBA slot/wifi timings 2021-06-28 16:35:39 +02:00
Arisotura
65aff943f6 begin work 2021-06-28 03:14:06 +02:00
RSDuck
dd53b01f76 only recalculate GBA slot timing if necessary 2021-06-27 00:45:21 +02:00
Arisotura
dd2b86d026 add missing default return value. fixes #1105 2021-06-20 02:23:45 +02:00
Arisotura
5b9f972625 UI: detect and save when window is maximized, and restore it as such. fixes #1135 2021-06-20 02:21:48 +02:00
WaluigiWare64
1cd477db71 Change workflow upload name to platform on GitHub CI 2021-06-13 13:06:15 +01:00
WaluigiWare64
f94b784c4d Use printf format macro here 2021-06-07 20:51:51 +01:00
RSDuck
1793abcfb4 don't printf from exception handler
it was handy for debugging, but it's dangerous
2021-06-07 19:02:09 +02:00
purringChaos
e3b4350f44
Add PoroCYon's DSP code. (#1123)
* Add PoroCYon's DSP code.

* Remove some teakra iles that we dont need.

* make some requested changes.

* move DataMemoryOffset into namespace.

* use deault param.

* ad the switch change

* <Generic> forget about the default parameter
2021-06-06 18:27:26 +02:00
cat
2494058a71
Add "frame step" hotkey and function (#1119) 2021-06-05 21:10:37 +02:00
Nadia Holmquist Pedersen
af36d10023 Explicitly set NoRole on the setup cheats option so Qt on mac will stop stealing it 2021-06-05 14:47:51 +02:00
WaluigiWare64
297563cd97
Fix Linux build instructions
Fixes #1118
2021-06-05 12:21:41 +00:00
RSDuck
21f5477450 PRIu64 requires inttypes.h to be included 2021-06-05 03:34:39 +02:00
Arisotura
6cb8885d7f temp work on DMA timings, not finished
also, did you know? 'increment/reload' is also a thing for the source address
2021-06-02 20:31:58 +02:00
Arisotura
3c683ba107 add timing region tables, and separate timings for ARM9 DMA (exempt of 3c penalty) 2021-06-01 21:53:28 +02:00
Arisotura
658f05706d congrats Arisotura you made an ass-enum 2021-06-01 15:51:03 +02:00
Arisotura
20a0e8828b make the set-timing functions a tad less hacky 2021-06-01 02:22:46 +02:00
Arisotura
43879a8fd8 Arisotura can you ever clean up your goddamn code
also regroup the timer code instead of having it split weirdly
2021-05-31 22:40:01 +02:00
Pedro
f74387a8c1
Implement NO$GBA debug registers. (#1110)
* Implement NO$GBA debug registers.

NO$GBA comes with 4 debug registers that allow a ROM to print text to
the emulator terminal and 2 other status registers, one with the name of the
emulator and the other with the clock cycles count. This commit
implements them for the ARMv5 processor.

Some small things to note:
 - `NocashPrint` was changed and now it takes an address to _the string_ instead of the flags before it (those
don't do anything anyways).
 - The "Emulation ID" register contains the string "melonDS " followed by version, _not_ "NO$GBA"

* Fix styling issue and improve comment regarding NO$GBA message flags
2021-05-27 12:15:16 +02:00
Philip Goto
308e5df426
Use 256x256 instead of 32x32 as window icon size (#1115)
Pass the 256x256 icon to Qt to use as the window icon instead of the 32x32 version. Fixes #1113
2021-05-27 12:12:55 +02:00
RSDuck
e48e45db76 frontend: handle tablet and touch events
fixes #654 and #548
2021-05-24 20:23:06 +02:00
RSDuck
9181ab19c7 GPU3D soft: prevent out of bounds read 2021-05-24 19:41:24 +02:00
RSDuck
f271bdf325 fix #906 2021-05-24 18:29:12 +02:00
WaluigiWare64
e02bbcb3ac Use printf macro for u64 2021-05-16 17:17:57 +01:00
Raphaël Zumer
4a39a84216
Propagate common ImportSRAM return value from NAND cartridge function (#1104) 2021-05-16 18:15:34 +02:00
Raphaël Zumer
eb7bedfc79
Remove outdated frontend solar sensor code (#1102) 2021-05-16 17:18:24 +02:00
Arisotura
9e7463528e bürp 2021-05-11 22:36:42 +02:00
Arisotura
3b72fd84a3 make timers usable for measurement shito without being assfuckingly unreliable 2021-05-11 16:51:56 +02:00
RSDuck
509107fb59 set instead of or stencil buffer for left edges 2021-05-08 00:12:48 +02:00
Arisotura
6f91bcc39f use shitfucking stupid linebreaks so that our text files don't like stupid compact blobs in Notepad
(really, fuck Notepad)
2021-05-06 00:40:11 +02:00
Arisotura
d3c298bbe4 ASSFUCKING STUPID SHITPILE.
fixes #1044

(also add separator for cleaner menu)
2021-05-06 00:33:50 +02:00
Arisotura
50721719d2 GBACart: simulate open-bus decay roughly. fixes #1093 2021-05-04 12:58:59 +02:00
Arisotura
b7d5a7db75 don't attempt to parse lines that failed to fetch 2021-05-03 17:02:38 +02:00
Arisotura
41cd092a15 NDSCart: enforce WR bit.
Bad Apple demo will break, because its NitroFS driver is broken. it needs a DLDI argv structure to exist in order to use its DLDI driver instead.
2021-05-03 14:58:45 +02:00
WaluigiWare64
2ff065e5ea Fix some compiler warnings 2021-05-03 13:40:44 +01:00
Arisotura
cc36f55b8c Merge branch 'master' of https://github.com/Arisotura/melonDS 2021-05-02 21:19:12 +02:00
Arisotura
e2e7f65f9f revised DLDI driver that uses the hardware somewhat more correctly 2021-05-02 21:18:52 +02:00
Nadia Holmquist Pedersen
464897ea87 Explicitly include ${SDL2_PREFIX}/include
this only accidentally worked before
2021-05-02 16:42:04 +02:00
Nadia Holmquist Pedersen
d6036f9225 macOS-related CMake cleanups
* Remove useless explicitly specified link/include directories
* Don't pass -s or -pie to the linker as they aren't needed
2021-05-02 16:32:27 +02:00