59c715475d
fix oversight regarding hotkey joystick buttons. also prevent triggering the lid command a billion times in a row with a joystick button.
2018-12-16 14:41:46 +01:00
a99ebf38db
prevent crash if mic init fails
2018-12-16 14:18:59 +01:00
4a47bd6d53
make it even saferer
2018-12-16 00:39:14 +01:00
502d8c3fa0
avoid potential crash with EmuDirectory if we somehow got no argv or an empty path
2018-12-16 00:38:10 +01:00
7fb1c0518c
Merge pull request #285 from abcdjdj/limit_fps
...
Add option to limit framerate from UI
2018-12-15 00:38:35 +01:00
d30043bc85
Merge pull request #230 from dogtopus/pcap-libnames-linux
...
Add linux libpcap names to the pcap library list
2018-12-15 00:30:44 +01:00
56c2160855
attempting to fix some potential input dialog crashes
2018-12-15 00:22:28 +01:00
e6c03619a1
libui/gtk: make uiWindowSetFocus() actually work
2018-12-14 22:57:06 +01:00
2077642a92
libui/GTK: remember directory in which the latest loaded ROM was, point file picker to it. behavior under Windows will likely stay unchanged as the Windows file picker already does that.
2018-12-14 22:03:34 +01:00
10ebae42db
avoid crash when the mic WAV couldn't be loaded
2018-12-14 14:20:59 +01:00
46bc2dba33
fix possible overflow in wav resampling. now it doesn't shit itself when loading large wavs.
2018-12-14 05:52:36 +01:00
c0c115a0ee
fix some wav/mic bugs
2018-12-14 05:48:50 +01:00
c7433ca664
finalize microphone code (hooked to all settings etc)
...
also add volume setting
2018-12-14 05:15:57 +01:00
8372edac0c
add file picker thing
...
I guess this part is done
2018-12-14 04:28:57 +01:00
5efb162302
actually save shit
2018-12-14 04:25:39 +01:00
fd54abd900
add dialog for audio settings, flesh it out
...
not functional yet tho
2018-12-14 04:09:51 +01:00
a64e59bf99
hook lid close/open to the actual hotkey system
2018-12-14 03:45:27 +01:00
ff1e21733d
add hotkey config values.
...
duplicate DlgInputConfig so that it can also do hotkey config.
also prevent from opening those config dialogs a billion times.
2018-12-14 03:32:40 +01:00
cb1e6ce750
proof-of-concept code for closing/opening lid.
2018-12-14 02:36:57 +01:00
e829c2e4a1
libui/windows: cache ideal size for uiButton.
...
input dialog isn't abysmally slow anymore.
2018-12-14 01:15:18 +01:00
dc2b1219cd
b0rp
2018-12-14 00:35:00 +01:00
eb1289c2fa
release audio devices properly
2018-12-13 18:51:01 +01:00
ef79cc06f3
proof-of-concept code for feeding a WAV to microphone input.
...
this eventually needs a proper UI.
2018-12-13 14:34:15 +01:00
758bed93bc
preliminary microphone code. requires an actual microphone. resulting audio is farty and blargy as fuck.
2018-12-12 16:33:40 +01:00
24d6bd2786
send console output to parent process's console.
...
this way Windows release builds can get console output if run from cmd.exe, just like under Linux
2018-12-12 15:18:43 +01:00
40f3f91368
move config-file seeking code to its own thing.
...
look also into the same directory as melonDS. make it the preferred place for storing melonDS.ini.
rewrite WinMain() wrapper.
2018-12-11 21:34:05 +01:00
beb092f93e
change where audio/joystick are inited, attempting to fix potential COM initialize issues
2018-12-11 16:24:55 +01:00
172fb4876a
begin work on general timing renovation. way shitty because it behaves as if caches were off, so everything will be slow as shit.
2018-12-04 17:54:10 +01:00
808bda9171
do not require dpad mappings for joystick axis to work
2018-12-02 15:11:56 +01:00
78c767b693
Add option to limit framerate from UI
...
Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com >
2018-11-21 11:11:02 +05:30
fa4fa164cb
* store all 32 matrix stack entries in savestates instead of 31.
...
* bump savestate version up. will break compatibility, but the alternative would be guessing the missing matrix entries somehow, so blarg.
* avoid relocating the savefile if loading a savestate fails.
2018-11-05 16:14:48 +01:00
d4d4965b2f
remove trainwrecky code that caused issues now.
2018-10-26 22:17:27 +02:00
c8d63f2be7
fuck that shit.
...
I fucking give up.
Windows actually doesn't want to cooperate either, and is being utter shit.
so, I'm going to do it the desmume way.
2018-10-26 20:10:25 +02:00
eb67ac9a1b
finally come up with a (crummy) solution for those fucking shitty submenus
2018-10-26 20:56:59 +02:00
cbe63f8fd5
until we actually get somewhere with the menu crap... fix potential crashes when exiting.
2018-10-26 18:39:41 +02:00
c5670a22a5
fix GTK menus asploding upon exit. hopefully. fuck this code
2018-10-26 16:29:46 +02:00
6e1209dd32
misc things
2018-10-24 00:32:31 +02:00
8b4ba2d8b9
separate SRAM setting coded, I guess
2018-10-24 00:24:36 +02:00
1edf2aed3b
* code function for relocating the savefile.
...
* don't bitch at the user when trying to load a savestate file that doesn't exist.
* grey out 'load state' items if there is no file.
2018-10-23 22:54:09 +02:00
f60ac42466
pass savefile name to NDS::LoadROM() instead of having the core generate it.
2018-10-23 21:52:41 +02:00
c9a7a0d744
* start coding UI shito for savestates
...
* change default mapping for L button to the key right next to Shift because we're gonna derp around with it
* still some shito to fix, but hang on, we're getting there
2018-10-23 19:57:01 +02:00
b5c39680a5
hax, finally making savestates usable
...
F1 to save, F2 to load. filename hardcoded for now.
shits itself:
* when the 3D engine is used
* when a debugger is used (heh)
2018-10-18 04:00:16 +02:00
fea7955675
fixor copyright years.
2018-09-15 02:32:13 +02:00
41b40cd4fa
Add linux libpcap names to the pcap library list
2018-02-22 10:39:02 -04:00
aab0030137
Merge pull request #224 from hcorion/alternate-loading
...
Load bios, firmware and melonDS.ini from exe, ~/.config/melonds or AppData
2018-02-19 13:08:34 +01:00
52df6be5f8
Load bios, firmware and melonDS.ini from executable or ~/.config/melonds or AppData
2018-01-11 14:38:57 -08:00
549bcf6d71
Fix build on linux, enable build directory support
...
Specifically:
- Include stddef.h for missing ptrdiff_t
- Define PCAP_OPENFLAG_PROMISCUOUS if not using WinPcap because it seems to be
a WinPcap extension
- Make use of CMAKE_CURRENT_{SOURCE,BINARY}_DIR to enable building under a
directory other than root of the project
2017-12-22 12:29:34 -04:00
9336e15197
avoid crashing when receiving a packet that is too large
2017-12-19 01:00:55 +01:00
3bdb7a7f2d
hook up the LAN (pcap) interface
2017-12-18 23:24:45 +01:00
9632aa4021
start working on melonAP.
...
it sends beacons!
2017-12-18 21:37:17 +01:00