Commit Graph

7507 Commits

Author SHA1 Message Date
Vicki Pfau 75910bcdab Qt: Add QPA info to report view 2023-04-28 22:48:01 -07:00
Adam Higerd 6dbd977c73 Scripting: shim print()/warn() in Lua 2023-04-26 21:08:42 -07:00
Vicki Pfau ba6865b570 mGUI: Enable auto-softpatching (closes #2899) 2023-04-26 01:05:11 -07:00
Vicki Pfau 622c2491b9 Debugger: Reject traces with negative trace amounts (fixes #2900) 2023-04-26 00:48:12 -07:00
Vicki Pfau ae75abb8fa Qt: Only disable swapInterval when fast-forwarding 2023-04-23 20:08:48 -07:00
Vicki Pfau 85aaa6c3c5 GB, GBA Audio: Clamp audio buffer size to 8192 2023-04-23 20:00:43 -07:00
Vicki Pfau 8739b22fbc Qt: Detect Wayland as EGL 2023-04-20 20:12:53 -07:00
Vicki Pfau 420da428bd Qt: Cleaner type punning 2023-04-20 20:11:43 -07:00
Vicki Pfau 5f6948351b Feature: Move video-backend.c to a sensible place 2023-04-19 05:35:36 -07:00
Vicki Pfau 727ba5b2f2 Qt: Rip out OpenGL proxy thread 2023-04-18 21:22:10 -07:00
Vicki Pfau 7337edb82a Qt: Manually toggle swap interval as needed 2023-04-18 21:22:10 -07:00
Vicki Pfau 133ed11cab GBA Video: Don't repeat yourself 2023-04-18 02:18:49 -07:00
Vicki Pfau 2c84689345 Util: Improve mImageLoadPNG memory cleanup 2023-04-17 22:31:03 -07:00
Vicki Pfau 80a8074608 GBA Video: Fix interpolation issues with OpenGL renderer 2023-04-17 22:23:54 -07:00
Vicki Pfau 9fa607b30f Util: More palette support 2023-04-17 04:37:36 -07:00
Vicki Pfau 618a51cabb Util: Preliminary palette support 2023-04-17 04:37:36 -07:00
Vicki Pfau f8b923015b Util: Add grayscale mImage loading 2023-04-17 04:37:36 -07:00
Vicki Pfau 65f04ee408 Util: PNGWrite*A is dead, long live PNGWrite* 2023-04-17 04:37:36 -07:00
David Spickett 225456a39c Debugger: Send flags information for cpsr register
There is a feature of target XML called flags. It allows
you to describe what a register contains.

https://sourceware.org/gdb/onlinedocs/gdb/Target-Description-Format.html

GDB has supported this for a long time and I recently added support
in LLDB:
e07a421dd5

This change adds this flags information for the cpsr register of the ARM7TDMI.
Based on the information in https://developer.arm.com/documentation/ddi0210/c/.

This is what it looks like when using GDB:
```
(gdb) info registers
r0             0x0                 0
<...>
cpsr           0x6000001f          [ Z C M=31 ]
```
And LLDB:
```
(lldb) register read cpsr
    cpsr = 0x6000001f
         = (N = 0, Z = 1, C = 1, V = 0, I = 0, F = 0, T = 0, M=31)
```

(the format is up to the debugger, lldb is a lot more verbose at the moment)

To enable this I have increased the GDB stub's outgoing buffer to 1400 bytes.
The target XML is just above 130 bytes with the flags added.
2023-04-15 01:30:35 -07:00
Vicki Pfau 5bf048e380 GB Serialize: Add missing Pocket Cam state to savestates 2023-04-13 02:56:12 -07:00
Vicki Pfau b876f13cb2 VFS: Actually fflush sync when doing writeback 2023-04-13 02:29:27 -07:00
Vicki Pfau f40222f0ee Core: Code cleanup 2023-04-13 02:09:12 -07:00
Vicki Pfau fca0505f38 3DS: Code cleanup 2023-04-12 22:45:22 -07:00
Vicki Pfau e8ef801a3e Vita: Work around broken mktime implementation in Vita SDK (fixes #2876) 2023-04-12 03:33:53 -07:00
Vicki Pfau 1b85fb3de5 Scripting: Fix early freeing of coerced list contents (fixes #2881) 2023-04-11 16:27:57 -07:00
Vicki Pfau 3f108aae75 Scripting: Re-fix some Lua string handling (fixes #2877) 2023-04-10 03:02:51 -07:00
Vicki Pfau dfb6055ae4 FFmpeg: Force lower sample rate for codecs not supporting high rates (fixes #2869) 2023-04-07 00:58:41 -07:00
Vicki Pfau b68c714455 FFmpeg: Fix buffer size rounding for audio encoding 2023-04-07 00:58:40 -07:00
Vicki Pfau a039e2fbef Core: Fix memory leaks in mCacheSet 2023-04-05 05:06:08 -07:00
Vicki Pfau 03d1ed7778 Qt: More coverity placating 2023-04-05 05:00:16 -07:00
Vicki Pfau a69f95bcb6 Util: Placate coverity a bit 2023-04-05 04:56:26 -07:00
Vicki Pfau efcdd29109 GBA e-Reader: Improve error handling in image loading 2023-04-05 04:54:51 -07:00
Vicki Pfau 8c55769afc Scripting: Fix some Lua string handling 2023-04-05 04:50:26 -07:00
Vicki Pfau 2f54d98ff6 Scripting: Export some system information 2023-04-04 02:20:06 -07:00
Vicki Pfau 9920a609e8 OpenGL: Make backends handle non-zero origin outer frame boundaries 2023-04-04 02:04:59 -07:00
Vicki Pfau 6867b556f3 Scripting: Export image compositing functions 2023-04-03 03:02:08 -07:00
Vicki Pfau c884560fdb Util: Add alpha-based mImage compositing functions 2023-04-03 03:00:23 -07:00
Vicki Pfau cfd5572fb6 Util: Add basic mImage blit with no blending 2023-04-03 01:56:22 -07:00
Vicki Pfau 5b18089e85 Util: Add mRectangleIntersection 2023-04-03 00:39:53 -07:00
Vicki Pfau 329159bddc Util: Refactor some things that will be used later 2023-04-02 23:23:54 -07:00
Vicki Pfau 2d07a269fc Core: Add screenshotToImage scripting binding 2023-04-02 03:40:39 -07:00
Vicki Pfau 2fca2f4395 Scripting: Export current image API 2023-04-02 03:39:14 -07:00
Vicki Pfau ed69b9f741 Scripting: Separate object freeing and deiniting 2023-04-02 03:39:14 -07:00
Vicki Pfau 42527b4c5e Util: More image creation functions 2023-04-02 03:39:14 -07:00
Vicki Pfau 285f22927b Util: Reject 0-width/height images 2023-04-01 22:42:44 -07:00
Vicki Pfau 6d719b529a Util: Add mImage saving 2023-03-31 02:42:01 -07:00
Vicki Pfau c8ce215d58 Util: Add image format conversion 2023-03-31 02:23:24 -07:00
Vicki Pfau d62688a0ef Util: Fix extracting top channel from 565 formats 2023-03-31 02:14:51 -07:00
Vicki Pfau bd3a3b8360 Util: Fix memory leak in mImageLoadVF 2023-03-31 01:57:08 -07:00
Vicki Pfau 1fd974272c Scripting: Make functions able to have default arguments 2023-03-31 00:32:02 -07:00
Vicki Pfau 64408b8fd1 Scripting: Tidy up public headers 2023-03-31 00:32:02 -07:00
Vicki Pfau e80b533549 Scripting: Add read-only struct members 2023-03-31 00:32:02 -07:00
Vicki Pfau 1306cfe15e Scripting: Add Lua-specific local `script` table for info about the script 2023-03-29 01:25:01 -07:00
Vicki Pfau 4543bcf9de Scripting: Make mScriptEngineExportDocNamespace take ownership 2023-03-29 01:24:10 -07:00
Vicki Pfau 832d0a7c05 Qt: Fix checked state of mute menu option at load (fixes #2701) 2023-03-27 01:09:51 -07:00
Vicki Pfau 7ef8cd961f Util: Fix non-USE_PNG build 2023-03-27 00:16:26 -07:00
Vicki Pfau 3c353b572b Qt: Swap P1 and other player's save if P1 loaded it first (closes #2750) 2023-03-26 23:58:44 -07:00
Vicki Pfau 2cba34d83a Util: Add image loading API 2023-03-26 17:49:15 -07:00
Vicki Pfau cdb0c4193b GBA Audio: Clear GB audio state when disabled 2023-03-25 04:27:54 -07:00
Vicki Pfau cb0ad844c1 Util: Strip loading 16-bit PNGs down to 8-bit 2023-03-25 01:46:36 -07:00
Vicki Pfau 542792215e GBA Overrides: Fix saving in PMD:RRT (JP) (fixes #2862) 2023-03-24 15:45:21 -07:00
Vicki Pfau a064306916 GB MBC: Fix crash with NT Old 2 if rumble callback isn't installed 2023-03-22 01:47:30 -07:00
Vicki Pfau e79ae2860b Util: Start mImage/mColor APIs and tests 2023-03-22 01:42:27 -07:00
Vicki Pfau 646a0e9b33 GBA Memory: Clean up stall function slightly 2023-03-21 21:59:49 -07:00
Vicki Pfau 603c1800d5 Util: Move some image stuff around 2023-03-21 21:59:49 -07:00
Vicki Pfau e3fbb55854 Scripting: Return proper callback ID from socket.add 2023-03-19 04:59:00 -07:00
Vicki Pfau ea5db5f72d Scripting: Fix scalar hashing on different union layouts, e.g. big endian 2023-03-19 03:47:51 -07:00
Vicki Pfau dfe9177374 Util: Fix test build 2023-03-19 03:29:00 -07:00
Vicki Pfau 9a4cf28776 Util: Namespace geometry structs to avoid conflicts 2023-03-19 03:03:55 -07:00
Vicki Pfau 96d0193136 Merge branch 'feature/canvas' 2023-03-19 02:25:31 -07:00
Vicki Pfau e3e8296105 OpenGL: Separate sizes of image and drawn layer for image 2023-03-19 02:23:37 -07:00
Vicki Pfau ce0b1507c3 OpenGL: Fix layers not recentering properly when scale is reduced 2023-03-19 01:24:33 -07:00
Vicki Pfau eb7b90e5d9 Qt: Fix OSD on modern macOS (fixes #2736) 2023-03-17 02:29:47 -07:00
Vicki Pfau fc35395ab8 Core: Handle relative paths for saves, screenshots, etc consistently (fixes #2826) 2023-03-16 23:37:54 -07:00
Vicki Pfau cd0b5193cb Core: An empty config string is a null config value 2023-03-15 22:44:52 -07:00
Vicki Pfau 434789c6d1 Qt: Placate Coverity a bit 2023-03-14 01:27:19 -07:00
Vicki Pfau fd0deaaecc GBA Memory: Play slightly nicer with CSE 2023-03-14 01:11:11 -07:00
Vicki Pfau fe8b436b41 GDB: Ugh 2023-03-06 14:57:05 -08:00
Vicki Pfau 7386e60ac0 GDB: Enable NODELAY on GDB stub connections 2023-03-06 14:51:22 -08:00
Vicki Pfau 5265573c0c Qt: Fix buffer termination issue 2023-03-06 00:08:41 -08:00
Vicki Pfau a7c232b284 Qt: Fix black screen when starting with a game (fixes #2781) 2023-03-05 23:56:16 -08:00
Vicki Pfau 89f8873df3 GBA Saveata: Fix fumbled check 2023-03-05 14:21:47 -08:00
Vicki Pfau 44fb887737 SDL: Border rendering 2023-03-03 19:25:14 -08:00
Vicki Pfau 48c9261b05 SDL: Refactor use of VideoBackend to slim down GL backends 2023-03-03 19:25:14 -08:00
Vicki Pfau 08f360af90 Qt: Ask the display, not the core, what size it should be 2023-03-03 19:25:14 -08:00
Vicki Pfau c7e4db58e3 OpenGL: Add basic border rendering to modern GL driver 2023-03-03 19:25:14 -08:00
Vicki Pfau 09a53abe99 OpenGL: Add basic border rendering to GL 1.x driver 2023-03-03 19:25:14 -08:00
Vicki Pfau efbc4a49ce Util: Add some basic geometry math 2023-03-03 19:25:14 -08:00
Vicki Pfau bd6edce5cf Qt: Start adding background/bezel image support 2023-03-03 19:25:14 -08:00
Vicki Pfau d6c3b012d1 Video: Start revising VideoBackend API 2023-03-03 19:25:14 -08:00
Vicki Pfau dd531637c2 Core: Revise screen size/info API 2023-03-03 19:25:14 -08:00
Vicki Pfau 59ebf1c12d GB Video: Implement DMG-style sprite ordering 2023-03-03 01:00:26 -08:00
Vicki Pfau 30fc000734 Scripting: Fix potential crash if a bucket can't be opened 2023-03-02 21:30:01 -08:00
Vicki Pfau ceb66b133f VFS: Improve zip invariant handling 2023-03-02 20:38:59 -08:00
Vicki Pfau 077aa04f48 Qt: Fix potential directory handle leak 2023-03-02 20:31:11 -08:00
Vicki Pfau 001135ef91 Qt: Better fps non-zero division check 2023-03-01 23:11:23 -08:00
Vicki Pfau f45b4e3ef0 Qt: Initialize Shortcut::m_direction 2023-03-01 23:05:40 -08:00
Vicki Pfau 54b9fbd881 GBA SIO: Who wrote this code? Oh, me 2023-03-01 22:52:50 -08:00
Vicki Pfau 222d48efe7 Qt: Initialize log-to members 2023-03-01 22:52:05 -08:00
Vicki Pfau 7d014f1ae6 Core: Negative log types are invalid 2023-03-01 22:51:48 -08:00
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