Working on ppu
This commit is contained in:
8
lib/ui.c
8
lib/ui.c
@ -305,6 +305,14 @@ void ui_on_key(bool down, u32 key_code) {
|
||||
printf("Resumed Emulation\n");
|
||||
}
|
||||
}
|
||||
if(key_code == SDLK_d && down == true) {
|
||||
ppu_get_context()->debug = !ppu_get_context()->debug;
|
||||
if(ppu_get_context()->debug) {
|
||||
printf("PPU Debug Enabled\n");
|
||||
} else {
|
||||
printf("PPU Debug Disabled\n");
|
||||
}
|
||||
}
|
||||
switch(key_code){
|
||||
case SDLK_z: gamepad_get_state()->b = down; break;
|
||||
case SDLK_x: gamepad_get_state()->a = down; break;
|
||||
|
Reference in New Issue
Block a user