mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-05-02 19:09:37 +02:00
let it build on msvc
supposedly for the original XBox?
This commit is contained in:
@@ -297,9 +297,9 @@ typedef void (event_cb)(unsigned int now);
|
||||
unsigned int p32x_event_times[P32X_EVENT_COUNT];
|
||||
static unsigned int event_time_next;
|
||||
static event_cb *p32x_event_cbs[P32X_EVENT_COUNT] = {
|
||||
[P32X_EVENT_PWM] = p32x_pwm_irq_event,
|
||||
[P32X_EVENT_FILLEND] = fillend_event,
|
||||
[P32X_EVENT_HINT] = hint_event,
|
||||
p32x_pwm_irq_event, // P32X_EVENT_PWM
|
||||
fillend_event, // P32X_EVENT_FILLEND
|
||||
hint_event, // P32X_EVENT_HINT
|
||||
};
|
||||
|
||||
// schedule event at some time 'after', in m68k clocks
|
||||
|
||||
@@ -292,7 +292,7 @@ void PicoDraw32xLayerMdOnly(int offs, int lines)
|
||||
for (l = 0; l < lines; l++) {
|
||||
if (have_scan) {
|
||||
PicoScan32xBegin(l + offs);
|
||||
dst = Pico.est.DrawLineDest + poffs;
|
||||
dst = (unsigned short *)Pico.est.DrawLineDest + poffs;
|
||||
}
|
||||
for (p = 0; p < plen; p += 4) {
|
||||
dst[p + 0] = pal[*pmd++];
|
||||
|
||||
Reference in New Issue
Block a user