Skip to content

Commit

Permalink
Merge pull request #8 from cad0gan/master
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
Azq2 authored Apr 2, 2024
2 parents 4488270 + dec5677 commit 0ca507d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions swilib/include/swilib/gbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,9 @@ __swi_end(0x154, KillGBSproc, (cepid));
* @param cepid CEPID of event processor
* @return pointer
* */
__swi_begin(0x38E)
__swi_begin(0x385)
void* GetGBSProcAddress(short cepid)
__swi_end(0x38E, GetGBSProcAddress, (cepid));
__swi_end(0x385, GetGBSProcAddress, (cepid));

/**
* Create new GBS Process Group.
Expand Down
4 changes: 2 additions & 2 deletions swilib/include/swilib/image.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ __swi_end(0x2E0, GetIMGHDRFromThemeCache, (index));
* @param canvas_id ID of the "canvas"
* @return pointer to the image
* */
__swi_begin(0x394)
__swi_begin(0x3B3)
IMGHDR *GetIMGHDRFromCanvasCache(int canvas_id)
__swi_end(0x394, GetIMGHDRFromCanvasCache, (canvas_id));
__swi_end(0x3B3, GetIMGHDRFromCanvasCache, (canvas_id));

/**
* Flush "canvas" in cache.
Expand Down
4 changes: 2 additions & 2 deletions swilib/include/swilib/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ typedef struct LIGHT_PARAM LIGHT_PARAM;
* Illumination device.
* */
enum IlluminationDeviceID {
ILLUMINATION_DEV_KEYBOARD = 0, /**< Keyboard */
ILLUMINATION_DEV_DISPLAY = 1, /**< LCD */
ILLUMINATION_DEV_DISPLAY = 0, /**< LCD */
ILLUMINATION_DEV_KEYBOARD = 1, /**< Keyboard */
};

/**
Expand Down

0 comments on commit 0ca507d

Please sign in to comment.