beginning ppu
This commit is contained in:
@ -9,7 +9,7 @@ void int_handle(cpu_context *ctx, u16 address) {
|
||||
bool int_check(cpu_context *ctx, u16 address, interrupt_type t){
|
||||
if(ctx->int_flags & t && ctx->ie_register & t) {
|
||||
int_handle(ctx, address);
|
||||
ctx->int_flags &= -t;
|
||||
ctx->int_flags &= ~t;
|
||||
ctx->halted = false;
|
||||
ctx->int_master_enabled = false;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user