DSI error with stl June 20, 2009 11:56PM | Registered: 14 years ago Posts: 161 |
int main(int argc, char **argv) { //--------------------------------------------------------------------------------- // Initialise the video system VIDEO_Init(); vmode = VIDEO_GetPreferredMode(NULL); xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(vmode)); VIDEO_Configure(vmode); VIDEO_SetNextFramebuffer(xfb); VIDEO_SetBlack(false); VIDEO_Flush(); VIDEO_WaitVSync(); if (vmode->viTVMode & VI_NON_INTERLACE) VIDEO_WaitVSync(); int x = 20, y = 20, w, h; w = vmode->fbWidth - (x * 2); h = vmode->xfbHeight - (y + 20); // Initialize the console CON_InitEx(vmode, x, y, w, h); VIDEO_ClearFrameBuffer(vmode, xfb, COLOR_BLACK); // This function initialises the attached controllers WPAD_Init(); // To see the first phrase :) printf("\x1b[2;0H"); // comment to disable the debugger DEBUG_Init(GDBSTUB_DEVICE_WIFI, 8000); _break(); vectorvec; vec.push_back("tt"); //DSI Exception here while(1) { // Call WPAD_ScanPads each loop, this reads the latest controller states WPAD_ScanPads(); // WPAD_ButtonsDown tells us which buttons were pressed in this loop // this is a "one shot" state which will not fire again until the button has been released u32 pressed = WPAD_ButtonsDown(0); // We return to the launcher application via exit if ( pressed & WPAD_BUTTON_HOME ) exit(0); // Wait for the next frame VIDEO_WaitVSync(); } return 0; }
Re: DSI error with stl June 21, 2009 01:18AM | Admin Registered: 15 years ago Posts: 5,132 |
Re: DSI error with stl June 21, 2009 04:14PM | Registered: 14 years ago Posts: 161 |
Re: DSI error with stl June 21, 2009 07:27PM | Registered: 15 years ago Posts: 265 |
Re: DSI error with stl June 21, 2009 08:27PM | Registered: 14 years ago Posts: 161 |
Re: DSI error with stl June 22, 2009 02:09AM | Registered: 15 years ago Posts: 265 |
Re: DSI error with stl June 22, 2009 07:05AM | Registered: 14 years ago Posts: 161 |
Re: DSI error with stl June 22, 2009 12:54PM | Registered: 15 years ago Posts: 265 |
Re: DSI error with stl June 23, 2009 09:52AM | Registered: 14 years ago Posts: 161 |
Re: DSI error with stl June 23, 2009 02:26PM | Registered: 15 years ago Posts: 265 |
Re: DSI error with stl June 24, 2009 12:12AM | Registered: 14 years ago Posts: 303 |
Re: DSI error with stl June 24, 2009 12:06PM | Registered: 14 years ago Posts: 161 |
void push_back(const value_type& __x) { if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage) // it loops on this line!!! { this->_M_impl.construct(this->_M_impl._M_finish, __x); ++this->_M_impl._M_finish; } else _M_insert_aux(end(), __x); }
Re: DSI error with stl June 24, 2009 01:28PM | Registered: 15 years ago Posts: 265 |
Re: DSI error with stl June 24, 2009 02:33PM | Registered: 14 years ago Posts: 161 |
Re: DSI error with stl June 29, 2009 01:36PM | Registered: 14 years ago Posts: 161 |