Version 5.1 released - hotfix to improve config efficiency.

This commit is contained in:
Dave Bernazzani 2025-02-28 06:21:18 -05:00
parent 849c18eb2b
commit d57a21997a
5 changed files with 6 additions and 20 deletions

Binary file not shown.

View File

@ -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
{

View File

@ -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;

View File

@ -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 )

View File

@ -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