Vicki Pfau
cd4dbaeb60
Feature: Initialize z_stream more cleanly
2023-03-01 21:02:49 -08:00
Vicki Pfau
a2072b67ba
Core: Fix GBK string memory handling in .cht loading
2023-03-01 20:32:34 -08:00
Vicki Pfau
bc048094b1
Feature: Fix No-Intro cleanup on initial errors
2023-03-01 20:27:51 -08:00
Vicki Pfau
bba57ce530
All: Fix handling of strncat bounds
2023-03-01 20:16:40 -08:00
Vicki Pfau
064d6ce183
GB: Fix potential double-free of non-pristine ROM memory
2023-03-01 20:11:26 -08:00
Vicki Pfau
e3983d3330
Core: Add missing va_end
2023-03-01 16:16:51 -08:00
Vicki Pfau
622a6e9e2d
GB Memory: Fix potential crash when directly accessing invalid SRAM
2023-03-01 16:13:35 -08:00
Vicki Pfau
e504ac3665
Qt: Fix crash if loading a shader fails
2023-03-01 16:10:43 -08:00
Vicki Pfau
7ffa0ff280
OpenGL: Fix memory leak in failure path
2023-03-01 16:08:56 -08:00
Vicki Pfau
2cce155173
GBA Savedata: Fix sanity check in Load
2023-03-01 16:02:28 -08:00
Vicki Pfau
ee21eed29c
Qt: Fix full-buffer rewind
2023-03-01 15:59:46 -08:00
Vicki Pfau
10a3165642
Qt: auto -> auto& cleanup
2023-03-01 15:52:34 -08:00
Vicki Pfau
5b72231166
GBA Overrides: Mark ASL* as no save ( fixes #2843 )
2023-02-28 18:11:21 -08:00
Vicki Pfau
a64dcf8e43
All: Minor warning touching up
2023-02-24 22:35:52 -08:00
Michael Manganiello
682471fa1e
Libretro: Fix undeclared constant
...
The `SIZE_CART_FLASH1M` constant was renamed to `GBA_SIZE_FLASH1M` in
8545271e9e
These leftovers make the Libretro build fail, when running:
```
cmake -DBUILD_LIBRETRO=ON .. && make
```
2023-02-24 04:24:54 -08:00
Vicki Pfau
47941aa0b0
Qt: Automatically change video file extension as appropriate
2023-02-24 03:51:07 -08:00
Vicki Pfau
1ca6f7e093
Scripting: Add WSAEWOULDBLOCK to error translation table
2023-02-22 19:52:33 -08:00
Vicki Pfau
6f14732e0d
Qt: Fix loading a script leaving sync disabled
2023-02-15 02:29:57 -08:00
Vicki Pfau
0b17a40d6b
Qt: Fix a handful of edge cases with graphics viewers ( fixes #2827 )
2023-02-14 23:13:04 -08:00
Adam Higerd
033efff86e
hook frame callback in socket connect
2023-02-12 13:28:34 -08:00
Vicki Pfau
b1faf67438
Scripting: Bucket names can't start with .
2023-02-12 01:46:05 -08:00
Vicki Pfau
422439f0a6
OpenGL: Export output buffer size to shader
2023-02-11 22:04:00 -08:00
Vicki Pfau
30fa0a3843
OpenGL: Fix null calloc/memcpy
2023-02-11 21:08:40 -08:00
Vicki Pfau
1722fe4530
Qt: Fix modifier key names in shortcut editor ( fixes #2817 )
2023-02-09 19:59:55 -08:00
Vicki Pfau
3bacc33ebe
Qt: Disable attempted linking betwen incompatible platforms ( fixes #2702 )
2023-02-09 00:17:55 -08:00
Vicki Pfau
cade5eebde
Qt: Properly cap number of attached players by platform ( fixes #2807 )
2023-02-09 00:08:45 -08:00
Vicki Pfau
c709aee0f3
Qt: Getting tired of pushing commits to fix the build without json-c
2023-02-08 21:15:51 -08:00
Vicki Pfau
3cbfaa010d
Scripting: Add method to enable/disable storage bucket autoflushing
2023-02-08 20:37:19 -08:00
Vicki Pfau
466639ee31
Qt: Fix build without json-c
2023-02-08 19:17:28 -08:00
Vicki Pfau
123532ed6e
Scripting: Add `callbacks:oneshot` for single-call callbacks
2023-02-08 19:14:36 -08:00
Vicki Pfau
ff449dc66c
Scripting: Fix non-json-c build
2023-02-08 17:57:23 -08:00
Vicki Pfau
1268aaee1c
Scripting: Fix tests
2023-02-08 02:45:54 -08:00
Vicki Pfau
e3e0957f14
Scripting: A slew of buildfixes
2023-02-08 02:37:35 -08:00
Vicki Pfau
dca1e49c9f
Scripting: Add documentation for storage and buckets
2023-02-08 01:27:33 -08:00
Vicki Pfau
f3d49527b7
Qt: Add scripting storage integration
2023-02-08 01:27:33 -08:00
Vicki Pfau
63d96ab712
Scripting: Add flushing/reloading
2023-02-08 01:27:33 -08:00
Vicki Pfau
91474e179c
Scripting: More storage tests
2023-02-08 01:27:33 -08:00
Vicki Pfau
8b65f3772c
Scripting: Initial deserialization work
2023-02-08 01:27:33 -08:00
Vicki Pfau
0c6b443065
Scripting: Initial serialization work
2023-02-08 01:27:33 -08:00
Vicki Pfau
c1e1843e5e
CMake: Add json-c optional dependency
2023-02-08 01:27:33 -08:00
Vicki Pfau
00a34e0d07
Scripting: Add skeleton of storage API
2023-02-08 01:27:33 -08:00
Vicki Pfau
aefcd174a8
Scripting: Warning cleanup
2023-02-08 01:25:34 -08:00
Vicki Pfau
045a2c96dc
Scripting: Fix passing mSTList/Table from Lua back into the runtime
2023-02-08 01:25:17 -08:00
Vicki Pfau
282a033df2
Scripting: Clean up refcounting
2023-02-08 01:23:51 -08:00
Vicki Pfau
004f68496f
Scripting: Add type-overloadable setters
2023-02-04 01:15:51 -08:00
Vicki Pfau
f74db92ccd
Scripting: Add wrapper drill-down casts
2023-02-04 01:15:51 -08:00
Vicki Pfau
39e3b5181a
Scripting: Add WTABLE
2023-02-04 01:15:51 -08:00
Vicki Pfau
c2bcf0df07
Scripting: Fix object get thunking
2023-02-04 01:15:51 -08:00
Vicki Pfau
0193bc3a83
Scripting: Fix table unwrapping
2023-02-04 01:15:51 -08:00
Vicki Pfau
5164b888d8
Scripting: Allow Lua to pass nested tables to the scripting subsystem
2023-02-04 01:15:51 -08:00
Vicki Pfau
f37d068733
GBA SIO: Minor code modernization
2023-02-03 03:55:04 -08:00
Vicki Pfau
527313bafc
GBA SIO: Normal mode transfers with no clock should not finish ( fixes #2811 )
2023-02-03 03:55:04 -08:00
Vicki Pfau
f046596ca7
GBA SIO: Fix unconnected normal mode SIOCNT SI bit ( fixes #2810 )
2023-02-03 03:55:04 -08:00
Vicki Pfau
e470795258
GBA Timers: Cascading timers don't tick when disabled ( fixes #2812 )
2023-02-03 01:43:34 -08:00
Vicki Pfau
e95bd06321
Scripting: Clear down keys when the window is deactivated
2023-02-02 21:34:14 -08:00
Vicki Pfau
f27ce8d82e
Scripting: Add input:activeKeys to get currently active keyboard keys
2023-01-31 21:34:19 -08:00
Vicki Pfau
4afacfa067
Qt: Link QJpegPlugin on static Windows
2023-01-31 21:12:29 -08:00
Vicki Pfau
86327de14f
Qt: Add filter for selecting forwarder images
2023-01-31 21:12:29 -08:00
Vicki Pfau
bef88a4e13
Qt: Hide ? button on forwarder view
2023-01-31 20:58:38 -08:00
Vicki Pfau
e445baaf14
Script: Fix table string key UAF
2023-01-31 17:22:45 -08:00
Vicki Pfau
5a5adc1b15
Script: Fix leaking tables passed from Lua
2023-01-31 17:22:45 -08:00
Vicki Pfau
92d86af955
GBA SIO: Fix SIOCNT SI pin value after attaching player 2 ( fixes #2805 )
2023-01-30 20:48:39 -08:00
Vicki Pfau
d1f589e002
GBA Audio: Fix improperly deserializing GB audio registers ( fixes #2793 )
2023-01-30 00:21:28 -08:00
Vicki Pfau
a67b0c0fb2
Qt: Update translations
2023-01-29 01:46:10 -08:00
Vicki Pfau
5b170b003a
Qt: Stop eating boolean action key events ( fixes #2636 )
2023-01-29 01:44:14 -08:00
Vicki Pfau
d07dbdc0dd
Qt: Unbind apostrophe from GameShark button by default
2023-01-29 01:36:46 -08:00
Vicki Pfau
a2d12548f5
Qt: Update translations
2023-01-29 00:20:18 -08:00
Alexander Hedberg
9a50b6dcd0
Qt: Added translation (Swedish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/sv/
2023-01-29 00:16:01 -08:00
nivea
8e5f5ba8ac
Qt: Update translation (Japanese)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ja/
2023-01-29 00:16:01 -08:00
Momo cao
c15f80a855
Qt: Update translation (Spanish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2023-01-29 00:16:01 -08:00
Hoseok Seo
60fdbfd9ac
Qt: Update translation (Korean)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ko/
2023-01-29 00:16:01 -08:00
shinyoyo
88c4c7857c
Qt: Update translation (Chinese (Simplified))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2023-01-29 00:16:01 -08:00
Luna Lyday
7cf3535e03
Qt: Update translation (Polish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2023-01-29 00:16:01 -08:00
Alex
253dca5840
Qt: Update translation (Russian)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ru/
2023-01-29 00:16:01 -08:00
Lothar Serra Mari
a90c09882e
Qt: Update translation (German)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2023-01-29 00:16:01 -08:00
Felipe
92b7b347bf
Qt: Update translation (Portuguese (Brazil))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2023-01-29 00:16:01 -08:00
Vicki Pfau
38fa501a08
Qt: Fix controller hotplugging
2023-01-28 23:42:56 -08:00
Vicki Pfau
c84c31bdc0
Core: Allow sending thread requests to a crashed core ( fixes #2785 )
2023-01-28 22:39:00 -08:00
Vicki Pfau
0701fb1997
Qt: It's 2023 now
2023-01-28 22:10:00 -08:00
Vicki Pfau
1a29a92c3a
Switch: Improve screenshot texture handling
2023-01-28 20:31:46 -08:00
Vicki Pfau
70e31df683
mGUI: Improve savestate screenshot handling
2023-01-28 20:29:06 -08:00
Vicki Pfau
7bd0e91735
Qt: Fix savestate preview sizes with different scales ( fixes #2560 )
2023-01-28 17:49:00 -08:00
Vicki Pfau
a4d1268db4
Core: Export screenshot dimensions in savedata extdata
2023-01-28 17:49:00 -08:00
Vicki Pfau
7ee2be6c96
Scripting: Export Input API docs
2023-01-27 21:22:33 -08:00
Vicki Pfau
c0d4e2c347
Scripting: Expose gamepad name to scripts
2023-01-27 21:20:46 -08:00
Vicki Pfau
0dd7cfd44a
Qt: Hook up gamepad to scripting
2023-01-27 21:20:46 -08:00
Vicki Pfau
dfe2f62f16
Scripting: Basic gamepad support
2023-01-27 21:20:46 -08:00
Vicki Pfau
a154690694
Scripting: Migrate some stuff from docgen into libmgba
2023-01-27 21:08:43 -08:00
Vicki Pfau
697e80a5a1
Qt: Start hooking up input events into scripting
2023-01-27 21:08:43 -08:00
Vicki Pfau
47bf00da5e
Scripting: Implement input sequence numbers
2023-01-27 21:08:43 -08:00
Vicki Pfau
e5ed2b4119
Scripting: Add base input, supports key events
2023-01-27 21:08:43 -08:00
Vicki Pfau
fcfab847fc
Scripting: Add callback arguments
2023-01-27 21:08:43 -08:00
Vicki Pfau
fc2b94f9f7
Scripting: Allow basic pointer following
2023-01-27 21:07:57 -08:00
Vicki Pfau
6d8060034f
Qt: Disable sync while running scripts from main thread ( fixes #2738 )
2023-01-27 19:41:57 -08:00
Vicki Pfau
dbffb46c4e
Wii: Fix build
2023-01-26 21:49:48 -08:00
Vicki Pfau
6bea763b23
Scripting: Allow struct access to inline strings
2023-01-26 21:39:19 -08:00
Vicki Pfau
8545271e9e
GBA Memory: Modernize constant names
2023-01-26 18:59:35 -08:00
Vicki Pfau
6b63e42146
Qt: These return multiple keys
2023-01-26 16:18:10 -08:00
Vicki Pfau
0cfec878c8
Qt: mInputMapHat returns a mask, not a single key ( fixes #2800 )
2023-01-26 15:32:00 -08:00
Vicki Pfau
1dedd1d7a7
Qt: Include wayland QPA in AppImage ( fixes #2796 )
2023-01-26 07:17:53 -08:00
Vicki Pfau
8e671b0830
Qt: Fix crash when attempting to use OpenGL 2.1 to 3.1 ( fixes #2794 )
2023-01-26 05:57:08 -08:00
Vicki Pfau
c4157e59fc
Qt: Fix gamepad driver lookup
2023-01-26 04:05:23 -08:00
Vicki Pfau
b5f600c0c5
Scripting: Allow weakrefs to be marked for auto-collection
2023-01-26 03:32:28 -08:00
Vicki Pfau
58089fb334
Scripting: Allow mScriptList members, better testing
2023-01-26 03:30:36 -08:00
Vicki Pfau
5216383c28
Scripting: Fix scripting console
2023-01-25 21:52:23 -08:00
Vicki Pfau
17ef84804b
Scripting: Lua nullity fixes
2023-01-25 04:48:57 -08:00
Vicki Pfau
e2668c25c5
Qt: Set default gamepad and sensor drivers
2023-01-25 04:17:38 -08:00
Vicki Pfau
0da94526bc
Scripting: Add some nullity tests
2023-01-25 04:15:47 -08:00
Vicki Pfau
74e7a44da3
Qt: More API cleanup
2023-01-22 20:13:21 -08:00
Vicki Pfau
62c84ab815
Util: Add some base vector implementations
2023-01-22 19:44:57 -08:00
Vicki Pfau
430ffc18e2
Qt: Further input cleanup
2023-01-22 19:38:01 -08:00
Vicki Pfau
0c77227e06
Qt: Finish input driver separation
2023-01-22 19:38:01 -08:00
Vicki Pfau
547c9269fa
Qt: Start shaking out GBAKey
2023-01-22 19:38:01 -08:00
Vicki Pfau
8ec856e10c
Qt: Move Gamepad events into input/
2023-01-22 19:38:01 -08:00
Vicki Pfau
4580e8d2e9
Qt: Start adding better input abstractions
2023-01-22 19:38:01 -08:00
Vicki Pfau
be3022156f
Qt: Start splitting up InputController
2023-01-22 19:38:01 -08:00
Vicki Pfau
1584023f34
Core: Round out input API pre-revamp
2023-01-22 19:38:01 -08:00
Vicki Pfau
8c5940e540
Qt: Add ig4icd32 crash to OpenGL bug database (see #2136 )
2023-01-22 17:43:09 -08:00
Vicki Pfau
0d0e92ce59
GBA Memory: Make VRAM access stalls only apply to BG RAM
2023-01-16 00:09:35 -08:00
Vicki Pfau
941ad50723
Qt: Attempt to shorten Game Boy settings pane
2023-01-14 15:51:42 -08:00
Vicki Pfau
9df06383b5
Qt: Work around Mesa issue 8035
2023-01-09 00:11:12 -08:00
Vicki Pfau
70e6470e8b
Qt: Fix minor leak
2023-01-08 23:59:36 -08:00
Vicki Pfau
068e1fb612
GB Audio: Fix regression in channel updating with NR5x ( fixes #2775 )
2023-01-06 14:26:14 -08:00
Vicki Pfau
819d19dddc
Qt: Redo stable branch detection heuristic
2022-12-31 18:15:55 -08:00
Vicki Pfau
9f8679ffa6
Qt: Fix initializing update revision info
2022-12-31 17:54:51 -08:00
Vicki Pfau
1c370f6ebe
Scripting: Refactor out some testing code
2022-12-31 01:19:58 -08:00
Vicki Pfau
0a4cafcd57
GB BIOS: Include timing in degenerate ArcTan2 cases ( fixes #2763 )
2022-12-29 20:40:56 -08:00
Vicki Pfau
520609d12a
Qt: Fix indentation
2022-12-29 20:40:56 -08:00
Vicki Pfau
61950a52dc
GBA Cheats: Clean up redundant variables
2022-12-29 20:40:56 -08:00
momocaoo
f3b6593ab6
Qt: Fix typo in Forwarder ui ( #2764 )
2022-12-25 18:13:37 -08:00
Vicki Pfau
1b9671bf21
GBA Cheats: Fix issues detecting unencrypted cheats ( fixes #2724 )
2022-12-22 16:02:12 -08:00
Vicki Pfau
86bcbf1716
Qt: Start OpenGL bug list with glFlush cross-thread on Windows ( fixes #2761 )
2022-12-21 22:13:23 -08:00
Vicki Pfau
455e34edcf
Qt: glFlush is (thankfully) sufficient here
2022-12-18 21:48:08 -08:00
Vicki Pfau
90893dff60
GBA Video: Fix #2489 in OpenGL renderer
2022-12-18 17:01:01 -08:00
Vicki Pfau
d2949383d5
GBA: Clean up BIOS skip detection; add second multiboot entry
2022-12-18 00:04:27 -08:00
Vicki Pfau
83578d915b
Qt: Refactor and fix dequeueAll so keep mode keeps last draw tex too
2022-12-17 00:22:20 -08:00
CasualPokePlayer
0ac446beda
Check gba->mbVf for force skipping the BIOS ( #2754 )
2022-12-16 22:12:24 -08:00
Vicki Pfau
ab82b2c856
GB IO: Fix BANK not getting initialized after recent change
2022-12-13 15:18:21 -08:00
Vicki Pfau
b3f9d9b186
Qt: Fix loading/unloading shaders
2022-12-12 14:31:41 -08:00
Vicki Pfau
4626cac9e8
Qt: Tentative fix for renderer switching crash
2022-12-12 04:00:40 -08:00
Vicki Pfau
1127cf8b84
Qt: Fix proxy context creation on Nvidia ( fixes #2746 )
2022-12-12 03:12:06 -08:00
Vicki Pfau
27076733d4
GB Audio: Fix updating channels other than 2 when writing NR5x
2022-12-11 19:11:21 -08:00
Vicki Pfau
50fd46506c
GB Audio: Fix up boot sequence
2022-12-11 19:11:21 -08:00
Vicki Pfau
4f70b313fc
GB Memory: Actually, HDMAs should start when LCD is off ( fixes #2662 )
2022-12-08 01:20:51 -08:00
Vicki Pfau
dc5f6e37e1
GB Audio: Initialize ch3 window value
2022-12-07 20:56:16 -08:00
Vicki Pfau
b220c7a68b
Qt: Attempt to fix 5.8 build
2022-12-07 02:35:08 -08:00
Vicki Pfau
e9ec009836
GB Audio: Fix channel 3 volume being changed between samples ( fixes #1896 )
2022-12-07 01:21:21 -08:00
Vicki Pfau
3385f02b51
GBA DMA: Minor optimization of warm function
2022-11-30 17:44:53 -08:00
Vicki Pfau
2ba42761b8
Libretro: Add back missing audio overkill ( fixes #2734 )
2022-11-29 02:20:24 -08:00
Vicki Pfau
083585b565
GB Audio: Fix channels 1/2 not playing when resetting volume ( fixes #2614 )
2022-11-28 22:37:31 -08:00