kolibri-libc:

- Removed attribute "O0" in _ksys_process_info that caused strange behavior in kos32-gcc v4.8.2
- Window centering in wolf3d should be fixed

git-svn-id: svn://kolibrios.org@8669 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-04-06 21:03:28 +00:00
parent d0d12e359f
commit 6fcb8e3762

View File

@ -28,7 +28,9 @@ typedef struct {
unsigned char green;
unsigned char red;
}rgb_t;
typedef unsigned int ksys_color_t;
#pragma pack(push,1)
typedef union{
unsigned val;
@ -119,8 +121,6 @@ typedef struct {
char reserved3[1024-71]; //+71
}ksys_proc_table_t;
typedef unsigned int ksys_color_t;
typedef struct{
ksys_color_t frame_area;
ksys_color_t grab_bar;
@ -786,7 +786,7 @@ int _ksys_get_thread_slot(int tid){
}
static inline
int not_optimized _ksys_process_info(ksys_proc_table_t* table, int pid)
int _ksys_process_info(ksys_proc_table_t* table, int pid)
{
int val;
asm_inline(