Remove more unused stuff
This commit is contained in:
parent
1409e04629
commit
77803adcac
|
@ -2835,7 +2835,6 @@ cpu_alert_type dma_transfer(dma_transfer_type *dma)
|
|||
{
|
||||
src_ptr &= ~0x01;
|
||||
dest_ptr &= ~0x01;
|
||||
cycle_dma16_words += length;
|
||||
|
||||
switch((dma->dest_direction << 2) | dma->source_direction)
|
||||
{
|
||||
|
@ -2877,7 +2876,6 @@ cpu_alert_type dma_transfer(dma_transfer_type *dma)
|
|||
{
|
||||
src_ptr &= ~0x03;
|
||||
dest_ptr &= ~0x03;
|
||||
cycle_dma32_words += length;
|
||||
|
||||
switch((dma->dest_direction << 2) | dma->source_direction)
|
||||
{
|
||||
|
|
12
main.c
12
main.c
|
@ -34,14 +34,6 @@ u32 arm_frame = 0;
|
|||
u32 thumb_frame = 0;
|
||||
u32 last_frame = 0;
|
||||
|
||||
u32 cycle_memory_access = 0;
|
||||
u32 cycle_pc_relative_access = 0;
|
||||
u32 cycle_sp_relative_access = 0;
|
||||
u32 cycle_block_memory_access = 0;
|
||||
u32 cycle_block_memory_sp_access = 0;
|
||||
u32 cycle_block_memory_words = 0;
|
||||
u32 cycle_dma16_words = 0;
|
||||
u32 cycle_dma32_words = 0;
|
||||
u32 flush_ram_count = 0;
|
||||
u32 gbc_update_count = 0;
|
||||
u32 oam_update_count = 0;
|
||||
|
@ -119,8 +111,6 @@ void init_main(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
u32 no_alpha = 0;
|
||||
|
||||
u32 update_gba(void)
|
||||
{
|
||||
irq_type irq_raised = IRQ_NONE;
|
||||
|
@ -161,8 +151,6 @@ u32 update_gba(void)
|
|||
if(reg[OAM_UPDATED])
|
||||
oam_update_count++;
|
||||
|
||||
if(no_alpha)
|
||||
write_ioreg(REG_BLDCNT, 0);
|
||||
update_scanline();
|
||||
|
||||
// If in visible area also fire HDMA
|
||||
|
|
8
main.h
8
main.h
|
@ -82,14 +82,6 @@ extern u32 execute_cycles;
|
|||
extern u32 global_cycles_per_instruction;
|
||||
extern u32 skip_next_frame;
|
||||
|
||||
extern u32 cycle_memory_access;
|
||||
extern u32 cycle_pc_relative_access;
|
||||
extern u32 cycle_sp_relative_access;
|
||||
extern u32 cycle_block_memory_access;
|
||||
extern u32 cycle_block_memory_sp_access;
|
||||
extern u32 cycle_block_memory_words;
|
||||
extern u32 cycle_dma16_words;
|
||||
extern u32 cycle_dma32_words;
|
||||
extern u32 flush_ram_count;
|
||||
|
||||
extern u64 base_timestamp;
|
||||
|
|
Loading…
Reference in New Issue