mirror of
https://github.com/wavemotion-dave/A7800DS.git
synced 2025-06-18 13:25:32 -04:00
Version 5.1 released - hotfix to improve config efficiency.
This commit is contained in:
parent
849c18eb2b
commit
d57a21997a
BIN
A7800DS.nds
BIN
A7800DS.nds
Binary file not shown.
@ -34,9 +34,9 @@
|
||||
// ---------------------------
|
||||
// Config handling...
|
||||
// ---------------------------
|
||||
#define CONFIG_VER 0x000A
|
||||
#define CONFIG_VER 0x000B
|
||||
|
||||
#define MAX_CONFIGS 700
|
||||
#define MAX_CONFIGS 640
|
||||
|
||||
struct AllConfig_t
|
||||
{
|
||||
|
@ -43,6 +43,8 @@ typedef struct {
|
||||
s16 xScale;
|
||||
s16 yScale;
|
||||
u8 frameSkip;
|
||||
u8 spare0;
|
||||
u8 spare1;
|
||||
u8 hasHeader;
|
||||
u8 palette;
|
||||
u8 xJiggle;
|
||||
@ -53,6 +55,8 @@ typedef struct {
|
||||
u8 spare3;
|
||||
u8 spare4;
|
||||
u8 spare5;
|
||||
u8 spare6;
|
||||
u8 spare7;
|
||||
} Database_Entry;
|
||||
|
||||
|
||||
|
@ -978,22 +978,6 @@ uint sally_ExecuteNMI( ) {
|
||||
return 7;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Execute IRQ
|
||||
// ----------------------------------------------------------------------------
|
||||
uint sally_ExecuteIRQ( ) {
|
||||
if(!(sally_p & _fI)) {
|
||||
sally_Push(sally_pc.b.h);
|
||||
sally_Push(sally_pc.b.l);
|
||||
sally_p &= ~_fB;
|
||||
sally_Push(sally_p);
|
||||
sally_p |= _fI;
|
||||
sally_pc.b.l = memory_ram[SALLY_IRQ.L];
|
||||
sally_pc.b.h = memory_ram[SALLY_IRQ.H];
|
||||
}
|
||||
return 7;
|
||||
}
|
||||
|
||||
extern uint prosystem_cycles;
|
||||
|
||||
ITCM_CODE void sally_Execute(unsigned int cycles )
|
||||
|
@ -46,7 +46,6 @@ extern void sally_Reset( );
|
||||
extern uint sally_ExecuteInstruction( );
|
||||
extern uint sally_ExecuteRES( );
|
||||
extern uint sally_ExecuteNMI( );
|
||||
extern uint sally_ExecuteIRQ( );
|
||||
extern byte sally_a;
|
||||
extern byte sally_x;
|
||||
extern byte sally_y;
|
||||
@ -55,6 +54,5 @@ extern uint sally_s;
|
||||
extern bool wsync_happened;
|
||||
|
||||
extern void sally_Execute(unsigned int cycles );
|
||||
extern void sally_Execute_Fast(unsigned int cycles );
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user