mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 12:31:40 +12:00
Add load_rom http server command
This commit is contained in:
parent
da3ec42326
commit
63f9cfe0c2
3 changed files with 60 additions and 4 deletions
|
@ -114,6 +114,9 @@ void Emulator::render() {}
|
|||
|
||||
void Emulator::run() {
|
||||
while (running) {
|
||||
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
|
||||
httpServer.processActions();
|
||||
#endif
|
||||
runFrame();
|
||||
HIDService& hid = kernel.getServiceManager().getHID();
|
||||
|
||||
|
@ -345,9 +348,6 @@ void Emulator::run() {
|
|||
|
||||
void Emulator::runFrame() {
|
||||
if (romType != ROMType::None) {
|
||||
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
|
||||
httpServer.processActions();
|
||||
#endif
|
||||
cpu.runFrame(); // Run 1 frame of instructions
|
||||
gpu.display(); // Display graphics
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue