all repos — mgba @ e472ca5b6cd12de594c3d785240aa48b0b201c3f

mGBA Game Boy Advance Emulator

DS I/O: Enable POWCNT1 bit 1 at boot (fixes #616)
Vicki Pfau vi@endrift.com
Mon, 17 Jul 2017 16:36:34 -0700
commit

e472ca5b6cd12de594c3d785240aa48b0b201c3f

parent

7d360d6cb893f916ecdcece999303cd6a35e952c

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -11,6 +11,7 @@ - DS GX: Properly center cross product in polygon normal calculations

- DS Video: Fix affine parameter advancing (fixes mgba.io/i/802) - DS GX: Fix incorrect W values - DS Video: Fix 2D/3D blending alpha values + - DS I/O: Enable POWCNT1 bit 1 at boot (fixes mgba.io/i/616) Misc: - DS GX: Clean up and unify texture mapping - DS Core: Add symbol loading
M src/ds/io.csrc/ds/io.c

@@ -596,6 +596,7 @@ ds->memory.io9[DS_REG_IPCFIFOCNT >> 1] = 0x0101;

ds->memory.io9[DS_REG_POSTFLG >> 1] = 0x0001; ds->memory.io9[DS9_REG_GXSTAT_HI >> 1] = 0x0600; DS9IOWrite(ds, DS9_REG_VRAMCNT_G, 0x0300); + DS9IOWrite(ds, DS9_REG_POWCNT1, 0x0001); } void DS9IOWrite(struct DS* ds, uint32_t address, uint16_t value) {