mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-29 02:18:09 +03:00
Pull system3 for win32 2020-03-21
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "ags.h"
|
||||
|
||||
void AGS::load_gl3(uint8* data, int page, int transparent)
|
||||
void AGS::load_gl3(uint8 *data, int page, int transparent)
|
||||
{
|
||||
// ヘッダ取得
|
||||
uint16 tmp = (data[0x30] | (data[0x31] << 8)) - 0x8000;
|
||||
@@ -126,7 +126,7 @@ void AGS::load_gl3(uint8* data, int page, int transparent)
|
||||
c[6] = ((b0 >> 1) & 1) | ((b1 ) & 2) | ((b2 << 1) & 4) | ((b3 << 2) & 8);
|
||||
c[7] = ((b0 ) & 1) | ((b1 << 1) & 2) | ((b2 << 2) & 4) | ((b3 << 3) & 8);
|
||||
|
||||
uint32* dest = &vram[dest_screen][y + sy][(x + sx) * 8];
|
||||
uint32 *dest = &vram[dest_screen][y + sy][(x + sx) * 8];
|
||||
if(transparent == -1) {
|
||||
for(int i = 0; i < 8; i++) {
|
||||
dest[i] = c[i] | base;
|
||||
|
||||
Reference in New Issue
Block a user