Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reinstate VI forced disable on STM reset. (c) marcan

git-svn-id: https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libogc@3011 258c5a1a-4f63-435d-9564-e8f6d34ab52c
  • Loading branch information...
commit d5e9238b45ef726976b99fcd84e66322be2d9fd2 1 parent c3bce73
shagkur authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 libogc/stm.c
View
9 libogc/stm.c
@@ -189,7 +189,8 @@ stmcallback STM_RegisterEventHandler(stmcallback newhandler)
s32 STM_ShutdownToStandby()
{
int res;
- //_viReg[1] = 0;
+
+ _viReg[1] = 0;
if(__stm_initialized==0) {
#ifdef DEBUG_STM
printf("STM notinited\n");
@@ -209,7 +210,8 @@ s32 STM_ShutdownToStandby()
s32 STM_ShutdownToIdle()
{
int res;
- //_viReg[1] = 0;
+
+ _viReg[1] = 0;
if(__stm_initialized==0) {
#ifdef DEBUG_STM
printf("STM notinited\n");
@@ -255,7 +257,8 @@ s32 STM_SetLedMode(u32 mode)
s32 STM_RebootSystem()
{
int res;
- //_viReg[1] = 0;
+
+ _viReg[1] = 0;
if(__stm_initialized==0) {
#ifdef DEBUG_STM
printf("STM notinited\n");
Please sign in to comment.
Something went wrong with that request. Please try again.