wheremyfoodat
51b2b8eee5
Make battery stuff configurable
2023-08-18 22:17:33 +03:00
wheremyfoodat
1c11e2df40
Add Discord RPC ( #161 )
...
* Add discord-rpc submodule
* Add Discord RPC
* Fix up Discord status
* Fix CMake because MacOS sucks
* Slightly less hacky fix
2023-08-08 00:23:39 +03:00
wheremyfoodat
3d5f1ea517
[Kernel] Add evalReschedule function
2023-08-02 19:18:15 +03:00
wheremyfoodat
b39e32fce0
Merge remote-tracking branch 'upstream/master' into load_rom
2023-07-27 12:31:41 +03:00
wheremyfoodat
037d16ae7c
Merge pull request #140 from wheremyfoodat/pause
...
Add resume/pause button, some hotkeys, more HTTPanda commands
2023-07-26 20:30:47 +03:00
wheremyfoodat
fa6ce2a7f2
Add new HTTP(anda) commands
2023-07-26 20:12:36 +03:00
wheremyfoodat
8fb3096331
Fix hotkeys
2023-07-26 19:50:49 +03:00
wheremyfoodat
f434787b68
Fix double buffering bug
2023-07-26 19:38:51 +03:00
wheremyfoodat
6daa419fd6
Map toggle running function to hotkey
2023-07-26 19:33:06 +03:00
wheremyfoodat
1107dff9fa
Implement pause/resume
2023-07-26 19:29:34 +03:00
offtkp
63f9cfe0c2
Add load_rom http server command
2023-07-26 16:36:37 +03:00
wheremyfoodat
eef87da979
Better cheat interface
2023-07-26 03:27:30 +03:00
wheremyfoodat
a0a821a1ac
Merge remote-tracking branch 'upstream/master' into http-server-improvements
2023-07-26 02:18:02 +03:00
offtkp
3a21661f45
Refactor http server
2023-07-24 11:43:40 +03:00
Wunkolo
c7a93c4f52
Warn on failed surface creation for vulkan
...
Vulkan can technically work just fine without presenting to the user, so
consider these failed window procedures as "warnings" during iteration.
2023-07-22 13:16:23 -07:00
Wunkolo
b048d4dd6e
Add SDL_Window
to initGraphicsContext
prototype
...
This value is needed for vulkan to properly allocate a surface, and would benefit OpenGL to move more of its initialization code into here rather than in `emulator.cpp`.
2023-07-22 13:16:23 -07:00
Wunkolo
870b6a21bf
Add initial vulkan instance creation
...
Headlessly creates a new vulkan instance, with conditional MacOS
support, and enables the `VK_EXT_debug_utils` instance-extension with a
debug-messenger to hook onto validation layer messages.
2023-07-22 13:16:23 -07:00
Wunkolo
d2241a25bc
Stub Vulkan backend support
...
A lot of the architecture of the emulator here does not allow for vulkan
to initialize easily since it involves a bit of data to be exchanged
between SDL and Vulkan. This commit just adds the foundational linkage
and library code for vulkan support.
2023-07-22 13:16:23 -07:00
wheremyfoodat
ae4a4dfc29
Hook up sw rendering backend
2023-07-22 20:47:19 +03:00
wheremyfoodat
4a45599303
[ActionReplay] Add HID stuff
2023-07-21 03:35:22 +03:00
wheremyfoodat
d007b2d780
Emulator cleanup, add AR conditionals
2023-07-21 00:55:08 +03:00
wheremyfoodat
97f8ea6cfd
Get our first AR code running
2023-07-20 13:50:32 +03:00
wheremyfoodat
0904638df0
[Cheats] Add boilerplate
2023-07-19 20:51:45 +03:00
Wunkolo
2c57936c50
Fix EmulatorConfig
initialization order
...
`config` was being consumed much too early before it has a chance to
call `load`. This caused GPU to read weird uninitialized data, and then
`load` called, and then further initialization to occur based on default
data and the data inside of `config.toml`. `EmulatorConfig` needs to be
loaded in first before any sort of initialization happens, by adding a
new constructor so that it can be initialized sooner.
2023-07-17 10:23:19 -07:00
Wunkolo
ceff20f57f
Add configurable Renderer backend
...
There are still some initialization errors to work through, such as
config not being initialized properly by the time GPU tries to utilize
it too. Also some life-time issues. But manually forcing it to use the
Null backnd successfully works and allows games to be "played"
headlessly.
2023-07-17 10:13:34 -07:00
wheremyfoodat
786c3e8a5c
Merge pull request #98 from Wunkolo/modular-gl
...
Allow conditional OpenGL rendering backend
2023-07-16 03:48:07 +03:00
wheremyfoodat
7b6cd90d36
Cleanup for #98
2023-07-15 04:56:43 +03:00
wheremyfoodat
ddb18662cd
Add CCI support
2023-07-13 12:49:25 +03:00
wheremyfoodat
c8f4ec2a11
Merge pull request #109 from wheremyfoodat/dynapand
...
Fix MinGW-w64 build maybe
2023-07-12 20:42:10 +03:00
wheremyfoodat
4f08a2dd7a
Fix MinGW-w64 build maybe
2023-07-12 20:01:47 +03:00
Wunkolo
4864c51125
Migrate OpenGL specific headers to renderer_gl
2023-07-11 11:28:06 -07:00
Wunkolo
a636a0d1da
Replace ENABLE_OPENGL
with PANDA3DS_ENABLE_OPENGL
2023-07-11 11:28:06 -07:00
Wunkolo
2a1683ba62
Introduce "Renderer" abstraction layer
...
Adds a `renderer` class for which a rendering backend must implement and
will conditionally use OpenGL in the case that `ENABLE_GL` is enabled.
2023-07-11 11:27:35 -07:00
Wunkolo
d664d5caf0
Emulator: Conditional OpenGL compilation
2023-07-11 11:27:04 -07:00
Wunkolo
e4e8e7ce26
Move stb_image_write
into its own translation unit
...
Rather than having the entire implementation within `emulator.cpp`,
causing incremental builds to be much slower, give it its own
translation unit `stb_image_write.c`.
2023-07-11 10:43:20 -07:00
wheremyfoodat
b352309290
Introduce 2 methods of resetting the emulator; with and without reload
2023-07-11 16:17:36 +03:00
wheremyfoodat
effc9543b3
Formatting
2023-07-11 03:08:12 +03:00
wheremyfoodat
de2751fb5c
Bonk frontend changes
2023-07-11 02:47:09 +03:00
SimoneN64
6ce861624d
Don't force users to load rom from terminal or by dragging and dropping onto executable file. Instead, open a blank window and use SDL's drag&drop feature
2023-07-11 01:58:35 +03:00
wheremyfoodat
ba1c3a8ec5
Moar HTTP
2023-07-10 11:30:09 +03:00
wheremyfoodat
57c45cf58a
Remove globals, change conditional compilation, doormat
2023-07-10 02:29:08 +03:00
offtkp
b8fa5fc86d
Separate http server to a new file
2023-07-10 01:32:47 +03:00
offtkp
77ea84373f
Add /input command in http server
2023-07-10 01:00:14 +03:00
offtkp
0949a16e6f
Add initial http server stuff
2023-07-10 01:00:08 +03:00
wheremyfoodat
1a7e79f2c9
Bad-but-ok for now gyroscope implementation
2023-07-08 23:31:16 +03:00
wheremyfoodat
1037f93f61
Hook shader JIT to config file
2023-07-08 16:23:20 +03:00
wheremyfoodat
4a12e59c2f
Slightly more robust ROM management
2023-07-07 13:39:35 +03:00
wheremyfoodat
433330a74c
Add support for .app files
2023-07-07 04:14:55 +03:00
wheremyfoodat
187feb5772
Add CXI ROM support
...
Co-Authored-By: Kelpsy <138107494+Kelpsyberry@users.noreply.github.com>
2023-07-06 16:21:26 +03:00
wheremyfoodat
4e5eb884ed
Ask Windows to give us a dGPU instead of an iGPU
2023-07-06 01:38:20 +03:00