Commit graph

724 commits

Author SHA1 Message Date
wheremyfoodat
97f8ea6cfd Get our first AR code running 2023-07-20 13:50:32 +03:00
wheremyfoodat
ae69c8f8c4 [Cheats] Split gateway and AR 2023-07-19 21:09:44 +03:00
wheremyfoodat
0904638df0 [Cheats] Add boilerplate 2023-07-19 20:51:45 +03:00
wheremyfoodat
5b4f6ef46c
Merge pull request #120 from Wunkolo/renderer-null
Add a `null` rendering backend
2023-07-18 23:26:52 +03:00
wheremyfoodat
c339c7d1c5 Bonk 2023-07-18 23:11:20 +03:00
wheremyfoodat
77b0382d0c Cleanup, C string -> std::string 2023-07-18 22:23:28 +03:00
Wunkolo
0b60cf6901 Migrate RenderType string functions to static Renderer functions
Also fix some IWYU build errors
2023-07-18 10:02:07 -07:00
Wunkolo
528ed510c2 Add string-based renderer backend configuration
Rather than using integer-indices, just use plaintext case-insensitive
names and leave the actual enum indexes as an implementation detail.
2023-07-17 18:02:01 -07:00
wheremyfoodat
ed1b0704d6
Merge pull request #111 from wheremyfoodat/dynapand
Filesystem bonking
2023-07-18 01:26:17 +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
Wunkolo
1becbef811 Add Null rendering backend
Doesn't implement any functions, currently not selectable or
configurable
2023-07-17 09:34:10 -07:00
Wunkolo
b10e69de0e Add virtual deconstructor override
Virtual classes need to override the base-type deconstructor so that they are proper called when referred to by their base-type.
2023-07-17 09:30:12 -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
f43c252e55 Switch LOG2/EX2 from x87 to SSE (adjusted from Citra)
Co-Authored-By: merry <8682882+merryhime@users.noreply.github.com>
Co-Authored-By: Wunk <wunkolo@gmail.com>
2023-07-16 01:34:59 +03:00
wheremyfoodat
7b6cd90d36 Cleanup for #98 2023-07-15 04:56:43 +03:00
wheremyfoodat
3ad0fc6a56 IR please stop 2023-07-13 20:28:32 +03:00
wheremyfoodat
03ae0d02d8 [IR] Implement shmem header 2023-07-13 14:24:37 +03:00
wheremyfoodat
f64c662ab9 Stop lying to people 2023-07-13 00:25:47 +03:00
wheremyfoodat
3a1a612e8b Merge branch 'master' into dynapand 2023-07-12 21:34:29 +03:00
wheremyfoodat
42c86ac541 Better FS::ReadDirectory 2023-07-12 21:33:13 +03:00
wheremyfoodat
e00f5d21df
Merge pull request #107 from caldog20/wifimac-configmem
Stub reads for WIFI MAC address in ConfigMem
2023-07-11 23:56:31 +03:00
Caleb Yates
7f4746139d Add WIFI MAC to ConfigMem and stub reads 2023-07-11 15:28:16 -05:00
Wunkolo
2f45714240 Add override-specifier to renderer implementation 2023-07-11 11:28:06 -07:00
Wunkolo
666fd96e7f Move color/depth format and size to Renderer interface
The state of these values are not specific to any rendering backend and
can be moved to be part of the interface itself
2023-07-11 11:28:06 -07: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
c53080b444 Fix HTTPServer gpu-renderer interfacing
Fixing some compilation issues that occur when enabling the HTTP server
2023-07-11 11:28:06 -07:00
Wunkolo
9e32b6d4bf Remove OpenGL-specific vector-types
Removes dependency on the OpenGL header and rendering backen for its
`OpenGL::Vector` type in favor of a more standard array.
2023-07-11 11:27:35 -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
wheremyfoodat
148232c0b2
Merge pull request #101 from SimoneN64/master
Don't force users to load rom from terminal
2023-07-11 20:14:17 +03: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
3063efaea1 Revert "Merge branch 'master' of https://github.com/SimoneN64/Panda3DS"
This reverts commit 51fb4865ee, reversing
changes made to de2751fb5c.
2023-07-11 02:50:40 +03:00
wheremyfoodat
51fb4865ee Merge branch 'master' of https://github.com/SimoneN64/Panda3DS 2023-07-11 02:50:24 +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
SimoneN64
49101037b8 Should reset this flag in the GSP (needs better name) 2023-07-10 23:04:07 +02:00
Wunkolo
119c908aa7 Add explicit return-type overload for getBits
Allows the return-type to be specified, allowing a concise final cast
after extracting the bit-type.  Addresses the remaining `C4244` warnings
regarding `getBits`.
2023-07-10 12:33:37 -07:00
Wunkolo
37b75f0928 Fix C4267/C4244 warnings
Address warnings involving lossy conversions from larger integer-types into smaller integer-types
2023-07-10 12:33:37 -07:00
SimoneN64
7ad47875b6 Should reset the state every time a rom is loaded so the user can keep dragging and dropping roms and it works 2023-07-10 21:27:18 +02:00
SimoneN64
53873c75cc 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-10 20:48:13 +02:00
offtkp
37188edc3b Add /status command in http server 2023-07-10 13:52:40 +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
b3f6a3a91c
Merge pull request #89 from wheremyfoodat/UUID
[ACT] Stub GenerateUUID
2023-07-09 04:15:18 +03:00