forked from KolibriOS/kolibrios
- Fix max_screen_size() function in kos32sys.h
git-svn-id: svn://kolibrios.org@8595 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
031ccc8bf9
commit
f634cb76dd
@ -553,12 +553,13 @@ static inline
|
||||
pos_t max_screen_size()
|
||||
{
|
||||
pos_t size;
|
||||
pos_t size_tmp;
|
||||
__asm__ __volatile__(
|
||||
"int $0x40"
|
||||
:"=a"(size)
|
||||
:"=a"(size_tmp)
|
||||
:"a"(14));
|
||||
|
||||
|
||||
size.x = size_tmp.y;
|
||||
size.y = size_tmp.x;
|
||||
return size;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user