Commit graph

116 commits

Author SHA1 Message Date
Garrett Smith
1760d27a53 add cast to gpr 2026-01-18 22:52:45 -08:00
Garrett Smith
f6d0a28df0 Merge branch 'stack_args' into controller_pak 2026-01-18 22:50:58 -08:00
Garrett Smith
69a2a78103 fix offset 2026-01-18 22:49:07 -08:00
Garrett Smith
b05625b278 rename to nbytes for consistency 2026-01-18 17:20:58 -08:00
Garrett Smith
6b5fd29593 thunks and declarations 2026-01-18 17:15:08 -08:00
Garrett Smith
97ee622911 Merge branch 'stack_args' into controller_pak 2026-01-18 14:46:34 -08:00
Garrett Smith
b7f1e9cce3 support args >= 4 via the stack 2026-01-18 14:34:20 -08:00
Garrett Smith
552a8cf3ff Merge branch 'save_api' into controller_pak 2026-01-18 14:05:05 -08:00
Garrett Smith
af3e3aaea0 add missing ultramodern::set_save_type 2026-01-18 02:43:56 -08:00
Garrett Smith
d990ef0bfc fix memory copies 2026-01-18 01:37:18 -08:00
Garrett Smith
8eaa83204a pass gameid to init_saving() 2026-01-17 23:08:44 -08:00
Garrett Smith
496639b8c1 update code to reflect relocation 2026-01-17 22:51:05 -08:00
Garrett Smith
b42d7bd2e4 move save APIs without changes 2026-01-17 22:13:33 -08:00
Garrett Smith
1c798b13d2 move file APIs without changes 2026-01-17 22:10:40 -08:00
Garrett Smith
f00c6307bb Merge branch 'main' into controller_pak 2026-01-15 19:34:19 -08:00
Garrett Smith
575c8f22a0
Add recomp::Configuration and ultramodern::MessageQueueControl + plumbing (#131)
Some checks are pending
validate / ubuntu (arm64, Debug) (push) Waiting to run
validate / ubuntu (arm64, Release) (push) Waiting to run
validate / ubuntu (x64, Debug) (push) Waiting to run
validate / ubuntu (x64, Release) (push) Waiting to run
validate / windows (x64, Debug) (push) Waiting to run
validate / windows (x64, Release) (push) Waiting to run
validate / macos (arm64, Debug) (push) Waiting to run
validate / macos (arm64, Release) (push) Waiting to run
validate / macos (x64, Debug) (push) Waiting to run
validate / macos (x64, Release) (push) Waiting to run
2026-01-15 20:23:39 -05:00
Garrett Smith
f5ba39ec85 stash work 2026-01-15 16:14:50 -08:00
Garrett Smith
9818d28894 WAR performance issue for now 2026-01-15 16:05:33 -08:00
Garrett Smith
0a6fcc5f8d merge sonicdcer/controllerpakvifixes branch 2026-01-14 15:24:47 -08:00
Wiseguy
e8d7aec1bb
Implement displaylist event extension functions for easier game scheduling modifications (#128)
Some checks failed
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Debug) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
* Implement displaylist event extension functions for easier game scheduling modifications

* Fix build on clang 15
2025-12-12 02:11:14 -05:00
Wiseguy
d237c86427
Allow mods to include a ROM patch .bps file (#126)
Some checks failed
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Debug) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
* Implement BPS patcher for rom patch mods

* Integrate ROM patcher and add ROM patch content type
2025-11-29 22:52:50 -05:00
Wiseguy
a849ecf511
Requeue some external messages if their queues were full to prevent game lockups (#125) 2025-11-07 23:54:59 -05:00
Sonic Dreamcaster
48d4f28737 Fix duke nukem zero hour 2025-11-01 18:26:31 -03:00
Wiseguy
df7e820d8c
VI accuracy fixes and osSetTime implementation (#123)
Some checks failed
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Debug) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
* Rewrite VI functionality for higher accuracy

* Implement osSetTime and move update screen to before VI update
2025-08-11 23:52:47 -04:00
Sonic Dreamcaster
826afd1c4f Merge remote-tracking branch 'upstream/vi-fixes' into controllerpakimpl 2025-08-11 23:18:31 -03:00
Mr-Wiseguy
d34934aa7e Implement osSetTime and move update screen to before VI update 2025-08-11 01:28:41 -04:00
Sonic Dreamcaster
381e0704b9 osPfsAllocateFile_recomp: add check for max files 2025-07-23 05:50:10 -03:00
Wiseguy
83891b4231
Fix handling of mod callbacks for events in optional dependencies (#121)
Some checks failed
validate / windows (x64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
2025-07-23 00:08:44 -04:00
Sonic Dreamcaster
1834cef9c9 Pak.cpp: cleanup 2025-07-22 19:24:12 -03:00
Sonic Dreamcaster
ece48700a8 forgot to fix osPfsInitPak_recomp 2025-07-22 15:23:10 -03:00
Sonic Dreamcaster
33228560d5 pak queue as int32_t 2025-07-22 15:15:36 -03:00
Sonic Dreamcaster
c2a525ed2d Pak: int32_t queue 2025-07-22 14:45:37 -03:00
Sonic Dreamcaster
9a658b406f ARRAY_COUNT 2025-07-22 07:08:31 -03:00
Sonic Dreamcaster
19d26be0ae simplify code and fix DeleteFile bug 2025-07-22 06:07:41 -03:00
Sonic Dreamcaster
7361eba6e4 forgot this check 2025-07-21 18:38:28 -03:00
Sonic Dreamcaster
e48e7b5137 fully working and tested with mk64 and <?> 2025-07-21 03:58:09 -03:00
Sonic Dreamcaster
c964f29220 quick fix 2025-07-20 23:00:08 -03:00
Sonic Dreamcaster
b18f6b3ff8 Refactor. State: OK 2025-07-20 19:30:14 -03:00
Sonic Dreamcaster
118ad933de WIP C++ changes 2025-07-19 23:49:59 -03:00
Sonic Dreamcaster
7e4a78680a WIP C++ changes 2025-07-19 23:22:06 -03:00
Wiseguy
df547d2c06
Update runtime for fixed address mod sections, fix some live recompiler errors not triggering mod loading errors (#120)
Some checks failed
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Debug) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
2025-07-19 04:09:14 -04:00
Wiseguy
bd1dde8774
Implement optional dependencies for mods and add recomp_get_mod_file_path export (#118) 2025-07-19 03:44:52 -04:00
Sonic Dreamcaster
ed7db194c4 get rid of file_no in IsFileEmpty() 2025-07-18 03:45:47 -03:00
Sonic Dreamcaster
da54226f8a Implement controller pak functions 2025-07-18 03:21:54 -03:00
Wiseguy
ba2acaeb5c
Fix unplugged controller memory writes, add some missing math routines, and slightly weaken DMA alignment requirements (#117)
Some checks failed
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Debug) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
---------

Co-authored-by: LittleCube <littlecubehax@gmail.com>
2025-06-29 22:04:54 -04:00
Wiseguy
94b30d7061
Add exports to get the return value of functions from return hooks (#116)
Some checks failed
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Debug) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
2025-06-23 01:42:05 -04:00
Wiseguy
4ba1b54d22
Sort hooks and callbacks by mod order, with return hooks in reverse order (#115) 2025-06-23 01:37:59 -04:00
Wiseguy
c5e268aa0f
Fix issue where functions that were regenerated for hooking use the wrong index when triggering events (#112)
Some checks failed
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Debug) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
2025-05-03 02:45:08 -04:00
Wiseguy
327c34db2d
Fix native exports not getting cleared and bss sometimes not getting zero'd (#110)
Some checks are pending
validate / ubuntu (arm64, Debug) (push) Waiting to run
validate / ubuntu (arm64, Release) (push) Waiting to run
validate / ubuntu (x64, Debug) (push) Waiting to run
validate / ubuntu (x64, Release) (push) Waiting to run
validate / windows (x64, Debug) (push) Waiting to run
validate / windows (x64, Release) (push) Waiting to run
validate / macos (arm64, Debug) (push) Waiting to run
validate / macos (arm64, Release) (push) Waiting to run
validate / macos (x64, Debug) (push) Waiting to run
validate / macos (x64, Release) (push) Waiting to run
2025-05-02 15:07:52 -04:00
Wiseguy
0aa75b98ba
Add export to get mod folder path (#109)
Some checks failed
validate / ubuntu (arm64, Debug) (push) Has been cancelled
validate / ubuntu (arm64, Release) (push) Has been cancelled
validate / ubuntu (x64, Debug) (push) Has been cancelled
validate / ubuntu (x64, Release) (push) Has been cancelled
validate / windows (x64, Debug) (push) Has been cancelled
validate / windows (x64, Release) (push) Has been cancelled
validate / macos (arm64, Debug) (push) Has been cancelled
validate / macos (arm64, Release) (push) Has been cancelled
validate / macos (x64, Debug) (push) Has been cancelled
validate / macos (x64, Release) (push) Has been cancelled
2025-04-26 19:06:23 -04:00