Skip to content

Commit

Permalink
added unimplemented notice
Browse files Browse the repository at this point in the history
  • Loading branch information
tehKaiN committed May 4, 2019
1 parent eacf039 commit 0240269
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/ace/managers/viewport/scrollbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ void scrollBufferProcess(tScrollBufferManager *pManager) {

if(pManager->ubFlags & SCROLLBUFFER_FLAG_COPLIST_RAW) {
// TODO: Raw mode
logWrite("ERR: Unimplemented %s:%d\n", __FILE__, __LINE__);
}
else {
// Initial copper block
Expand Down
4 changes: 2 additions & 2 deletions src/ace/managers/viewport/simplebuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ void simpleBufferProcess(tSimpleBufferManager *pManager) {

// Calculate X movement: bitplane shift, starting word to fetch
if(pManager->ubFlags & SIMPLEBUFFER_FLAG_X_SCROLLABLE) {
uwShift = (16-(pCamera->uPos.sUwCoord.uwX & 0xF)) & 0xF;
uwShift = (16 - (pCamera->uPos.sUwCoord.uwX & 0xF)) & 0xF;
uwShift = (uwShift << 4) | uwShift;
ulBplOffs = ((pCamera->uPos.sUwCoord.uwX-1) >> 4) << 1;
ulBplOffs = ((pCamera->uPos.sUwCoord.uwX - 1) >> 4) << 1;
}
else {
uwShift = 0;
Expand Down

0 comments on commit 0240269

Please sign in to comment.