wip
This commit is contained in:
parent
8f49f69e7e
commit
ca5024d14f
@ -215,6 +215,8 @@ public class JavaCubeMemory {
|
||||
int core = 0;
|
||||
int ta = 0;
|
||||
System.out.println("main");
|
||||
int framebuffer_tiles_width = framebuffer_width / 32;
|
||||
int framebuffer_tiles_height = framebuffer_height / 32;
|
||||
while (true) {
|
||||
// unpipelined render loop
|
||||
TAFIFOPolygonConverter.init(TextureMemoryAllocation.isp_tsp_parameters_start[ta],
|
||||
@ -223,8 +225,8 @@ public class JavaCubeMemory {
|
||||
TextureMemoryAllocation.object_list_end[ta],
|
||||
opb_size_total,
|
||||
ta_alloc,
|
||||
framebuffer_width / 32,
|
||||
framebuffer_height / 32);
|
||||
framebuffer_tiles_width,
|
||||
framebuffer_tiles_height);
|
||||
transfer_cube_scene();
|
||||
TAFIFOPolygonConverter.wait_translucent_list();
|
||||
|
||||
@ -239,7 +241,7 @@ public class JavaCubeMemory {
|
||||
Memory.putU4(Holly.FB_R_SOF1, TextureMemoryAllocation.framebuffer_start[core]);
|
||||
while ((CoreBits.spg_status__vsync(Memory.getU4(Holly.SPG_STATUS)) != 0));
|
||||
|
||||
core = (core + 1) % 1;
|
||||
core = (core + 1) & 1;
|
||||
|
||||
theta += Math.DEGREES_TO_RADIANS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user