1cf49e0dbe
make joystick hotpluggable
2018-12-30 00:27:12 +01:00
65c27c5c28
fix potential crashes in input config dialog when setting joystick buttons, by using uiQueueMain()
...
how could I not think of this? GTK is not thread safe.
2018-12-29 23:32:58 +01:00
5c5146945c
Merge pull request #342 from pedrovelho/master
...
Add dependencies to readme and fix a cmake warning from sdl2 trailing space
2018-12-27 17:12:57 +01:00
b965bded4c
Add common dependence packagens needed.
2018-12-27 16:27:36 +01:00
d638096a1b
Solve cmake error while importing SDL2.
2018-12-27 16:25:30 +01:00
7a949ddd0e
2D: add support for 8bit reads to DISPCNT/BGCNT.
...
fixes #331
2018-12-21 17:53:48 +01:00
63ae6bf8fb
libui/windows: some work on hiDPI shit
...
still looks derpy but atleast the rendering and touchscreen aren't broken
2018-12-21 05:01:37 +01:00
f86fe46035
move the W=0 check, to be sure to check all the vertices
2018-12-20 01:40:32 +01:00
f6e6fa05ea
some work on extreme/degenerate shit in GPU
...
* clip against Z then Y then X. apparently, fixes #310 . I had also observed hints that the hardware does it this way.
* truncate W to 24 bits before viewport transform.
* mark any polygons that have a W=0 at that point as degenerate. do not render.
2018-12-20 01:31:31 +01:00
1a8b18af2c
what.
2018-12-19 14:50:04 +01:00
0c37824447
2D: fix fade effects to semitransp sprites and 3D layer. fixes #263
...
(also remove some useless variable. wtf)
2018-12-19 05:54:39 +01:00
ce79edd998
update readme
2018-12-18 21:08:24 +01:00
dd30b417b8
implement proper support for POWCNT1.
...
fixes #260
2018-12-18 17:04:42 +01:00
1b64e87115
add Imagine - Teacher (USA). EEPROM 4K.
...
at this point we might want to look into a better Advanscene DB to build this from. this one seems to be a total Swiss cheese.
2018-12-18 15:15:26 +01:00
cf78eb458a
add Madden NFL 09 (USA) to the list. savetype: Flash 2MBit
...
fixes #306
2018-12-18 02:13:22 +01:00
71bbb35bbf
watch your debug code better, you derp
2018-12-18 02:00:50 +01:00
694d6cafa2
fix STRD_POST (dumbest copypaste bug of the year)
...
fixes #276
2018-12-18 01:56:21 +01:00
4a36193cab
be sure to always reset NormalPipeline
2018-12-17 02:50:36 +01:00
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
3f26fbddc0
HAW HAW HAW HAW
0.7.2
2018-12-16 01:13:14 +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
0a7db56bef
Yoshi Touch & Go uses 4K EEPROM, you derpos
2018-12-15 18:43:36 +01:00
a34d456fcc
GX: timing for command 0x50 is more like 325 cycles on average on hardware. (measured 319/325/331)
...
fixes #297
2018-12-15 13:33:44 +01:00
12c35093aa
set GXSTAT busy flag immediately when writing a command to the GXFIFO.
...
there was a slim chance that a game could send a couple commands and read GXSTAT.busy as zero immediately after. the new timings made that happen in NSMB (not in the USA ROM, oddly), such that the game was reading the clip matrix while matrix commands were running, and getting the first few values wrong.
fixes #295 and probably others in the same vein.
2018-12-15 05:00:25 +01:00
ca955d1bac
Merge pull request #269 from cpba/manifest
...
Add manifest for building as a flatpak
2018-12-15 00:40:06 +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
0b0dd82968
also update the readme a bit while we're at it
2018-12-15 00:36:16 +01:00
8151fbc953
Merge pull request #265 from Aqueminivan/fancy-readme
...
Changed the readme to make it look a little fancier
2018-12-15 00:32:57 +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
a4eaf7dc19
SPU:
...
* support channel repeat mode 3, behaves same as mode 1 (loops)
* always clear channel buffers, so if channels 0-7 use format 3, they don't output old data over and over again (fixes #281 )
2018-12-14 00:14:06 +01:00
68d5e3c782
3D: in Z-buffering mode, margin for 'equal' depth test mode is +-0x200, not +-0xFF
...
fixes #274
2018-12-13 22:46:12 +01:00
32392cc8e2
2D: blending cases that bypass the BLDCNT first-target check (semitransp sprite, 3D layer) also bypass the window 'color effect enable' check.
...
fixes #299
2018-12-13 19:21:03 +01:00
eb1289c2fa
release audio devices properly
2018-12-13 18:51:01 +01:00