fix triangle color typo

This commit is contained in:
Zack Buhman 2024-12-28 06:41:15 -06:00
parent bb2e911546
commit 014a0f5f7f
3 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@ void native_java_misc_memory_putSQ1_2(uint32_t * args)
store_queue[4] = objectref[5];
store_queue[5] = objectref[6];
store_queue[6] = objectref[7];
store_queue[6] = objectref[8];
store_queue[7] = objectref[8];
*((uint32_t*)0xff000038) = ((address >> 26) & 0b111) << 2;

View File

@ -61,7 +61,7 @@ class DreamcastVideo2 {
0.0f, // x
0.0f, // y
0.1f, // z
0xff00ff00); // color (green)
0xffff0000); // color (green)
eol = new TAGlobalParameter.end_of_list(TAParameter.para_control__para_type__end_of_list);
@ -142,7 +142,7 @@ class DreamcastVideo2 {
TextureMemoryAllocation.region_array_start[1],
TextureMemoryAllocation.object_list_start[1]);
int background_color = 0xffff00ff;
int background_color = 0xff00ff00;
Background.background(TextureMemoryAllocation.background_start[0],
background_color);
Background.background(TextureMemoryAllocation.background_start[1],

View File

@ -28,8 +28,8 @@ public class TAParameter {
public static final int obj_control__16bit_uv = 1 << 0;
public static final int obj_control__volume__with_two_volumes = 1 << 6;
public static final int obj_control__volume__last_in_volume = 1 << 6;
public static final int obj_control__col_type__packed_color = 1 << 4;
public static final int obj_control__col_type__packed_color = 0 << 4;
public static final int obj_control__col_type__floating_color = 1 << 4;
public static final int obj_control__col_type__intensity_mode_1 = 1 << 4;
public static final int obj_control__col_type__intensity_mode_2 = 1 << 4;
public static final int obj_control__col_type__intensity_mode_1 = 2 << 4;
public static final int obj_control__col_type__intensity_mode_2 = 3 << 4;
}