aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorChris Apers2004-12-10 15:18:28 +0000
committerChris Apers2004-12-10 15:18:28 +0000
commit66e14111cca59d8d2ce01c21220b676afc33438e (patch)
treecb22b93937282211925385af381c054fa484954a /scumm
parentccca4856aa7323e2a9897e293baf15cdf35fdd86 (diff)
downloadscummvm-rg350-66e14111cca59d8d2ce01c21220b676afc33438e.tar.gz
scummvm-rg350-66e14111cca59d8d2ce01c21220b676afc33438e.tar.bz2
scummvm-rg350-66e14111cca59d8d2ce01c21220b676afc33438e.zip
New ARM call (PalmOS)
svn-id: r16014
Diffstat (limited to 'scumm')
-rw-r--r--scumm/costume.cpp3
-rw-r--r--scumm/gfx.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index 5e76341f94..c42892eb73 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -409,6 +409,7 @@ void CostumeRenderer::procC64(Codec1 &v1, int actor) {
void CostumeRenderer::proc3(Codec1 &v1) {
#ifdef __PALM_OS__
ARM_START(CostumeProc3Type)
+ ARM_INIT(SCUMM_PROC3)
ARM_ADDP(v1)
ARM_ADDM(revBitMask)
ARM_ADDM(_srcptr)
@@ -424,7 +425,7 @@ void CostumeRenderer::proc3(Codec1 &v1) {
ARM_ADDV(_out_pitch, _out.pitch)
ARM_ADDV(_out_w, _out.w)
ARM_ADDV(_out_h, _out.h)
- PCE_CALL_RETURN(PNO_COSTUMEPROC3, ARM_DATA(), _scaleIndexX)
+ ARM_CALL_RETURN(ARM_ENGINE, PNO_DATA(), _scaleIndexX)
ARM_END()
#endif
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 96405490e5..e73cc9dbdd 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -482,6 +482,7 @@ void Gdi::drawStripToScreen(VirtScreen *vs, int x, int width, int top, int botto
#ifdef __PALM_OS__
ARM_START(DrawStripType)
+ ARM_INIT(SCUMM_DRAWSTRIP)
ARM_ADDM(width)
ARM_ADDM(height)
ARM_ADDM(src)
@@ -490,7 +491,7 @@ void Gdi::drawStripToScreen(VirtScreen *vs, int x, int width, int top, int botto
ARM_ADDV(_vm_screenWidth, _vm->_screenWidth)
ARM_ADDV(vs_pitch, vs->pitch)
ARM_ADDV(_textSurface_pitch, _textSurface.pitch)
- PCE_CALL(PNO_DRAWSTRIP, ARM_DATA())
+ ARM_CALL(ARM_ENGINE, PNO_DATA())
ARM_CONTINUE()
#endif
// Compose the text over the game graphics