Skip to content

Commit d08076e

Browse files
committed
fix the start point bug in 1024x1024 mode, fix typo in readme.txt
1 parent 6ebc6ed commit d08076e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ PX68K は以下の成分からできています。
486486
2014/02/15 時刻取得時、月がずれるのを修正 (thanks to ぴかよ氏)
487487
2014/02/18 Android版/PSP版/iOS版のアプリアイコンを追加 (thanks to なおき氏)
488488
2014/02/18 iOS 版 Ver0.03、Android 版 Ver0.09、PSP 版 Ver0.08 リリース
489-
2014/02/24 特殊プライオリティで全面に持ってくるグラフィックの色が黒く
489+
2014/02/24 特殊プライオリティで前面に持ってくるグラフィックの色が黒く
490490
なってしまうのを修正
491491
2014/02/26 16x16 BG/Sprite 描画時に 8x8 の処理を呼び出していたのを修正
492492
2014/02/27 グラフィック画面高速クリア時に白でクリアしてしまう場合が

x68k/gvram.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -1446,16 +1446,17 @@ void FASTCALL Grp_DrawLine4h(void)
14461446
}
14471447

14481448
x = GrphScrollX[0] & 0x1ff;
1449-
x = ((x & 0x1ff) ^ 0x1ff) + 1;
1450-
14511449
srcp = (WORD *)(GVRAM + y + x * 2);
14521450
destp = (WORD *)Grp_LineBuf;
14531451

1452+
x = ((x & 0x1ff) ^ 0x1ff) + 1;
1453+
14541454
for (i = 0; i < TextDotX; ++i) {
14551455
v = *srcp++;
14561456
*destp++ = GrphPal[(v >> bits) & 0x0f];
14571457

14581458
if (--x == 0) {
1459+
srcp -= 0x200;
14591460
bits ^= 4;
14601461
x = 512;
14611462
}

0 commit comments

Comments
 (0)