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
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
5202c505ab
remove debug printing
2020-04-26 13:05:01 +02:00
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
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
411fb57c07
jit: add compile option
2020-04-26 13:03:06 +02:00
9d76d63af5
jit: make everything configurable
2020-04-26 13:03:03 +02:00
ab911571e0
Update main.cpp
2020-02-26 03:56:03 +01:00
83f8e11bc1
update copyright years
2020-02-14 20:18:08 +01:00
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
12732aa51b
Merge pull request #550 from rzumer/slot2
...
Support GBA game cartridges for DS connectivity
2020-01-28 21:32:29 +01:00
3984491cce
* prevent potential race condition while changing window title
...
* cap framerate at 1000FPS
fixes #547
2019-12-30 13:29:19 +01:00
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
be19e0e8d4
Make solar sensor hotkeys configurable
2019-12-18 23:35:18 -05:00
f8e43ac486
Display solar sensor level changes on OSD
2019-12-10 19:24:30 -05:00
f257b007a2
Properly pass through GBA GPIO writes
2019-12-10 19:10:14 -05:00
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
4e8b0c8ce4
Eject GBA cartridges on stop from the UI
2019-12-09 06:09:30 -05:00
91bf62a1d4
Keep GBA carts loaded when booting to firmware
2019-12-08 15:55:06 -05:00
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
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
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
3f7bc1a6c1
add warning against hacked firmware dumps
2019-11-08 21:55:13 +01:00
9d376335b7
HARK HARK HARK HARK
2019-09-13 22:43:02 +02:00
02a6fe182c
see, Arisotura, was it that hard?
2019-09-04 16:29:40 +02:00
1b40149b0a
blarg
...
here, have code
2019-09-04 15:41:42 +02:00
27498ced4a
Merge pull request #505 from Zettymaster/master
...
Add warning message if romlist.bin is not found
2019-09-01 20:25:06 +02:00
abb06269a1
add VSync toggle
2019-09-01 20:20:22 +02:00
455b0e5689
more fixes to audio output
...
maybe by 2034 we'll finally get that shit going
2019-09-01 15:41:46 +02:00
fbad8b0f43
* new FPS limiter
...
* new audio output/sync method
about fucking time
2019-08-29 15:55:18 +02:00
6a50bcfaf7
add warning message if romlist.bin is not found
2019-08-15 23:59:05 +02:00
ff27036b35
start botching the FPS limiter
...
results in shitty audio because it's overflowing the buffer
2019-07-12 22:04:55 +02:00
592e493a7a
input: don't check modifiers for regular input
2019-07-09 18:39:50 +02:00
204b5d8700
HARK HARK HARK
2019-06-25 19:29:21 +02:00
4d775dcf85
fix OpenGL deinit when closing emu
2019-06-25 17:37:32 +02:00
e2dc98d144
fix bug when mapping a joystick axis control but no button
2019-06-20 16:31:28 +02:00
f59094e033
OpenGL: disable vsync, atleast under Windows
2019-06-20 16:00:12 +02:00
4553da720c
add setting for showing/hiding OSD
2019-06-12 03:32:25 +02:00
4abf0473c2
add pause/reset hotkeys
2019-06-12 01:12:49 +02:00
1cb8f3c8b2
rework input/hotkey code to suck less, implement the new features
2019-06-12 00:59:51 +02:00
82f4f4fdcb
fix bugs, make it more responsive
2019-06-11 23:48:49 +02:00
bfc12a038e
add ability to map joystick axes, too
...
and add support for multiple hats
2019-06-11 23:41:48 +02:00
b9183b8818
begin work on multiple joystick support
2019-06-11 18:55:04 +02:00
543a40c7cb
add some OSD messages. prepare shit.
2019-06-11 04:04:49 +02:00
fd28391160
fix ass-stupid bug in CP15 PU region setup
2019-06-10 15:29:40 +02:00
9ab331c6dd
fix more stupid shit. askzjkdsf
2019-06-09 20:44:35 +02:00
8fc30d69c5
fix last bugs when changing video settings with no game loaded
2019-06-08 13:06:36 +02:00
97f4b5f70b
Merge branch 'master' into fast-forward-hotkey
2019-06-04 15:53:08 +02:00
e3dc4e122a
use OSD for some actual purposes
2019-06-03 17:01:53 +02:00
2b3ca2089f
take the OSD shito somewhere
2019-06-03 16:45:55 +02:00