Commit graph

80 commits

Author SHA1 Message Date
David Chavez
5f350b858e
Fix segfault on joining saving thread (#44) 2024-06-11 07:05:53 +02:00
David Chavez
835c14b0a8
CI: Add macos workflow (#43) 2024-06-10 16:27:48 +02: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
4d756c8df2
Consolidate both patch register functions into a single function (#40)
* Consolidate both patch register functions into one

* register_patches
2024-06-10 09:52:27 -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
David Chavez
b0fa96b613
Fix Windows CI (#42) 2024-06-07 18:53:51 +02: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
Anghelo Carvajal
6ceb171571
Misc fixes (#39)
* Fixes

* Fix OoB

* Use calloc instead of malloc for initializing the overlays
2024-06-05 22:28:22 -04:00
David Chavez
ec7e81b45d
Revert sections.hpp to .h (#34) 2024-06-03 21:54:20 +02:00
David Chavez
9f0dd2fcd9
Use hpp suffix for cpp headers (#33) 2024-06-03 20:31:52 +02:00
David Chavez
53072cb289
Use file backup system for config files (#29) 2024-06-02 20:38:40 +02:00
dcvz
e0769a223b Update librecomp header namespace to librecomp 2024-06-01 21:23:40 +02:00
dcvz
451a8356c7 Namespace librecomp headers under recomp 2024-06-01 19:48:53 +02:00
Anghelo Carvajal
d6f0f66e71
Merge pull request #27 from N64Recomp/upstreaming_zelda_changes
Upstream latest changes made to the ModernRuntime in the Zelda repo
2024-06-01 12:24:10 -04:00
Angie
a5ff2f4c77 Set NOMINMAX on the CMakeLists file 2024-06-01 09:07:10 -04:00
Mr-Wiseguy
e41c7cce6d Fixed Windows filesystem error crash
From Zelda64Recomp/Zelda64Recomp#271 commit 1ea7d4ebe9dcf522faa13cab513f88c3217ba011
2024-06-01 09:07:10 -04:00
Reonu
eb666c9e01 Automatic save backup system
From Zelda64Recomp/Zelda64Recomp#260 commit 4ebe71bfccbef17268c8941bed8d428d445268ca

Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com>
2024-06-01 09:06:33 -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
angie
288bd11a29 Remove unnecessary headers 2024-06-01 08:55:18 -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
Anghelo Carvajal
6dce8c2fc2
CMake fixes to allow building this repo as a submodule (#25) 2024-05-30 09:16:07 +02:00
David Chavez
3ddeb07d85
Add CI workflows (#21) 2024-05-25 10:06:17 +02:00
dcvz
72bc656c5e Add overlays (#5) 2024-05-24 21:44:11 +02: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
dcvz
b47b52f540 Add CMakeLists 2024-05-19 22:31:47 +02:00
Mr-Wiseguy
3504a4c71f Added ultramodern and librecomp from Zelda64Recomp, added rt64 submodule, added README 2024-05-19 15:04:28 -04:00
Mr-Wiseguy
39dffbb9e9 Initial commit 2024-05-19 14:14:54 -04:00