Commit Graph

464 Commits

Author SHA1 Message Date
e50463e983 finally, it builds
(don't get your hopes up. it crashes)
2024-05-20 00:04:05 +02:00
3d47fa08b8 migrate AudioInOut inside EmuInstance 2024-05-19 23:58:14 +02:00
21de51bb3f zarg 2024-05-19 21:34:20 +02:00
cde47f56c5 it keeps going 2024-05-19 01:42:44 +02:00
30444036a6 botch one more thing 2024-05-18 11:58:17 +02:00
2fc1ae780b hey look, more shit 2024-05-18 11:45:31 +02:00
10380320c5 more work
aaaaaaaa
2024-05-16 21:20:10 +02:00
d10b5f8b8a more work
feuhqdskfqejlmdsjjjvwdccccccccccccccccccccccccccccccccccc
2024-05-15 01:00:41 +02:00
7e705b6b41 almost looks like something? 2024-05-12 01:24:03 +02:00
3f6af2ce3b backport Nadia's zstd fix 2024-05-12 00:00:51 +02:00
199c2df8bb some more work, nearly done porting ROMManager shit over 2024-05-11 23:59:08 +02:00
b96f1bd734 add more shit to EmuInstance 2024-05-11 10:18:05 +02:00
faa6cfec48 WIP. lay base for EmuInstance. 2024-05-10 12:48:32 +02:00
f93937e88b as a test, convert EmuSettingsDialog to the new config shito 2024-04-18 16:52:18 +02:00
92d1614b45 add array stuff 2024-04-17 23:02:08 +02:00
9283d1ae36 lay some groundwork for the new config system 2024-04-17 18:09:32 +02:00
b0c32d77bd some work on converting melonDS.ini to toml 2024-04-15 00:26:09 +02:00
c6427d2501 switch to toml11 2024-04-14 20:25:11 +02:00
adb5760604 push temp. shito 2024-04-05 23:00:19 +02:00
1abc1e9cff test 2024-02-20 13:31:44 +01:00
6a2039aee1 remove global emuThread from Window.cpp 2024-02-20 13:29:21 +01:00
a7a7ac53c1 also fix this, it bothers me 2024-02-20 12:44:12 +01:00
a6ab27de6b actual non hacky way to share OpenGL contexts 2024-02-20 12:41:47 +01:00
5c93ab4271 start work on multiple window support 2024-02-20 12:30:19 +01:00
a8429af131 dont make a save file on launching a game (#1974)
avoids the issue of saves being created for roms that dont use save files.
2024-02-13 20:17:29 +01:00
5ffa642980 Check for write permissions for some key files (#1972)
* check if an nds save file can be opened for writing

also add the ability to open a file in append mode

* fix multi-instance saves

also move the check for file writability into a separate function (probably uneeded?)

* implement check for gba roms

* move rom load error messages into the functions

also finish gba slot (oops)

* improve error string

* check write perms before saving path settings

* fix memory leak

* check for writability of firmware/nand/sds

* add secondary checks for nand/firmware

* add check for config file being writable

* Return the file write error as a QString to avoid the invalid char*
causing a garbled error message.

Qt wants it as QString either way.
2024-02-07 23:04:36 +01:00
a7575ec7b3 Allow the user to choose the UI theme
Mainly useful for those who want dark mode on Windows.
2024-02-07 20:20:54 +01:00
7dd4152d67 Add MaxFPS setting 2024-01-26 13:06:32 +01:00
4b576d066e Add support for using a portable directory without special build flags. (#1956) 2024-01-24 10:27:25 +01:00
d1cbc41115 Slight fixups with FATStorage (#1934)
* Reload the SD card for `CartSD` and all subclasses

* Make `ROMManager::LoadDLDISDCard` delegate to `GetDLDISDCardArgs`

* Add a method overload for `CartSD::SetSDCard`

* Initialize new SD card images with the correct size

* Sync the old card to the host (if applicable) when move-assigning a new one

* Only sync the old card to the host if it's not read-only

* Remove static state in `FATStorage`

- Replace `FF_ReadStorage` and `FF_WriteStorage` with lambda functions
- Keep open and use the single `File` handle throughout the `FATStorage`'s life
2024-01-03 13:32:17 +01:00
8bfc6df8de TitleManagerDialog: Fix wrong color format 2023-12-31 13:52:58 +01:00
345b7439e4 integrate OSD into ScreenPanel and make it nicer 2023-12-28 14:40:37 +01:00
5a08118c87 sfjsh 2023-12-27 21:28:03 +01:00
ab8938a695 fix OSD scaling on hiDPI screens 2023-12-26 19:32:38 +01:00
f905b6fb93 separate EmuThread to its own file 2023-12-26 19:24:14 +01:00
fd1e4379b9 Merge branch 'master' of github.com:melonDS-emu/melonDS 2023-12-26 19:04:31 +01:00
7f437d48db start cleaning up: move OpenGL stuff out of EmuThread 2023-12-26 19:04:01 +01:00
740489f7a4 Don't call Reset on nullptr 2023-12-26 08:49:02 +01:00
ac3153d86b "Incorrectly" link libslirp to stop its broken build system fucking up
our linker flags
2023-12-26 08:14:30 +01:00
f16de402cf Screen.cpp: include missing headers 2023-12-26 04:26:38 +01:00
5c90cb939d oops 2023-12-25 22:52:44 +01:00
80c6dd524b add convenience method to Window class for OSD messages 2023-12-25 16:34:29 +01:00
6a1232b9a9 move MainWindow and Screen stuff to separate files; WIP 2023-12-24 15:11:30 +01:00
de4ae9dd92 fix possible crash 2023-12-23 23:59:59 +01:00
989b93c92a do not access NDS object emulation is paused 2023-12-22 23:30:59 +01:00
521fc249a3 Don't try to call transferLayout on non-GL ScreenPanel 2023-12-22 02:17:26 +01:00
752b37ed82 Attempt to get rid of leftover QSharedMemory instance after crash 2023-12-22 01:35:45 +01:00
084747abc5 Reset DS object directly after creation 2023-12-21 22:15:12 +01:00
fd3c349735 Check Q_OS_UNIX define instead 2023-12-20 21:38:55 +01:00
6c6318b63b Fix generic icon when using Wayland 2023-12-20 21:38:55 +01:00