Commit graph

94 commits

Author SHA1 Message Date
David Chavez
9d5f0a945a Mark error spot 2025-03-12 18:23:14 +01:00
David Chavez
b1fd1e798e Enable JIT for macOS 2025-03-12 18:18:25 +01:00
David Chavez
7dd81bcb6c
Add Metal as a renderer (#91) 2025-03-11 20:06:27 +01:00
Wiseguy
0ff3d0ee3f Fix missing chrono include on some STL implementations (#92) 2025-03-05 21:25:03 -05:00
Wiseguy
6ffd6b8856 Fix osDpSetStatus bit handling (#88) 2025-02-18 17:34:56 -05:00
Wiseguy
5811e90ff5 Add on init callback to GameEntry, fix thread_queue_remove not actually removing the thread (#87) 2025-02-17 21:34:43 -05:00
Mr-Wiseguy
4c7acc6eb1 Fix N64Recomp commit after rebase 2025-02-11 23:01:10 -05:00
Dario
626b2b90c8 Change construction of ModConfigQueueSaveMod. 2025-02-11 22:49:07 -05:00
Mr-Wiseguy
e2a4464726 Fix config value parsing to allow integral values for double fields 2025-02-11 22:49:07 -05:00
Mr-Wiseguy
499c69c7d9 Implement API to allow mods to read their config values 2025-02-11 22:49:07 -05:00
Mr-Wiseguy
b59a568632 Fix mod configs not saving and default value not getting parsed 2025-02-11 22:49:06 -05:00
Mr-Wiseguy
b694f9cae1 Implement extended function exports that pass the caller mod's index as an extra argument 2025-02-11 22:49:03 -05:00
Dario
f80c2886ab Auto-enabled mods. 2025-02-11 22:48:21 -05:00
Dario
3ac97d9269 Parse thumbnail when opening mods. 2025-02-11 22:48:21 -05:00
Dario
e436b41bb5 Mods directory. 2025-02-11 22:48:21 -05:00
Dario
c8fc47b1c7 Enable new mods by default. 2025-02-11 22:48:21 -05:00
Dario
19e751b2f2 Persist mod order and enable. 2025-02-11 22:48:21 -05:00
Dario
f428624b92 Proper enum parsing. 2025-02-11 22:48:21 -05:00
Dario
7045b43457 Config storage for mods. 2025-02-11 22:48:21 -05:00
Mr-Wiseguy
293e09f0ed Add float arg1 helpers 2025-02-11 22:48:20 -05:00
Dario
6bffbcfaf5 Add support for config schema. 2025-02-11 22:48:20 -05:00
Dario
88e96fa3cc Cleanup. 2025-02-11 22:48:20 -05:00
Dario
b9660c127e Add auto enabled. 2025-02-11 22:48:20 -05:00
thecozies
5b21f108cd wip callback registry 2025-02-11 22:48:20 -05:00
thecozies
4d376e5e0c parse/validate button config type 2025-02-11 22:48:20 -05:00
thecozies
33d3367761 Added TextField option type 2025-02-11 22:48:20 -05:00
thecozies
7bfd5f9bc8 dropdown config type 2025-02-11 22:48:20 -05:00
thecozies
e5a2ae6b96 switch to using usings 2025-02-11 22:48:20 -05:00
thecozies
57ec421d78 Added config registry/option files 2025-02-11 22:48:19 -05:00
thecozies
4e5c4bb5d5 Use a custom hash class to enable hetereogenous lookup 2025-02-11 22:48:19 -05:00
thecozies
a8f7f5e035 init recomp config_store 2025-02-11 22:48:19 -05:00
Wiseguy
0afeb089a5
Fix jump table handling in regenerated relocatable functions (#86) 2025-02-11 22:45:45 -05:00
Wiseguy
5360099ee2
Fix issues with hooking functions that were patched by the base recomp (#85) 2025-02-11 01:11:24 -05:00
Wiseguy
7319630e2e
Fix issue with regenerating patched functions with no base functions regenerated, add 1kB of padding between mods to mitigate OOB accesses in mods, update N64Recomp (#84) 2025-01-30 03:02:40 -05:00
Wiseguy
3474514013
Populate display_name for autogenerated manifests (#83) 2025-01-26 23:00:13 -05:00
Wiseguy
6eca1df47f
Edited mod error messages to reflect new manifest filename, updated N64Recomp commit (#82) 2025-01-26 22:51:39 -05:00
Wiseguy
5eada509c0
Rename manifest to mod.json, refactor config parsing, add display_name, description, short_description fields (#81) 2025-01-26 22:14:08 -05:00
Wiseguy
cdfe416809
Mod function hooking (#80)
* Prevent mods from replacing functions patched by the base recomp unless they're marked as Force

* Implement function hooking for functions replaced by mods

* Add support for hooking non-relocated functions that aren't replaced by a mod

* Only create the regenerated code handle if any functions need to be regenerated

* Implement relocs for function regeneration in hooking

* Implement hooking of functions patched by the base recomp

* Fix base event index tracking when loading mods

* Update to N64Recomp main branch after merge
2025-01-26 22:03:36 -05:00
Ethan Lafrenais
7eb4bc3459
Runtime support for RSP overlays (#77) 2025-01-16 00:32:33 -05:00
Wiseguy
50029c70fd
Update sse2neon.h (#79) 2025-01-13 02:11:36 -05:00
Ethan Lafrenais
9721c8de3b
Add GameEntry.thread_create_callback (#78) 2025-01-12 23:43:53 -05:00
Wiseguy
d17a3f34cb
Integrate the live recompiler for mod loading (#76) 2025-01-02 21:25:20 -05:00
Darío
1361c48f59
Use SDL_Window as the WindowHandle in Linux and Android. (#73) 2024-12-23 21:23:24 -05:00
Wiseguy
576fed6cfc
Fix mods getting duplicated when scanning multiple times, fix incorrect mmap for rdram (#71) 2024-12-04 18:41:35 -05:00
Wiseguy
e3a8355a19
Fix eeprom probe and remove redundant eeprom size checks (#70) 2024-11-24 02:20:24 -05:00
Wiseguy
d5c81d0a6b
Fixed bitpattern pointer for osContInit and removed shader cache functionality (#69) 2024-11-08 21:09:16 -05:00
Wiseguy
ef6e84cb8a
Added save type selection and validation (#68) 2024-10-26 22:38:25 -04:00
Wiseguy
9ee0e7369a
Misc fixes and implement osStopThread (partial), osEepromWrite, and osEepromRead (#67)
* Fix rdram allocation to only allow kseg0 accesses

* Implement osEepromWrite and osEepromRead, fix implicit casting error in save_write

* Partially implement osStopThread

* Fix audio allowing games to queue 0 samples

* Remove commented out line
2024-10-26 20:41:05 -04:00
Wiseguy
3e39c2ec34
Add modified o1Heap library and set up recomp heap (#66)
* Add modified o1Heap library and set up recomp heap

* Fix missing include on POSIX systems
2024-10-21 22:23:33 -04:00
Wiseguy
9e9ae173ee
Fixed incorrect alignment during mod section loading (#65) 2024-10-12 01:10:59 -04:00