More updates
This commit is contained in:
parent
af36b248b5
commit
657803044c
|
@ -77,7 +77,8 @@ namespace ScreenCenter {
|
||||||
Formular{.name = PSYQ::Name, .function = PSYQ::set_offset}
|
Formular{.name = PSYQ::Name, .function = PSYQ::set_offset}
|
||||||
};
|
};
|
||||||
|
|
||||||
static constexpr const GPU::VRAM2VRAM background_img[] = { // TODO: Shouldn't current_id 0 be 0 and not 256?
|
static constexpr const GPU::VRAM2VRAM background_img[] = {
|
||||||
|
// current_id of 0 will be rendering on (0, 256)
|
||||||
GPU::VRAM2VRAM::create(Make::AreaU16(384, 240, 256, 240), Make::PositionU16(32, GPU::Display::Height)),
|
GPU::VRAM2VRAM::create(Make::AreaU16(384, 240, 256, 240), Make::PositionU16(32, GPU::Display::Height)),
|
||||||
GPU::VRAM2VRAM::create(Make::AreaU16(384, 240, 256, 240), Make::PositionU16(32, 0)),
|
GPU::VRAM2VRAM::create(Make::AreaU16(384, 240, 256, 240), Make::PositionU16(32, 0)),
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<PSXCD>
|
<PSXCD>
|
||||||
<!--
|
<!--
|
||||||
TODO: Support this?
|
TODO: Support configurable default values for this
|
||||||
<Defaults>
|
<Defaults>
|
||||||
<Data lead-out="0:2:0"\>
|
<Data lead-out="0:2:0"\>
|
||||||
<Directory hidden="true"\>
|
<Directory hidden="true"\>
|
||||||
|
|
|
@ -33,7 +33,6 @@ $(LIB_DIR)/$(ARTIFACT).a: $(TARGET).a
|
||||||
@mkdir -p $(LIB_DIR)
|
@mkdir -p $(LIB_DIR)
|
||||||
cp $(TARGET).a $(LIB_DIR)/$(ARTIFACT).a
|
cp $(TARGET).a $(LIB_DIR)/$(ARTIFACT).a
|
||||||
|
|
||||||
# TODO: Improve later
|
|
||||||
# rule to make the boot image
|
# rule to make the boot image
|
||||||
$(SPLASH_IMAGE): ressources/Splash.png
|
$(SPLASH_IMAGE): ressources/Splash.png
|
||||||
psxfileconv --lz4 $< simple-tim full16 | cpp_out --name SplashScreen -o $@
|
psxfileconv --lz4 $< simple-tim full16 | cpp_out --name SplashScreen -o $@
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
|
|
||||||
namespace JabyEngine {
|
namespace JabyEngine {
|
||||||
namespace GPU {
|
namespace GPU {
|
||||||
uint8_t Display :: current_id = 1; //< Setup will call exchange and set it to 0
|
uint8_t Display :: current_id = 0;
|
||||||
|
|
||||||
namespace internal {
|
namespace internal {
|
||||||
#ifdef __SUPPORT_PS3__
|
#ifdef __SUPPORT_PS3__
|
||||||
uintptr_t DMA :: MADR = 0;
|
uintptr_t DMA :: MADR = 0;
|
||||||
|
@ -16,7 +15,7 @@ namespace JabyEngine {
|
||||||
static void interrupt_handler(uint32_t);
|
static void interrupt_handler(uint32_t);
|
||||||
|
|
||||||
auto irq_callback = SysCall::InterruptCallback::from(interrupt_verifier, interrupt_handler);
|
auto irq_callback = SysCall::InterruptCallback::from(interrupt_verifier, interrupt_handler);
|
||||||
VSyncCallback vsync_callback = nullptr; //< TODO: Typedef later
|
VSyncCallback vsync_callback = nullptr;
|
||||||
static uint8_t vsync_counter = 0;
|
static uint8_t vsync_counter = 0;
|
||||||
bool vsync_lock_callback = false;
|
bool vsync_lock_callback = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue