Commit Graph

21 Commits

Author SHA1 Message Date
436b3c4c1d update copyright year and add missing GPL headers 2021-03-12 20:07:40 +01:00
54b1a752d4 Add hybrid layout (#772) 2021-01-25 19:47:54 +01:00
b9a56bc4e4 more screen modes
- add support for different aspect ratios
- add support for displaying only one screen at once
2021-01-24 22:32:13 +01:00
1e4c0c9d72 Polish up archive support (#930)
* Fix directory path when extracting from archive

* Don't create new dir in execution dir of melonds
* Create it beside the archive instead

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* ArchiveUtil : Use QT functions for I/O

* Make it more platform independent, cleaner

* Fixes permission related crash on linux

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* NDSCart : Abstract out common code in LoadROM()

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Extract nds roms to memory

* Some stuff is still broken in the frontend

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* GBACart : Abstract out common code in LoadROM()

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Extract gba roms to memory

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Integrate archive support with recent files

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* onClickRecentFile : Pause emu thread conditionally

* Don't pause at start of the function
* If user opens an archive and hits cancel, it won't pause

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Handle Resets when loading from archives

* Ask user to pick the rom(s) again (i.e. GBA & NDS)
when there are multiple files in the archive(s)

* Directly load if only 1 file

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Archive support for drag-n-drop

* Also recent files support for drag-n-drop

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* main : Allocate rombuffer objects on stack

* Less messy, decreases chances of memory leaks

* Underlying implementation of qbytearray uses heap (hopefully?)

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* GetSavestateName : Archive support

* Construct ssname from srampath (since rompath has archive name)

NOTE: In general, archive name != rom file name !!!!!!!!!!

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Add srl and dsi as "direct-load" formats

* Direct-load = anything not in an archive

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Don't use static functions

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Remove QT stuff from Util_ROM

* Also, during reset, directly load file from archive (no rom picker)

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Remove QT includes from FrontendUtil.h

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Util_ROM/LoadROM() : Use SetupDSiNAND()

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Util_ROM/Reset() : Use strrchr()

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Util_ROM : Put Archive stuff behind ifdefs

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* main: Set parent widget for archive dialog boxes

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

* Revert "Util_ROM/Reset() : Use strrchr()"

This reverts commit c8af6f066f.
2021-01-22 11:22:32 +01:00
d529b650c0 implement swapping the position of both screens
closes #855
2021-01-17 22:16:32 +01:00
f2fa52f26c add functionality to import savefiles 2020-09-11 03:08:06 +02:00
f8d1d08e9c (finally) build the goddamn cheat interface 2020-08-15 00:14:05 +02:00
43e045357f make it able to switch between DS and DSi modes 2020-06-01 20:36:30 +02:00
bc4a83abca make frontend-util audio module config-agnostic 2020-05-24 23:47:11 +02:00
16252a85e7 separate screen handling shit to a specialized class 2020-05-24 23:16:56 +02:00
8f9369beeb add screen layout system 2020-05-21 18:43:07 +02:00
9e43c85b4d hook up microphone shit.
I did my best.
2020-05-20 23:55:18 +02:00
a9b275bc25 reimplement Stop 2020-05-20 22:58:04 +02:00
2ebb21ce3b hook up pause and reset, w/ relevant hotkeys 2020-05-20 22:22:22 +02:00
c5c9434ac9 verify BIOS and firmware before booting games/firmware 2020-05-17 05:42:09 +02:00
aa4344e249 add audio output. HARK HARK HARK 2020-05-02 20:25:39 +02:00
5fbad464c2 hook up savestate shito 2020-04-29 00:50:23 +02:00
63efc2e02a add menu items for running the firmware and for quitting. 2020-04-28 22:45:11 +02:00
3c883a2152 hey look, it runs shit now! 2020-04-27 22:32:33 +02:00
931da1c66f add a bunch of code 2020-04-27 22:02:45 +02:00
d6efb03248 HARK HARK HARK 2020-04-27 20:59:11 +02:00