Arisotura
b62d90cbe4
Merge remote-tracking branch 'remotes/origin/master' into melonDSi
2020-05-30 03:19:20 +02:00
Arisotura
82302c9bf4
fix shito.
2020-05-30 03:15:05 +02:00
Arisotura
2327de2423
Merge commit '4b57416552ec2fa95216e2b044559f215723bf70' into melonDSi
2020-05-30 03:12:42 +02:00
Arisotura
f5eeca67b4
Merge commit '3984491ccec4630091bbb178c7c0b22aa4e5e937' into melonDSi
2020-05-30 03:04:50 +02:00
Arisotura
b44570eba1
merge moar
2020-05-30 03:04:14 +02:00
Arisotura
61799c35bd
sadadssa
2020-05-30 02:59:45 +02:00
Arisotura
5eb01f1f15
begin renovating melonDSi
2020-05-30 02:40:51 +02:00
Arisotura
b27ed541bb
blarg
2020-05-30 00:38:31 +02:00
Arisotura
c45068da0e
embed romlist.bin
2020-05-30 00:28:21 +02:00
Arisotura
88823f66cb
* fix the OpenGL shito under Linux
...
* make the 'BIOS not found' errors a bit more user-friendly
2020-05-29 22:18:21 +02:00
Arisotura
8ddd82ca2c
I'm a derp
2020-05-29 21:35:06 +02:00
Arisotura
9557e18b7c
fart around
2020-05-29 21:27:40 +02:00
Arisotura
d3dd7bd988
get rid of console in release builds
2020-05-29 21:19:18 +02:00
Arisotura
935f121025
* add options for static linking
...
* make the vsync checkbox and shit work to some extent (they don't actually function tho)
2020-05-29 21:03:46 +02:00
Arisotura
a38b20484d
finish the wifi dialog
...
also guess who the idiot is who forgot to add their files
2020-05-28 23:12:21 +02:00
Arisotura
590ab2ac2b
fix things
2020-05-28 22:37:37 +02:00
Arisotura
b7946c1384
* flesh out design for wifi settings dialog
...
* move the pcap shit to a betterer place
2020-05-28 22:21:36 +02:00
Arisotura
a2004785a4
re-add all old OSD messages
2020-05-28 18:22:02 +02:00
Arisotura
79d4183ccd
re-add OSD system
2020-05-28 18:11:41 +02:00
Arisotura
2912a07b8b
fix bugs, clean up some of the shit
2020-05-28 17:00:25 +02:00
Arisotura
d1d572210f
fix that bug here too
2020-05-28 16:07:34 +02:00
Arisotura
d25dc40e70
make it a bit better
2020-05-28 16:04:22 +02:00
Arisotura
f7e53c6f71
so you can't resize() before show()ing?? bullshit.
2020-05-28 15:58:18 +02:00
Arisotura
0804ab3c78
* rework GPU's settings interface, make it config-agnostic
...
* make video settings dialog functional, sorta
* fix dialogs that were resizable
2020-05-28 15:53:32 +02:00
Arisotura
5005a7c3f0
populate the dialog.
...
also add setting for vsync interval.
2020-05-28 13:21:25 +02:00
Arisotura
695839bb0e
lay base for video settings dialog
2020-05-28 12:32:50 +02:00
Arisotura
0a68eb7803
make it hiDPI compliant (I hope)
...
also misc tweaks
2020-05-28 11:52:12 +02:00
Arisotura
e8849db78a
we don't need a GLShim.
...
blarg.
I don't understand this anymore.
2020-05-27 21:40:02 +02:00
Arisotura
ef2802ae31
* use GL shim window instead of offscreen surface
...
* disable vsync by default (we'll take care of it later)
2020-05-27 21:29:47 +02:00
Arisotura
256360aebb
texture2D -> texture
...
Intel driver threw a fit about it
2020-05-27 19:18:45 +02:00
Arisotura
4135ea374b
fix colors
2020-05-25 18:38:10 +02:00
Arisotura
24de8de503
flushing the john makes it a bit better
2020-05-25 18:28:11 +02:00
Arisotura
36f4cdbbbf
get the OpenGL renderer going.
...
sorta.
(also make the blackmagic_II branch obsolete in the process)
2020-05-25 18:25:50 +02:00
Arisotura
10f9eda58a
get the whole OpenGL shit going
2020-05-25 14:59:26 +02:00
Arisotura
4e34359a80
get the GL shit going
2020-05-25 03:12:09 +02:00
Arisotura
bc4a83abca
make frontend-util audio module config-agnostic
2020-05-24 23:47:11 +02:00
Arisotura
16252a85e7
separate screen handling shit to a specialized class
2020-05-24 23:16:56 +02:00
Arisotura
f69f3fcb7a
* safer window update
...
* only do auto screen sizing if needed
2020-05-22 13:54:29 +02:00
RSDuck
ffd9c61bf7
fix screen layout with emphasis
2020-05-21 19:45:33 +02:00
Arisotura
5dcf57e86d
add screen filtering
2020-05-21 18:49:34 +02:00
Arisotura
8f9369beeb
add screen layout system
2020-05-21 18:43:07 +02:00
Arisotura
f79583bf16
add actual blow-into-mic sample that actually works
2020-05-21 02:33:48 +02:00
Arisotura
108647e033
* add audio settings dialog
...
* attempt at betterer mic noise that doesn't work worth a damn
2020-05-21 01:39:41 +02:00
Arisotura
9e43c85b4d
hook up microphone shit.
...
I did my best.
2020-05-20 23:55:18 +02:00
Arisotura
a9b275bc25
reimplement Stop
2020-05-20 22:58:04 +02:00
Arisotura
2ebb21ce3b
hook up pause and reset, w/ relevant hotkeys
2020-05-20 22:22:22 +02:00
Arisotura
26dcc95c20
do the easy menus
2020-05-20 21:23:15 +02:00
Arisotura
d761db0056
populate the menus with the config data
2020-05-20 21:19:04 +02:00
Arisotura
7be662b2dd
finish fleshing out the menus
2020-05-20 20:57:12 +02:00
Arisotura
700b1a8b9d
add window icon
2020-05-20 03:01:09 +02:00
Arisotura
5ed87a634a
add drag-drop support
2020-05-20 02:36:48 +02:00
Arisotura
4dae6d8928
load shit from command line
2020-05-20 01:49:40 +02:00
Arisotura
a2f9472e5d
might help fix crashes on exit?
2020-05-20 01:11:57 +02:00
Arisotura
34133ef75c
make it able to map the Tab key
2020-05-20 01:09:58 +02:00
Arisotura
68a7865096
basic touchscreen support
2020-05-19 22:57:15 +02:00
Arisotura
95f9698077
add back some hotkeys.
...
remove some legacy cruft from NDS.cpp.
2020-05-19 22:37:48 +02:00
Arisotura
b262313816
actually hook up input to the core
...
also unbotch CMakeLists.txt
2020-05-19 22:22:21 +02:00
Arisotura
9df8d91bdc
keep the ugliness confined in Platform.cpp
2020-05-19 21:34:24 +02:00
Arisotura
34506ff2bb
actually complete the input config dialog
2020-05-19 20:48:52 +02:00
Arisotura
920ff9778d
blarg
2020-05-19 15:11:34 +02:00
Arisotura
4b038f5d37
re-add old special keys for mapping (Esc=cancel, Backspace=clear)
2020-05-19 14:24:57 +02:00
Arisotura
04d38e5e66
axe the default key mappings (not too cross-platform and blargy)
2020-05-19 14:16:35 +02:00
Arisotura
23cc8c71a2
distinguish left/right Ctrl and Shift
2020-05-19 14:15:11 +02:00
StapleButter
2a7027f794
add AltGr, weak attempt at blocking garbage key names
2020-05-19 13:46:31 +02:00
StapleButter
9fbf9b997b
this might be a good idea
2020-05-19 13:28:46 +02:00
StapleButter
7d69699d64
fix Linux build error
2020-05-19 14:37:54 +02:00
Arisotura
7026bb15f6
input dialog progress.
2020-05-19 12:06:25 +02:00
Arisotura
19566178ba
begin adding input dialog
2020-05-17 18:33:03 +02:00
Arisotura
c9a76edf21
probably fix some pretty bad issue
...
good one, Generic
2020-05-17 14:23:06 +02:00
Arisotura
0566c9e34c
minor fix
2020-05-17 13:04:02 +02:00
Arisotura
c5c9434ac9
verify BIOS and firmware before booting games/firmware
2020-05-17 05:42:09 +02:00
Arisotura
49b24ea2b3
this might be betterer
2020-05-17 04:42:15 +02:00
Arisotura
17d30e91f0
actually hook this up
2020-05-17 04:37:44 +02:00
Arisotura
60ba163f08
take this somewhere
2020-05-17 04:02:16 +02:00
Arisotura
492a4b4b46
add config entries for BIOS/firmware paths
2020-05-17 03:02:42 +02:00
Arisotura
2afa70b817
miserable little attempt at adding a dialog
2020-05-17 02:37:23 +02:00
Arisotura
978212e3e0
accept mouse events
2020-05-16 17:43:35 +02:00
RSDuck
4cff4b5228
allow allocating caller saved regs on windows
2020-05-09 15:39:39 +02:00
RSDuck
d91bbec08f
use instr hash as key for restore candidates
...
makes Golden Sun burn a little slower through the JIT memory
2020-05-09 14:36:18 +02:00
RSDuck
5a0b568647
allow allocating caller saved registers
...
currently system-v only
2020-05-09 14:34:52 +02:00
RSDuck
0f53a34551
rewrite JIT memory emulation
2020-05-09 00:45:05 +02:00
Nadia Holmquist Pedersen
b746c0b727
Only initially open files as writable if they actually should be.
2020-05-06 03:53:05 +02:00
Nadia Holmquist Pedersen
beb3b20d5e
Fix crash with nonexistent config directory or writable files.
2020-05-06 03:49:20 +02:00
Nadia Holmquist Pedersen
6cfe4faa56
Use Qt abstractions for file I/O and threading on both Windows and Linux.
2020-05-06 03:22:30 +02:00
Nadia Holmquist Pedersen
ffe20c1236
Use Qt abstractions instead of glib's for paths on Linux
2020-05-06 02:39:50 +02:00
Arisotura
9432a9f382
remove useless variables
2020-05-03 15:05:52 +02:00
Arisotura
aa4344e249
add audio output. HARK HARK HARK
2020-05-02 20:25:39 +02:00
Arisotura
690f39ca33
enable savestate slots when saving a new savestate
2020-05-02 19:41:03 +02:00
Arisotura
7f3e67c12a
some more UI work
2020-04-30 01:02:17 +02:00
Arisotura
5fbad464c2
hook up savestate shito
2020-04-29 00:50:23 +02:00
Arisotura
47ff012f5e
blarg
2020-04-28 22:46:31 +02:00
Arisotura
63efc2e02a
add menu items for running the firmware and for quitting.
2020-04-28 22:45:11 +02:00
Arisotura
0913576ef5
FPS counter is back
2020-04-27 23:58:29 +02:00
Arisotura
a8aa834c16
now with display!
2020-04-27 22:42:07 +02:00
Arisotura
3c883a2152
hey look, it runs shit now!
2020-04-27 22:32:33 +02:00
Arisotura
931da1c66f
add a bunch of code
2020-04-27 22:02:45 +02:00
Arisotura
d6efb03248
HARK HARK HARK
2020-04-27 20:59:11 +02:00
Arisotura
d9c55a4f1f
fix dumb include path shit.
2020-04-27 15:59:52 +02:00
Arisotura
690f9f3874
get some of the shit going, I guess
...
atleast the emuthread is going and we have its control system down
and other fun shit, too
2020-04-27 12:06:44 +02:00
RSDuck
bcc4b5c8dd
fix regression from last commit
...
also a small mistake with msr
2020-04-26 23:25:32 +02:00
RSDuck
b0b9ec42e4
don't use param registers for ReadBanked/WriteBanked
...
should fix linux build
2020-04-26 20:47:36 +02:00
RSDuck
47b44a6be8
fix build with JIT disabled and set default JIT maxblock size to 32
2020-04-26 16:27:26 +02:00
RSDuck
59c8d39765
hopefully fix stack handling for linux
2020-04-26 16:17:16 +02:00
RSDuck
a9dd6e30ad
implement msr and mrs for the x64 JIT
2020-04-26 13:05:18 +02:00
RSDuck
68d552074b
compile UMULLs and some fixes
2020-04-26 13:05:17 +02:00
RSDuck
3787bab1f6
implement block linking + some refactoring
...
currently only supported for x64
2020-04-26 13:05:17 +02:00
RSDuck
5d0f244f3c
include more information in DataRegion
2020-04-26 13:05:16 +02:00
RSDuck
59f710158f
arm64 fix itcm invalidation and ldm^/stm^
2020-04-26 13:05:15 +02:00
RSDuck
96b8ac1af2
preparations for block linking
2020-04-26 13:05:15 +02:00
RSDuck
0280fbe194
this mistake was phenomally stupid
2020-04-26 13:05:14 +02:00
RSDuck
05962d9798
the time of good commit names is long gone
2020-04-26 13:05:14 +02:00
RSDuck
e9760c941b
git played a prank on me haha very funny
2020-04-26 13:05:14 +02:00
RSDuck
2e6e6aa750
this it should work
2020-04-26 13:05:13 +02:00
RSDuck
266fd20ea5
fixup for aarch64 JIT
2020-04-26 13:05:12 +02:00
RSDuck
42d67c8145
fix LDM usermode for aarch64 as well
2020-04-26 13:05:12 +02:00
RSDuck
2dbb9840fb
re add error for unsupported JIT platforms
2020-04-26 13:05:11 +02:00
RSDuck
899cf97c51
apply fixes for aarch64 linux by @nadiaholmquist
2020-04-26 13:05:10 +02:00
RSDuck
d6cc7de6c4
move ARM64 JIT backend here
2020-04-26 13:05:09 +02:00
RSDuck
842df432aa
remove debug leftovers
2020-04-26 13:05:09 +02:00
RSDuck
9b98b8816a
improve nop handling and proper behaviour for LDM^
...
fixes dslinux
2020-04-26 13:05:08 +02:00
RSDuck
60650fa82e
disable literal optimations in DTCM
2020-04-26 13:05:07 +02:00
RSDuck
0c5311731b
make savestates 100% compatible again
2020-04-26 13:05:07 +02:00
RSDuck
386100c053
make literal optimisation more reliable
...
fixes spanish Pokemon HeartGold
2020-04-26 13:05:06 +02:00
RSDuck
803c61e126
fix config key for jit literal optimisations
2020-04-26 13:05:06 +02:00
RSDuck
81f38c14be
integrate changes from ARM64 backend and more
...
- better handle LDM/STM in reg alloc
- unify Halted and IRQ in anticipation for branch inlining
- literal optimisations can be disabled in gui
- jit blocks follow simple returns
- fix idle loop detection
- break jit blocks on IRQ (fixes saving in Pokemon White)
2020-04-26 13:05:05 +02:00
RSDuck
aa23f21b8d
decrease jit block cache address granularity
...
fixes Dragon Quest IX
move code with side effects out of assert, fixes release build
(thanks to m4wx for this one)
also remove some leftovers of jit pipelining
2020-04-26 13:05:05 +02:00
RSDuck
7424f9fda0
remove leftover debug code
2020-04-26 13:05:04 +02:00
RSDuck
a687be9879
new block cache and much more...
...
- more reliable code invalidation detection
- blocks aren't stopped at any branch, but are being followed
if possible to get larger blocks
- idle loop recognition
- optimised literal loads, load/store cycle counting
and loads/stores from constant addresses
2020-04-26 13:05:03 +02:00
RSDuck
5338c28f40
load register only if needed
...
- do thumb bl long merge in the first step
- preparations for better branch jitting
2020-04-26 13:05:02 +02:00
RSDuck
2ef776883f
more fixes for flag optimisation
...
+ small cycle counting optimisation
2020-04-26 13:05:02 +02:00
RSDuck
5202c505ab
remove debug printing
2020-04-26 13:05:01 +02:00
RSDuck
ea562d2fec
fixes for flag optimisation
2020-04-26 13:05:01 +02:00
RSDuck
b5dda7d6e2
add ui confirm dialog for linux
2020-04-26 13:05:00 +02:00
RSDuck
5ea91b8a03
optimise away unneeded flag sets
...
- especially useful for thumb code and larger max block sizes
- can still be improved upon
2020-04-26 13:05:00 +02:00
RSDuck
03ab7f1645
fix jit block size not changeable
2020-04-26 13:04:59 +02:00
RSDuck
3001d9492c
abandon pipelining on jit
...
fixes Golden Sun Dawn
this makes the cpu state incompatible between interpreter and JIT. That's why switching cpu mode requires a restart(not requiring is stupid anyway) and the pipeline is manually filled when making a save state.
2020-04-26 13:04:59 +02:00
RSDuck
ec21172cd9
fix register alloc for half word loads
...
fixes Mega Man Star Force 2 with cheat applied
it probably used a pc relative load which were interpreted as branches
2020-04-26 13:04:58 +02:00
RSDuck
5e443e7962
remove unneeded dolphin code, C++11 static_assert
2020-04-26 13:04:57 +02:00
RSDuck
f31976fed0
jit: fix RSC
2020-04-26 13:03:12 +02:00
RSDuck
707da1f4c7
remove debug printf
2020-04-26 13:03:11 +02:00
RSDuck
51b6b7a7d5
fix uninitialised memory mapping
2020-04-26 13:03:11 +02:00
RSDuck
4a0f6b3b4b
jit: fix thumb hi reg alu and mcr halt
...
+ mcr/mrc aren't always, msr_imm is never unk on ARM7
2020-04-26 13:03:10 +02:00
RSDuck
9d180c7bbc
jit: decrease blockcache AddrMapping size for ARM9
2020-04-26 13:03:09 +02:00
RSDuck
be8846e31a
jit: fix misc static branch things
2020-04-26 13:03:08 +02:00
RSDuck
54985be157
jit: LDM/STM keep proper stack alignment
2020-04-26 13:03:08 +02:00
RSDuck
8ddc4d5904
jit: fix BLX_reg with rn=lr
2020-04-26 13:03:07 +02:00
RSDuck
411fb57c07
jit: add compile option
2020-04-26 13:03:06 +02:00
RSDuck
360317be8c
jit: remove unnessary files from dolphin
2020-04-26 13:03:04 +02:00
RSDuck
9d76d63af5
jit: make everything configurable
2020-04-26 13:03:03 +02:00
RSDuck
dcf6e1cad2
jit: fix linux
2020-04-26 13:03:01 +02:00
RSDuck
6f0dcad4f6
jit: fix wrongly placed const
2020-04-26 13:03:01 +02:00
RSDuck
9b3c14b58a
jit: SMULL and SMLAL
2020-04-26 13:03:00 +02:00
RSDuck
2efab201e9
jit: LDM/STM finally(!) working + MUL, MLA and CLZ
2020-04-26 13:02:59 +02:00
RSDuck
c58fdbd66b
jit: branch instructions
2020-04-26 13:02:58 +02:00
RSDuck
ff97211114
jit: thumb block transfer working
...
also pc and sp relative loads and some refactoring
2020-04-26 13:02:57 +02:00
RSDuck
2c44bf927c
JIT: most mem instructions working
...
+ branching
2020-04-26 13:02:57 +02:00
RSDuck
5f932cdf48
JIT: compilation of word load and store
2020-04-26 13:02:56 +02:00
RSDuck
ff901141e7
jit: correct cycle counting for thumb shift by reg
2020-04-26 13:02:55 +02:00
RSDuck
ebce9f035f
JIT: implemented most ALU instructions
2020-04-26 13:02:55 +02:00
RSDuck
c5c342c009
JIT: base
...
all instructions are interpreted
2020-04-26 13:02:53 +02:00
Arisotura
d2f05cd30f
prepare JIT beta branch
2020-04-26 13:02:26 +02:00
Arisotura
439ca1b2b5
get a Qt window showing up. 'tis a start, I guess.
2020-04-25 20:43:09 +02:00
Arisotura
0bdafb6295
finally get this going, I guess
2020-04-25 19:31:19 +02:00
Arisotura
d58c9d4b53
blarg
2020-04-25 18:56:39 +02:00
Arisotura
a85d41c53e
berp.
2020-04-25 18:51:08 +02:00
Arisotura
3b3a09ed2b
attempt something. maybe this worked, maybe not.
2020-04-25 18:48:33 +02:00
Arisotura
231f0fc2e5
welp
2020-04-14 23:38:48 +02:00
Arisotura
de405ce892
so, this is it
...
this was a glorious fight, but I admit defeat
2020-04-14 23:17:16 +02:00
Nadia Holmquist Pedersen
4b57416552
Windows: explicitly link gdi32
2020-04-12 17:15:39 +02:00
Nadia Holmquist Pedersen
a6150a9a9e
Use pkg-config to find SDL2 on Windows
2020-04-12 16:59:06 +02:00
Arisotura
ec6e4a2d1e
GPU3D: more accurate viewport transform (emulate quirk with W greater than 0xFFFF)
2020-04-12 16:40:08 +02:00
Arisotura
33b4cdb077
GPU3D: implement zero-dot W limit (DISP_1DOT_DEPTH)
2020-04-12 14:01:43 +02:00
Arisotura
4c560f3324
GPU3D: swap vin and vout during clipping, giving results that are closer to hardware.
...
fixes #598 and also fixes #379
2020-04-11 23:56:36 +02:00
Arisotura
d412630a49
should probably be a strncmp() and not strncasecmp()
2020-03-30 13:28:51 +02:00
Arisotura
d2cae446b9
Merge branch 'master' of https://github.com/Arisotura/melonDS
2020-03-30 11:05:09 +02:00
Arisotura
104b2a03aa
properly handle ROMs with encrypted secure area
2020-03-30 11:04:50 +02:00
niemand-deu
ab911571e0
Update main.cpp
2020-02-26 03:56:03 +01:00
Arisotura
5f99a68151
detect whether we are running the game
2020-02-24 18:31:44 +01:00
Arisotura
8b1caae852
flesh shit out for loading a cheat file
2020-02-24 17:56:01 +01:00
Arisotura
228c625e62
fix teh comment
2020-02-24 17:42:05 +01:00
Arisotura
3eb613650d
change ParseTextCode() so we can specify the length of an individual AR code within a bigger string.
2020-02-16 11:21:45 +01:00
Arisotura
3a4947fbbe
also that might have been bad for security. who knows.
2020-02-15 17:26:48 +01:00
Arisotura
e40d414c56
now we can even parse the code from a text code. bahaahhhh
2020-02-15 16:20:53 +01:00
Arisotura
ed39122c67
Arisotura will you ever clean up after yourself. this is like your goddamn apartment, it's a mess.
2020-02-15 16:07:13 +01:00
Arisotura
51dbb7165e
finish the AR interpreter, I guess
...
or mostly
2020-02-15 00:36:22 +01:00
Arisotura
85a6a5bb38
* add support for a bunch of codes (all of them minus the loop shit, really)
...
* hook it betterer so it doesn't asplode
2020-02-14 23:34:26 +01:00
Arisotura
eb44833171
well, more AR shito
2020-02-14 21:19:36 +01:00
Arisotura
83f8e11bc1
update copyright years
2020-02-14 20:18:08 +01:00
Arisotura
d0b27178f1
miserable, feeble little attempt at executing AR codes.
...
also, it's hardcoded. probably not a good thing.
2020-02-14 20:13:06 +01:00
Arisotura
106b9a6f24
lay base for AR cheatzorz. baahahhhh
2020-02-14 19:26:52 +01:00
Arisotura
2944575cbc
Merge pull request #544 from i404788/master
...
Fix hanging UI when `null` addr
2020-02-14 14:30:54 +01:00
Markus ⛅
da0afbde88
Use different icon location
...
"pixmaps" is the deprecated, legacy-only location. "hicolor" is the current, proper location that supports multiple resolutions which we now use
2020-01-30 17:25:08 +01:00
Arisotura
2c51a49527
Merge pull request #546 from nadiaholmquist/feature/unix-xdg
...
Make melonDS properly installable systemwide on UNIX systems
2020-01-28 21:37:36 +01:00
Arisotura
12732aa51b
Merge pull request #550 from rzumer/slot2
...
Support GBA game cartridges for DS connectivity
2020-01-28 21:32:29 +01:00
Arisotura
3984491cce
* prevent potential race condition while changing window title
...
* cap framerate at 1000FPS
fixes #547
2019-12-30 13:29:19 +01:00
Raphaël Zumer
22d11209b0
Split GBA Reset and Eject logic into two sets
...
This allows solving some crashes and provides more
flexibility in how GBA cartridges change state between
soft and hard resets. Since save states including GBA
data do not carry over the original save file path,
and the GBA cartridge is being reset along with the other
parts of the system, this is needed to avoid losing
the GBA state on reset following a state load, while
preserving the behavior where cartridges are ejected
when calling Stop().
2019-12-22 16:01:13 -05:00
Raphaël Zumer
f380767fab
Only store the GBA ROM header in save states
...
Also fix some potential crashes due to SRAM
state not being cleared correctly on state load.
2019-12-22 14:13:10 -05:00
Raphaël Zumer
a57ba1368e
Skip saving/loading GBA flash state if SRAM is null
2019-12-22 11:45:11 -05:00
Raphaël Zumer
2abdcc54dd
Implement DoSavestate() for GBACart classes
...
Admittedly untested.
2019-12-19 00:12:40 -05:00
Raphaël Zumer
be19e0e8d4
Make solar sensor hotkeys configurable
2019-12-18 23:35:18 -05:00
Raphaël Zumer
8172cbc170
Add DoSavestate() function to GBACart_SolarSensor
...
Still empty, but should be implemented along with the rest.
2019-12-18 23:35:14 -05:00
Nadia Holmquist Pedersen
c5623c4dcd
Change the config/data dirs from "melonds" to "melonDS" for consistency.
2019-12-19 02:52:34 +01:00
Nadia Holmquist Pedersen
43535c873a
Remove redundant desktop file and change desktop/icon file name to net.kuribo64.melonDS, also change melonds to melonDS.
2019-12-19 02:48:11 +01:00
i404788
295404a5a6
Fix weird spacing
2019-12-12 09:03:01 +00:00
Raphaël Zumer
f8e43ac486
Display solar sensor level changes on OSD
2019-12-10 19:24:30 -05:00
Raphaël Zumer
f257b007a2
Properly pass through GBA GPIO writes
2019-12-10 19:10:14 -05:00
Raphaël Zumer
ca9f183d24
Hook up solar sensor control to the UI
...
It uses hardcoded keypad left and right arrows.
2019-12-10 17:54:35 -05:00
Raphaël Zumer
f6cd66e5b1
Implement solar sensor processing
2019-12-10 17:43:25 -05:00
Raphaël Zumer
9128517b90
Add basic GBA GPIO support, solar sensor detection
2019-12-10 16:36:39 -05:00
Raphaël Zumer
0092937148
Rename SRAMFlash to SRAMFlashState
2019-12-10 16:36:00 -05:00
Raphaël Zumer
4d1f3d419e
Clarify comments and credit DeSmuME for Flash I/O
2019-12-10 09:57:15 -05:00
Raphaël Zumer
68d3474458
Fix GBA Flash read/writes and clean up
2019-12-09 07:37:09 -05:00
Raphaël Zumer
8fc9a33a9f
Implement GBA cartridge Flash reading and writing
2019-12-09 06:10:26 -05:00
Raphaël Zumer
5a7600dc79
Fix "é" character encoding in NDS.cpp
2019-12-09 06:09:52 -05:00
Raphaël Zumer
4e8b0c8ce4
Eject GBA cartridges on stop from the UI
2019-12-09 06:09:30 -05:00
Raphaël Zumer
5ad85f15c1
Add a framework to support non-SRAM GBA saves
...
The support is not yet there, but at least
we should not read or write bogus data.
2019-12-09 04:58:54 -05:00
Raphaël Zumer
86b746dd1c
Remove unused Write function in NDSCart
2019-12-09 04:51:59 -05:00
Raphaël Zumer
62b9f51e23
Handle GBA cartridge SRAM writes
2019-12-08 21:20:01 -05:00
Raphaël Zumer
48a8a25548
Reset GBA cartridge state when loading a new ROM
2019-12-08 17:13:56 -05:00
Raphaël Zumer
91bf62a1d4
Keep GBA carts loaded when booting to firmware
2019-12-08 15:55:06 -05:00
Raphaël Zumer
1da9b3806c
Hook up the GBA slot to the UI
...
A GBA cartridge may be loaded in the same
way as a DS cartridge. If the extension of
the selected file is "gba", it will be treated
as a GBA file. The system boot logic is still
centered around the DS cartridge, so loading
a GBA file will not start or reset it.
2019-12-08 15:31:20 -05:00
Raphaël Zumer
968768042e
Properly init/deinit the GBA slot
2019-12-08 15:30:56 -05:00
Raphaël Zumer
d86ee1d5bf
Add GBA cart model and allow reading from it
2019-12-08 15:30:07 -05:00
Raphaël Zumer
f21347c918
Fix GBA memory values on deselected CPU
...
Previously, the GBA memory was 0xFF-filled
on both CPUs. However, GBATEK reports that
the deselected CPU is 0x00-filled, and that
some titles depend on this behavior to
function properly.
2019-12-08 12:33:02 -05:00
Nadia Holmquist Pedersen
23bca8c17a
Tell the user where to place romlist.bin if it can't be found for UNIX non-portable builds.
2019-12-05 00:40:59 +01:00
Nadia Holmquist Pedersen
03f33fa5c3
Make UNIX builds non-portable by default.
2019-12-05 00:12:40 +01:00
Nadia Holmquist Pedersen
4f87707cda
If all else fails, look for data files (romlist.bin) in the current working direcoty.
2019-12-05 00:11:52 +01:00
Nadia Holmquist Pedersen
959c37ead7
Open with rb instead of r in OpenDataFile to avoid potential problems with Windows.
2019-12-04 22:54:30 +01:00
Nadia Holmquist Pedersen
7af658f089
Add a UNIX_PORTABLE build option, turning it off makes a build of melonDS suitable for systemwide installation.
2019-12-04 22:46:33 +01:00
i404788
7730e6c1e2
Coding style + weird spacing
2019-11-20 23:24:16 +00:00
i404788
477be1d155
add device name
2019-11-19 22:34:02 +00:00
i404788
c2a55bc217
clean log
2019-11-19 22:22:47 +00:00
i404788
cdd60bb298
fix build
2019-11-19 22:20:39 +00:00
i404788
7e07250652
Maybe better to log
2019-11-19 22:19:30 +00:00
i404788
7340b1d6e3
Fix hanging UI when `null` addr
2019-11-19 21:37:47 +00:00
Arisotura
3f7bc1a6c1
add warning against hacked firmware dumps
2019-11-08 21:55:13 +01:00
Arisotura
c064f738ea
OpenGL: fix bug when rendering translucent polygons coming after shadow polygons, against a zero-alpha clear-plane (would use wrong shader, resulting in broken transparency)
2019-11-03 09:55:52 +01:00
Arisotura
b641ccaf35
fix remaining sprite y-coord bugs. fixes #531
2019-11-03 04:53:11 +01:00
Arisotura
3561e93bf6
fix sprite y-flip
...
also, meaningless shenanigans
2019-11-03 04:32:47 +01:00
Arisotura
e117da235e
smarter CP15 PU region updates. disable some useless logging.
...
fixes #528
2019-10-21 23:14:34 +02:00
Arisotura
f9ac26078b
look for NAND nocash footer at the end of the file rather than using a hardcoded offset. check whether the footer is present.
2019-10-20 18:52:33 +02:00
Arisotura
1c72df43ab
messing around
2019-10-20 18:35:16 +02:00
Arisotura
de11d6d410
Merge branch 'melonDSi' of https://github.com/Arisotura/melonDS into melonDSi
2019-10-19 16:05:35 +02:00
Arisotura
e82364f010
* some fixes to SD controller support, make it clear that there is no SD inserted, makes Flipnote work somewhat better
...
* immediately clear AES busy flag when the block count is zero (occurs when loading DSi cart games)
* implement NDMA start modes that have an old-DMA equivalent (except for GXFIFO mode)
now it boots DSi carts!
2019-10-19 16:03:59 +02:00
StapleButter
db6187a953
add DSi shit to cmakelists
2019-10-16 01:37:44 +02:00
Arisotura
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
Arisotura
58c2790ea3
uuuh we should only do it once per scanline
2019-09-15 02:08:47 +02:00
Arisotura
e418b353e8
well, here, OBJ X mosaic is done too
2019-09-15 02:01:22 +02:00
Arisotura
cb90475b60
begin work on mosaic
...
OBJ Y mosaic emulated correctly, there's atleast that.
2019-09-15 01:31:09 +02:00
Arisotura
b8f55623c1
prevent capture-o-magic from freezing. also, make code more readable.
2019-09-14 13:45:01 +02:00