Commit Graph

248 Commits

Author SHA1 Message Date
RSDuck 42e083960e always cap FPS to 1000 2020-12-04 00:00:35 +01:00
Raphaël Zumer 550241dbad
Fix GBA file drag-and-drop when the system is off (#817) 2020-11-15 16:15:09 +01:00
RSDuck ad7791f726 better framelimiter for reference: https://github.com/citra-emu/citra/blob/master/src/core/perf_stats.cpp#L129 2020-11-02 20:13:22 +01:00
WaluigiWare64 8d70d0926c
Merge branch 'master' into feature/zip-support 2020-10-23 00:39:29 +01:00
WaluigiWare64 a8851a51f1 Switch to libarchive 2020-10-22 23:41:26 +01:00
Valeri 0d845c9e69
Random minor fixes (#757)
* Fix incorrect/questionable assert() usage

Originally reported by https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2159000700,
but also includes a bunch of other fixes.

* Fix some `printf` warnings

Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2160310550

* Remove useless check

It is never passed thanks to `if (num_in < 1) {...; return}` before
Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2154840804

* Add missing header guard, rename other to avoid conflicts

Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2163210746

* Make DSi_SDDevice destructor virtual

Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2158670642

* Use thread-safe localtime_r, assign `time` result directly

Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2154840805

* Fix MinGW build

It needs _POSIX_THREAD_SAFE_FUNCTIONS to export `localtime_r`
2020-10-01 13:44:09 +02:00
RSDuck 6977302403 make OpenGL renderer a build option
mostly meant for the Switch port
2020-10-01 00:01:05 +02:00
RSDuck f2fa52f26c add functionality to import savefiles 2020-09-11 03:08:06 +02:00
WaluigiWare64 ea640398f9
Add support for fullscreen hotkey (#748) 2020-09-06 22:59:35 +02:00
Arisotura b36b3feb7f support .dsi extension for dragdrop/cmdline launching 2020-08-24 21:25:10 +02:00
Arisotura f4427a89d0 disable savestate menu items in DSi mode 2020-08-24 20:13:58 +02:00
Arisotura e7025abcdc * fix build error
* make betterer polygon splitting an option
* add GL_LEQUAL depth test for 'equal' mode, might help
2020-08-24 19:32:07 +02:00
Arisotura abccc44eec make MAC randomization optional 2020-08-24 19:19:41 +02:00
Arisotura f8d1d08e9c (finally) build the goddamn cheat interface 2020-08-15 00:14:05 +02:00
Arisotura 0bd53a34ef lay base for the actual dialog
also make EmuSettingsDialog properly modal
2020-08-11 17:38:29 +02:00
WaluigiWare64 6d71f9c832
Merge branch 'master' into feature/zip-support 2020-08-05 15:06:15 +01:00
Arisotura c5ecef7410 fix similar bug with emu settings dialog
also make the reset-warning dialog a bit betterer
2020-07-31 20:51:16 +02:00
Arisotura d21cd20290 fix some pause bugs 2020-07-31 20:45:30 +02:00
Nadia Holmquist Pedersen b4ad35948d Merge remote-tracking branch 'upstream/slirp' into slirp-merge 2020-07-26 21:41:09 +02:00
WaluigiWare64 c351e777b4
part 2 of fix Linux invalid encoding 2020-07-24 18:25:07 +01:00
WaluigiWare64 a5d9f69127
Fix Linux "invalid encoding" filename 2020-07-24 18:19:02 +01:00
WaluigiWare64 7937406af6
Change binary stream to u8 and cast to char* 2020-07-22 16:39:24 +01:00
WaluigiWare64 7fb67570e9
fix 2020-07-22 16:17:32 +01:00
WaluigiWare64 c8e934ce97
Fix indentation + delete contents 2020-07-22 16:01:18 +01:00
U-RAYYAN-PC\Rayyan 96e0e37156 Link it up to onOpenFile() 2020-07-22 15:15:56 +01:00
U-RAYYAN-PC\Rayyan 0009a3ffd1 Add the extractROM function 2020-07-22 15:13:14 +01:00
RSDuck 778623a8b7 make linux work and fix a few bugs 2020-07-04 18:58:00 +02:00
RSDuck c5381d2911 reconcile DSi and JIT, fastmem for x64 and Windows 2020-06-30 23:50:41 +02:00
Arisotura fc5eedc716 * take nwifi forward some
* shut up CP15 printf's for Fx0
* fix bugs
2020-06-15 13:39:33 +02:00
Arisotura 200c494a55 get this little experiment started
for now all it does is crash
2020-06-04 15:15:09 +02:00
Arisotura d862b5869f allow .dsi files 2020-06-02 00:30:04 +02:00
Arisotura 43e045357f make it able to switch between DS and DSi modes 2020-06-01 20:36:30 +02:00
Arisotura d7b846619b add DSi-mode settings 2020-06-01 19:11:44 +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 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 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 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 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 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
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 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 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
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 60ba163f08 take this somewhere 2020-05-17 04:02:16 +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
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 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
Arisotura 439ca1b2b5 get a Qt window showing up. 'tis a start, I guess. 2020-04-25 20:43:09 +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