mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-08 03:51:39 +12:00
Add CXI ROM support
Co-Authored-By: Kelpsy <138107494+Kelpsyberry@users.noreply.github.com>
This commit is contained in:
parent
4e5eb884ed
commit
187feb5772
4 changed files with 118 additions and 54 deletions
|
@ -13,7 +13,7 @@
|
|||
#include "memory.hpp"
|
||||
#include "gl_state.hpp"
|
||||
|
||||
enum class ROMType { None, ELF, NCSD };
|
||||
enum class ROMType { None, ELF, NCSD, CXI };
|
||||
|
||||
class Emulator {
|
||||
CPU cpu;
|
||||
|
@ -54,7 +54,7 @@ class Emulator {
|
|||
void runFrame();
|
||||
|
||||
bool loadROM(const std::filesystem::path& path);
|
||||
bool loadNCSD(const std::filesystem::path& path);
|
||||
bool loadNCSD(const std::filesystem::path& path, ROMType type);
|
||||
bool loadELF(const std::filesystem::path& path);
|
||||
bool loadELF(std::ifstream& file);
|
||||
void initGraphicsContext();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue