re-enable boot splash
This commit is contained in:
parent
4182178317
commit
55cc54eda3
@ -129,7 +129,8 @@ jvm.iso: boot.bin main.bin zero.bin
|
|||||||
sega/dreamcast/holly/TAVertexParameter.class \
|
sega/dreamcast/holly/TAVertexParameter.class \
|
||||||
sega/dreamcast/holly/TAVertexParameter_polygon_type_3.class \
|
sega/dreamcast/holly/TAVertexParameter_polygon_type_3.class \
|
||||||
sega/dreamcast/holly/TextureMemoryAllocation.class \
|
sega/dreamcast/holly/TextureMemoryAllocation.class \
|
||||||
java/lang/Math.class
|
java/lang/Math.class \
|
||||||
|
java/misc/Resource.class
|
||||||
|
|
||||||
main.elf: LDSCRIPT = $(LIB)/main.lds
|
main.elf: LDSCRIPT = $(LIB)/main.lds
|
||||||
main.elf: $(START_OBJ) $(OBJ) $(MAIN_OBJ) $(MAIN_DREAMCAST_OBJ) $(LIBGCC_OBJ) $(CLASS_PATH)
|
main.elf: $(START_OBJ) $(OBJ) $(MAIN_OBJ) $(MAIN_DREAMCAST_OBJ) $(LIBGCC_OBJ) $(CLASS_PATH)
|
||||||
|
@ -304,7 +304,7 @@ void vm_native_method_call(struct vm * vm, struct class_entry * class_entry, str
|
|||||||
hash_table_key_equal(method_name_constant->utf8.bytes, (const uint8_t *)"getResource", method_name_constant->utf8.length);
|
hash_table_key_equal(method_name_constant->utf8.bytes, (const uint8_t *)"getResource", method_name_constant->utf8.length);
|
||||||
if (getresource) {
|
if (getresource) {
|
||||||
assert(nargs == 1);
|
assert(nargs == 1);
|
||||||
assert(return_type == 'I');
|
assert(return_type == '[');
|
||||||
uint32_t value = java_misc_resource_getresource_1(args);
|
uint32_t value = java_misc_resource_getresource_1(args);
|
||||||
operand_stack_push_u32(vm->current_frame, value);
|
operand_stack_push_u32(vm->current_frame, value);
|
||||||
return;
|
return;
|
||||||
|
@ -265,7 +265,6 @@ public class DreamcastVideo2 {
|
|||||||
public static void transfer_java_powered() {
|
public static void transfer_java_powered() {
|
||||||
int texture = TextureMemoryAllocation.texture_regions[1][0] + 512 + (512 * 512 * 2 * 2);
|
int texture = TextureMemoryAllocation.texture_regions[1][0] + 512 + (512 * 512 * 2 * 2);
|
||||||
|
|
||||||
/*
|
|
||||||
// java_powered
|
// java_powered
|
||||||
int[] java_powered = Resource.getResource("images/java_powered");
|
int[] java_powered = Resource.getResource("images/java_powered");
|
||||||
int java_powered_length = (java_powered == null) ? 0 : java_powered.length;
|
int java_powered_length = (java_powered == null) ? 0 : java_powered.length;
|
||||||
@ -276,7 +275,6 @@ public class DreamcastVideo2 {
|
|||||||
Memory.putU4(MemoryMap.texture_memory64 + texture, java_powered[i]);
|
Memory.putU4(MemoryMap.texture_memory64 + texture, java_powered[i]);
|
||||||
texture += 4;
|
texture += 4;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void boot_splash(int ta_alloc, int opb_size_total) {
|
public static void boot_splash(int ta_alloc, int opb_size_total) {
|
||||||
|
@ -144,6 +144,7 @@ declare -a application_classes=(
|
|||||||
sega/dreamcast/holly/TAVertexParameter_polygon_type_3.class
|
sega/dreamcast/holly/TAVertexParameter_polygon_type_3.class
|
||||||
sega/dreamcast/holly/TextureMemoryAllocation.class
|
sega/dreamcast/holly/TextureMemoryAllocation.class
|
||||||
java/lang/Math.class
|
java/lang/Math.class
|
||||||
|
java/misc/Resource.class
|
||||||
)
|
)
|
||||||
|
|
||||||
function application_classes () {
|
function application_classes () {
|
||||||
|
@ -4,5 +4,5 @@ public class Resource {
|
|||||||
private Resource() {
|
private Resource() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static native int getResource(String name);
|
public static native int[] getResource(String name);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user