amiga/amiga_v.cpp: fix sprite display in hires mode

This commit is contained in:
angelosa 2025-01-12 17:45:17 +01:00
parent 38111d1ba1
commit 3eca0c3793
3 changed files with 5 additions and 4 deletions

View File

@ -46,7 +46,7 @@ Not extensively tested
<software name="finlodys" supported="no">
<!-- http://redump.org/disc/18527/ -->
<!-- "Peter Spinaze's Final Odyssey" on introduction screen -->
<description>Final Odyssey: Theseus verses the Minotaur (Europe)</description>
<description>Final Odyssey: Theseus Verses the Minotaur (Europe)</description>
<year>1997</year>
<publisher>Vulcan Software</publisher>
<notes><![CDATA[

View File

@ -605,7 +605,8 @@ void amiga_state::render_scanline(bitmap_rgb32 &bitmap, int scanline)
/* update sprite data fetching */
// ensure this happens once every two scanlines for the RAM manipulation, kickoff cares
// this is also unaffected by LACE
if ((raw_scanline & 1) == 0)
// Update: comparison is unnecessary, as per tomato and amiga_cd:bigred cursor pointers (both enabling hires)
//if ((raw_scanline & 1) == 0)
{
const int min_x = 0x18 << 1;
const int max_x = 0x34 << 1;

View File

@ -621,9 +621,9 @@ void amiga_state::aga_render_scanline(bitmap_rgb32 &bitmap, int scanline)
ecolmask = (CUSTOM_REG(REG_CLXCON) >> 6) & 0x2a;
}
if ((raw_scanline & 1) == 0)
//if ((raw_scanline & 1) == 0)
{
const int min_x = 0x18 << 1;
const int min_x = 0x18 << 1;
const int max_x = 0x34 << 1;
// TODO: refine, merge with OCS version