minor formatting and header updates
This commit is contained in:
parent
3e723c2f4d
commit
cc42698e2a
3 changed files with 56 additions and 45 deletions
|
@ -339,8 +339,7 @@ static void samplexx_sinc_handler (int *datasp)
|
||||||
n = (sound_use_filter_sinc == FILTER_MODEL_A500) ? 0 : 2;
|
n = (sound_use_filter_sinc == FILTER_MODEL_A500) ? 0 : 2;
|
||||||
if (led_filter_on)
|
if (led_filter_on)
|
||||||
n += 1;
|
n += 1;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
n = 4;
|
n = 4;
|
||||||
}
|
}
|
||||||
auto winsinc = winsinc_integral[n];
|
auto winsinc = winsinc_integral[n];
|
||||||
|
|
|
@ -8391,6 +8391,7 @@ static void hsync_handler_post (bool onvsync)
|
||||||
vsyncmintime = vsyncmaxtime; /* emulate if still time left */
|
vsyncmintime = vsyncmaxtime; /* emulate if still time left */
|
||||||
is_syncline_end = read_processor_time() + vsynctimebase; /* far enough in future, we never wait that long */
|
is_syncline_end = read_processor_time() + vsynctimebase; /* far enough in future, we never wait that long */
|
||||||
is_syncline = -12;
|
is_syncline = -12;
|
||||||
|
//maybe_process_pull_audio();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
static int linecounter;
|
static int linecounter;
|
||||||
|
@ -8418,6 +8419,7 @@ static void hsync_handler_post (bool onvsync)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//maybe_process_pull_audio();
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (!currprefs.cpu_thread) {
|
} else if (!currprefs.cpu_thread) {
|
||||||
|
|
|
@ -27,10 +27,13 @@
|
||||||
#define MAXVPOS_LINES_OCS 512
|
#define MAXVPOS_LINES_OCS 512
|
||||||
#define HPOS_SHIFT 3
|
#define HPOS_SHIFT 3
|
||||||
|
|
||||||
|
uae_u32 get_copper_address (int copno);
|
||||||
|
|
||||||
extern int custom_init (void);
|
extern int custom_init (void);
|
||||||
extern void custom_prepare (void);
|
extern void custom_prepare (void);
|
||||||
extern void custom_reset (bool hardreset, bool keyboardreset);
|
extern void custom_reset (bool hardreset, bool keyboardreset);
|
||||||
extern int intlev (void);
|
extern int intlev (void);
|
||||||
|
extern void dumpcustom (void);
|
||||||
|
|
||||||
extern void do_copper (void);
|
extern void do_copper (void);
|
||||||
|
|
||||||
|
@ -40,13 +43,20 @@ extern void init_row_map (void);
|
||||||
extern void init_hz_normal (void);
|
extern void init_hz_normal (void);
|
||||||
extern void init_custom (void);
|
extern void init_custom (void);
|
||||||
|
|
||||||
extern unsigned long int hsync_counter;
|
extern void set_picasso_hack_rate(int hz);
|
||||||
|
|
||||||
|
/* Set to 1 to leave out the current frame in average frame time calculation.
|
||||||
|
* Useful if the debugger was active. */
|
||||||
|
extern int bogusframe;
|
||||||
|
extern unsigned long int hsync_counter, vsync_counter;
|
||||||
|
|
||||||
extern uae_u16 dmacon;
|
extern uae_u16 dmacon;
|
||||||
extern uae_u16 intreq;
|
extern uae_u16 intena, intreq, intreqr;
|
||||||
|
|
||||||
extern int vpos, lof_store;
|
extern int vpos, lof_store;
|
||||||
|
|
||||||
|
extern int n_frames;
|
||||||
|
|
||||||
STATIC_INLINE int dmaen (unsigned int dmamask)
|
STATIC_INLINE int dmaen (unsigned int dmamask)
|
||||||
{
|
{
|
||||||
return (dmamask & dmacon) && (dmacon & 0x200);
|
return (dmamask & dmacon) && (dmacon & 0x200);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue