Garrett Smith
8d997fcb86
cleanup + write pfs files to save directory
2026-01-22 22:09:31 -08:00
Garrett Smith
cb0a22cdaf
modified controllerpak code
2026-01-19 22:52:21 -08:00
Garrett Smith
127ac961d2
include <mutex> to fix windows build
2026-01-18 12:01:53 -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
4cf46bf7f4
Fix __osContGetInitData mask to detect multiple controllers ( #134 )
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-16 20:57:47 -05:00
Garrett Smith
9ae9dbbe41
Add check for controller device info in rumble functions ( #132 )
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 / ubuntu (arm64, Debug) (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 23:18:02 -05:00
Garrett Smith
575c8f22a0
Add recomp::Configuration and ultramodern::MessageQueueControl + plumbing ( #131 )
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
Wiseguy
e8d7aec1bb
Implement displaylist event extension functions for easier game scheduling modifications ( #128 )
...
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
a849ecf511
Requeue some external messages if their queues were full to prevent game lockups ( #125 )
2025-11-07 23:54:59 -05:00
Wiseguy
df7e820d8c
VI accuracy fixes and osSetTime implementation ( #123 )
...
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
Wiseguy
8506c1b588
Fix race condition where update_gfx could be called after renderer shutdown ( #98 )
2025-04-06 19:42:15 -04:00
Wiseguy
6f8393f691
Allow renderers to pick the graphics API ( #96 )
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-03-23 21:39:30 -04:00
David Chavez
ec56fb39b0
Add Metal as a renderer ( #94 )
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 / ubuntu (arm64, 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-03-14 18:08:18 +01:00
Wiseguy
a2f201db84
Add on init callback to GameEntry, fix thread_queue_remove not actually removing the thread ( #87 )
2025-02-17 21:34:22 -05:00
Wiseguy
d5c81d0a6b
Fixed bitpattern pointer for osContInit and removed shader cache functionality ( #69 )
2024-11-08 21:09:16 -05: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
David Chavez
e94dc4055b
Implement osViRepeatLine ( #30 )
...
* Implement osViRepeatLine
* Address feedback
* Include helpers header
* Address feedback
2024-06-18 17:00:26 -04:00
Anghelo Carvajal
93fab7ecc4
Provide missing pfs stub functions ( #50 )
...
* `osPiRawStartDma_recomp` and `osEPiRawStartDma`
* `osPfsNumFiles` and `osPfsRepairId`
* whoops, wrong name
* Fix missing new line on message box
* Use actual pointers in osPfsNumFiles_recomp
2024-06-18 13:07:08 -04:00
Anghelo Carvajal
27282afa2b
Remove "permanent" and "temporary" threads tagging and add a way to name game threads ( #45 )
...
* System to specify thread types by the game
* Register threads callbacks
* Remove temporary and permanent threads
* Fix `pthread_setname_np` not liking names longer than 16 bytes
* Singular
* Rename events_callbacks arg
* Use `prctl` instead of `pthread_setname_np` for naming a thread
* Fix typo
2024-06-18 13:02:18 -04:00
Anghelo Carvajal
85d6ae9e20
Add multiple controllers support ( #41 )
...
* Add controller number to input callbacks
* connected_device_info_t
* Fix index
* Fix osContGetReadData
2024-06-10 09:58:07 -04:00
Anghelo Carvajal
b4dbddb555
Remove RT64 dependency ( #35 )
...
* `RendererContext` abstract class
* Delete rt64_layer
* Implement renderer creation callback
* Make `GraphicsConfig` an abstract class
* Remove rt64
* Add renderer callback to `ultramodern::set_callbacks`
* Fix rebase
* Change setup_result's visibility to protected
* Declare abstract `is_equal` method instead of operators
* Various fixes
* Fix issues
* trigger_config_action
* Move GraphicsConfig back to ultramodern
* Change `update_config` to return if any changes were applied
* Rename renderer_wrapper to renderer_context
* Remove SDL2 and other libraries
* Allow registering get_graphics_api_name
* Move WindowHandle to renderer namespace
* Comments explaining which callbacks are required
* Fix CI
* Update readme
* `ULTRAMODERN_QUICK_EXIT` macro
* Remove --config from readme
* Add `add_compile_definitions(NOMINMAX)`
2024-06-10 09:43:38 -04:00
Anghelo Carvajal
2caf04e6da
Move controller implementations from librecomp to ultramodern ( #38 )
...
* Start moving some cont functions to ultramodern
* Implement osContStartQuery, osContSetCh
* Finish moving cont.cpp functions to ultramodern
* Add constexpr to _return
* Fix rumble not working
* Rename cont.cpp to input.cpp
* Test
2024-06-06 13:45:33 -04:00
David Chavez
9f0dd2fcd9
Use hpp suffix for cpp headers ( #33 )
2024-06-03 20:31:52 +02:00
Angie
a5ff2f4c77
Set NOMINMAX on the CMakeLists file
2024-06-01 09:07:10 -04:00
Reonu
6a10d4ed43
Support for high precision framebuffers and dither noise (RT64)
...
From Zelda64Recomp/Zelda64Recomp#252 commit 23eb6b7eea9fd12f93d31c313faa335245bbfb3c
Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com>
2024-06-01 08:59:35 -04:00
David Chavez
56cfbb2d31
Make ModernRuntime Integration Ready ( #26 )
...
Co-authored-by: angie <angheloalf95@gmail.com>
2024-06-01 08:36:29 +02:00
Anghelo Carvajal
e3e7024342
Remove librecomp usage from ultramodern ( #23 )
...
* Start setting up user callbacks system
* Implement RSP callbacks
* move RSP callbacks (and related RSP stuff) to its own file
* Move destroy_ui to gfx_callbacks_t and change recomp::start to require rsp_callbacks_t
* error_handling.hpp
* Remove UserCallbacks in favor of threads_callbacks_t
* Add `ultramodern::set_callbacks` and some other cleanups
* Move most RSP stuff to librecomp
* Rename rsp_stuff.hpp to rsp.hpp
* Add rsp.cpp to librecomp cmake file
* review
* Remove `recomp::message_box`
* Fix missing rename
2024-05-30 22:56:45 -04:00
David Chavez
32632ab2ff
Game Registration API ( #1 )
2024-05-22 04:03:39 +02:00
Anghelo Carvajal
2430c82cbd
Fix building ultramodern ( #2 )
...
* gitignore
* Add rt64 paths to ultramodern cmake
* It builds
* 4 spaces
* Commented out warnings
* Remove Xrandr
* what
* Remove sdl2 dll copy
2024-05-20 12:38:13 -04:00
Wiseguy
7f55d26948
Convert indentation to spaces ( #3 )
2024-05-20 08:49:11 -04:00
Mr-Wiseguy
3504a4c71f
Added ultramodern and librecomp from Zelda64Recomp, added rt64 submodule, added README
2024-05-19 15:04:28 -04:00