mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-25 04:54:59 +00:00
refacto: replace magical values
Hexadecimal constants are replaced by the same value, defined by the FRAME_SIZE macro. These changes are based on the same replacement already done in clut.c.
This commit is contained in:
@@ -188,8 +188,8 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
sceGuStart(GU_DIRECT,list);
|
||||
sceGuDrawBuffer(GU_PSM_8888,(void*)0,BUF_WIDTH);
|
||||
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)0x88000,BUF_WIDTH);
|
||||
sceGuDepthBuffer((void*)0x110000,BUF_WIDTH);
|
||||
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)FRAME_SIZE,BUF_WIDTH);
|
||||
sceGuDepthBuffer((void*)(FRAME_SIZE*2),BUF_WIDTH);
|
||||
sceGuOffset(2048 - (SCR_WIDTH/2),2048 - (SCR_HEIGHT/2));
|
||||
sceGuViewport(2048,2048,SCR_WIDTH,SCR_HEIGHT);
|
||||
sceGuDepthRange(0xc350,0x2710);
|
||||
|
||||
Reference in New Issue
Block a user