Bonk frontend changes

This commit is contained in:
wheremyfoodat 2023-07-11 02:47:09 +03:00
parent 6ce861624d
commit de2751fb5c
5 changed files with 149 additions and 140 deletions

View file

@ -47,7 +47,7 @@ class Emulator {
static constexpr u32 width = 400;
static constexpr u32 height = 240 * 2; // * 2 because 2 screens
ROMType romType = ROMType::None;
bool running = true, romLoaded = false;
bool running = true;
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
HttpServer httpServer;
@ -64,7 +64,6 @@ class Emulator {
Emulator();
~Emulator();
void stop();
void step();
void render();
void reset();

View file

@ -22,7 +22,6 @@ enum class GPUInterrupt : u8 {
class Kernel;
class GPUService {
bool registerInterruptRelayQueueBeenHere = false;
Handle handle = KernelHandles::GPU;
Memory& mem;
GPU& gpu;
@ -35,6 +34,9 @@ class GPUService {
u32 privilegedProcess;
std::optional<Handle> interruptEvent;
// Number of threads registers via RegisterInterruptRelayQueue
u32 gspThreadCount = 0;
MAKE_LOG_FUNCTION(log, gspGPULogger)
void processCommandBuffer();