68 Commits

Author SHA1 Message Date
Vicki Pfau
35f287e24c Windows: Fix some MSVC warnings 2025-05-04 00:24:39 -07:00
Vicki Pfau
eb781d290b Core: Add SHA1 hashing for ROMs 2025-03-30 16:44:33 -07:00
Vicki Pfau
ee21e43bdb Scripting: Install callbacks in mScriptContextAttachCore instead of mCoreThread 2025-01-02 01:21:20 -08:00
Vicki Pfau
9f5c2aa00c Scripting: Expose MD5 checksum 2024-12-31 17:04:52 -08:00
Vicki Pfau
132293449d Scripting: Attempt to fix Windows build 2024-12-31 16:51:50 -08:00
Vicki Pfau
23531e24b8 Scripting: Remove needless heap allocations 2024-12-31 03:11:31 -08:00
Vicki Pfau
72ee6f9840 Scripting: Expose info table to breakpoint/watchpoint callbacks (closes #3369) 2024-12-31 02:53:14 -08:00
Vicki Pfau
4d6fb5b3c5 Scripting: Combine frame argument and return value stacks
These were never used a the same time, and it reduces malloc/free churn
2024-11-08 02:27:45 -08:00
Vicki Pfau
4b0b6b5d37 Scripting: Fix readRegister return type 2024-09-26 21:22:08 -07:00
Vicki Pfau
e91da0f423 Scripting: Expose currentCycle in debugger builds
The global time is only maintained in debugger builds for performance reasons.
While it can be reconstructed on GBA, this is not the case on GB, so limit it
to debugger builds only.
2024-08-13 18:38:07 -07:00
Vicki Pfau
8ab2681bca Core: Expose more ROM information from the API 2024-08-11 23:25:18 -07:00
Vicki Pfau
458300b02e Core: Improve rumble emulation by averaging state over entire frame (fixes #3232) 2024-06-17 00:15:44 -07:00
Vicki Pfau
6f261f6f1b Scripting: Split console implementation out from Core scripting 2024-06-09 01:12:14 -07:00
Vicki Pfau
21d4f0f5fc All: Split ENABLE_VFS out from MINIMAL_CORE=2 2024-04-22 03:07:54 -07:00
Vicki Pfau
72202544bb Core: Don't trigger watchpoints with access inside of a script (fixes #3050) 2024-04-09 00:59:29 -07:00
Vicki Pfau
0e441527c8 CMake: Rename USE_DEBUGGERS and USE_GDB_STUB to ENABLE_DEBUGGERS and ENABLE_GDB_STUB
ENABLE flags are for optional features, USE flags are for optional dependencies
2024-04-08 03:08:10 -07:00
Vicki Pfau
0f0dccdcf2 Scripting: Unpack breakpoint name struct 2023-09-27 17:53:30 -07:00
Vicki Pfau
0c675b12e4 Scripting: Simplify console implementation 2023-09-16 01:20:34 -07:00
Vicki Pfau
805773aa8f Scripting: Fix console error log level 2023-09-16 00:42:52 -07:00
Vicki Pfau
bbdcb8b83b Scripting: Fix rounding warning 2023-08-10 12:17:44 -07:00
Vicki Pfau
09b7eea127 Script: Add mScriptContextInvoke for context-specific invocation and thread handling 2023-08-02 23:41:40 -07:00
Vicki Pfau
1af9831fc9 Scripting: Add light sensor callback support 2023-06-20 03:41:52 -07:00
Vicki Pfau
7be14fa7cc Scripting: Add rotation callback support 2023-06-18 22:06:54 -07:00
Vicki Pfau
a82c390fe9 Scripting: Detach adapter peripherals when detaching adapter 2023-06-18 21:48:35 -07:00
Vicki Pfau
20ab4d27b1 Scripting: Expose rumble callback 2023-06-04 22:25:54 -07:00
Vicki Pfau
6561223536 Scripting: Add debugger integration 2023-05-29 00:53:53 -07:00
Vicki Pfau
2d07a269fc Core: Add screenshotToImage scripting binding 2023-04-02 03:40:39 -07:00
Vicki Pfau
fcfab847fc Scripting: Add callback arguments 2023-01-27 21:08:43 -08:00
Vicki Pfau
5216383c28 Scripting: Fix scripting console 2023-01-25 21:52:23 -08:00
Adam Higerd
8f724d6a1f typo fix in scripting core 2022-08-15 16:23:09 -07:00
Vicki Pfau
fa5c5e9601 Scripting: Fix memory domain writing 2022-07-02 22:49:47 -07:00
Vicki Pfau
57880bf674 Core: Add romSize function 2022-07-02 22:49:47 -07:00
Vicki Pfau
d053058ea3 Scripting: Add boolean type 2022-07-01 02:02:55 -07:00
Vicki Pfau
fa985d5798 Scripting: Add save state file API 2022-07-01 00:48:18 -07:00
Vicki Pfau
9515de7212 Scripting: Add loading API 2022-07-01 00:34:33 -07:00
Vicki Pfau
c1b1f72005 Scripting: Fix crashes when functions return null 2022-06-21 16:17:32 -07:00
Vicki Pfau
10eb2b9784 Scripting: Add root-scope docstrings 2022-06-05 03:29:18 -07:00
Vicki Pfau
81289cdb62 Scripting: More MSVC fixes 2022-05-29 14:32:51 -07:00
Vicki Pfau
2471648dd0 Scripting: Start bringing up composite wrapper types 2022-05-29 02:44:17 -07:00
Vicki Pfau
6ebe735a73 Scripting: Add filename parameter to emu:screenshot 2022-05-29 02:44:17 -07:00
Vicki Pfau
df60b17639 Scripting: Expose core reset 2022-05-27 20:19:29 -07:00
Vicki Pfau
ccc7cd4d7f Scripting: Expose more save state functionality 2022-05-27 20:19:29 -07:00
Vicki Pfau
fd202105ef Scripting: Improve docs 2022-05-27 20:19:29 -07:00
Vicki Pfau
ced8fb516c Scripting: Expose more key functionality 2022-05-27 20:19:29 -07:00
Vicki Pfau
42efdc46eb Scripting: Add class-level docstrings 2022-05-27 20:19:29 -07:00
Vicki Pfau
c6e68f7224 Scripting: Expose information about the memory domains 2022-05-27 20:19:29 -07:00
Vicki Pfau
f739c28b5f Scripting: Rename mScriptMemoryAdapter to mScriptMemoryDomain 2022-05-27 20:19:28 -07:00
Vicki Pfau
6b2fa8fe67 Scripting: Add more docstrings 2022-05-27 20:19:28 -07:00
Vicki Pfau
b84a549e8c Scripting: Expose mCore.checksum function 2022-05-27 20:19:28 -07:00
Vicki Pfau
304d8d1a4d Scripting: More API cleanup 2022-05-27 20:19:28 -07:00