aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/cruise_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/cruise_main.cpp')
-rw-r--r--engines/cruise/cruise_main.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp
index 09a6cd4732..2b1e74a369 100644
--- a/engines/cruise/cruise_main.cpp
+++ b/engines/cruise/cruise_main.cpp
@@ -71,12 +71,10 @@ void drawInfoStringSmallBlackBox(uint8 *string) {
}
void loadPakedFileToMem(int fileIdx, uint8 *buffer) {
- //changeCursor(1);
+ changeCursor(CURSOR_DISK);
- currentVolumeFile.seek(volumePtrToFileDescriptor[fileIdx].offset,
- SEEK_SET);
- currentVolumeFile.read(buffer,
- volumePtrToFileDescriptor[fileIdx].size);
+ currentVolumeFile.seek(volumePtrToFileDescriptor[fileIdx].offset, SEEK_SET);
+ currentVolumeFile.read(buffer, volumePtrToFileDescriptor[fileIdx].size);
}
int loadScriptSub1(int scriptIdx, int param) {
@@ -1078,7 +1076,7 @@ int processInput(void)
// test both buttons
if (((button & 3) == 3) || keyboardVar == 0x44 || keyboardVar == 0x53)
{
- changeCursor(0);
+ changeCursor(CURSOR_NORMAL);
keyboardVar = 0;
return (playerMenu(mouseX, mouseY));
}
@@ -1457,7 +1455,7 @@ void mainLoop(void) {
* }
* else */
{
- changeCursor(0);
+ changeCursor(CURSOR_NORMAL);
}
if (main7) {
@@ -1534,10 +1532,6 @@ int oldmain(int argc, char *argv[]) {
return (0);
}
-void changeCursor(uint16 cursorType) {
- //printf("changeCursor %d\n", cursorType);
-}
-
void *mallocAndZero(int32 size) {
void *ptr;