Skip to content

Commit fba33c9

Browse files
committed
VsetScreen returns the previous videl mode in tos 4.04
1 parent b5aca61 commit fba33c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/mint/falcon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ enum montypes {STmono=0, STcolor, VGAcolor, TVcolor};
238238
#define BLOCK_UBYTE 2
239239

240240
#define VsetScreen(lscrn,pscrn,rez,mode) \
241-
(void)trap_14_wllww((short)5,(long)(lscrn),(long)(pscrn), \
241+
(short)trap_14_wllww((short)5,(long)(lscrn),(long)(pscrn), \
242242
(short)(rez),(short)(mode))
243243
#define VsetMode(mode) \
244244
(short)trap_14_ww((short)88,(short)(mode))

syscall/syscalls.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ opcode ret class name args */
563563
0x002 void * Physbase (void) passthrough
564564
0x003 void * Logbase (void) passthrough
565565
0x004 short Getrez (void) passthrough
566-
0x005 void VsetScreen (long log, long phys, short rez, short mode)
566+
0x005 short VsetScreen (long log, long phys, short rez, short mode)
567567
0x006 void Setpalette (void *palptr) passthrough
568568
0x007 short Setcolor (short colornum, short mixture) passthrough
569569
0x008 short Floprd (void *buf, long x, short d, short sect, short trk,

0 commit comments

Comments
 (0)