Skip to content

Commit a50bba0

Browse files
committed
Increase 16BPP frame buffer count (16 -> 32) for DS mode
1 parent 7ade23f commit a50bba0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

arm9/source/main.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -870,9 +870,6 @@ int playRvid(const char* filename) {
870870
}
871871
}
872872
}
873-
if (rvidOver256Colors && !isDSiMode()) {
874-
frameBufferCount /= 2;
875-
}
876873
if (rvidDualScreen) {
877874
frameBufferCount /= 2;
878875
}
@@ -908,8 +905,7 @@ int playRvid(const char* filename) {
908905
videoHourMark, videoMinuteMark, videoSecondMark);
909906

910907
if (rvidOver256Colors) {
911-
const int amount = isDSiMode() ? 32 : 16;
912-
frameBuffer = new u8[0x18000*amount];
908+
frameBuffer = new u8[0x18000*32];
913909
if (rvidOver256Colors == 2) {
914910
savedFrameBuffer[0] = new u8[0x18000];
915911
if (rvidDualScreen) {

0 commit comments

Comments
 (0)